Use switch on env vars form

This commit is contained in:
Piotr Sarnacki 2014-08-20 11:23:44 +02:00
parent 9aa3513766
commit 5db108c5d4
3 changed files with 9 additions and 4 deletions

View File

@ -10,8 +10,8 @@
</div> </div>
{{/if}} {{/if}}
<div class="field"> <div class="field">
{{#label for="public"}}Public:{{/label}} {{travis-switch active=public class="value"}}
{{input type="checkbox" checked=public}} {{#label for="secure" class="value"}}Display value in build logs{{/label}}
</div> </div>
<div class="actions"> <div class="actions">

View File

@ -12,7 +12,7 @@ p.settings-row
display: inline-block display: inline-block
float: left float: left
width: 5em width: 5em
height: 1.52em height: 1.55em
margin: 20px 0 50px 0 margin: 20px 0 50px 0
padding: 0.42em 1.5em padding: 0.42em 1.5em
background-color: #F5F5F5 background-color: #F5F5F5

View File

@ -50,6 +50,11 @@
form.env-var form.env-var
label label
width: 40px width: 40px
label.value
width: auto
line-height: 1.9em
.travis-switch.value
font-size: 10px
form.ssh-key form.ssh-key
span.error span.error
display: block display: block