Use textarea instead of input for build status images and links.
This commit is contained in:
parent
cf82a50268
commit
75d58816ca
|
@ -10,5 +10,5 @@
|
|||
|
||||
<p>
|
||||
<label>{{view Ember.Select contentBinding="view.formats" selectionBinding="view.statusImageFormat"}}</label>
|
||||
<input type="text" onclick="this.select()" class="url" {{bind-attr value="view.statusString"}}></input>
|
||||
{{view Travis.StatusImageInput valueBinding="view.statusString" class="url" rows=3}}
|
||||
</p>
|
||||
|
|
|
@ -60,3 +60,4 @@ require 'views/stats'
|
|||
require 'views/signin'
|
||||
require 'views/top'
|
||||
require 'views/status_images'
|
||||
require 'views/status_image_input'
|
||||
|
|
3
assets/scripts/app/views/status_image_input.coffee
Normal file
3
assets/scripts/app/views/status_image_input.coffee
Normal file
|
@ -0,0 +1,3 @@
|
|||
Travis.StatusImageInput = Em.TextArea.extend
|
||||
click: ->
|
||||
@get('element').select()
|
|
@ -51,10 +51,12 @@
|
|||
label
|
||||
width: 100px
|
||||
display: inline-block
|
||||
input
|
||||
vertical-align: top
|
||||
textarea
|
||||
border: 1px solid $color-border-light
|
||||
width: 485px
|
||||
padding: 4px
|
||||
resize: vertical
|
||||
@include border-radius(3px)
|
||||
|
||||
#regenerate-key
|
||||
|
|
Loading…
Reference in New Issue
Block a user