Concurrent builds have got some STYLE
This commit is contained in:
parent
4d7190012f
commit
68b7357375
|
@ -3,44 +3,30 @@
|
||||||
|
|
||||||
{{#travis-tabs}}
|
{{#travis-tabs}}
|
||||||
{{#travis-tab "general" "General Settings"}}
|
{{#travis-tab "general" "General Settings"}}
|
||||||
{{#settings-form class="settings-form"}}
|
{{#settings-form}}
|
||||||
<div class="settings-row">
|
<p class="settings-row">
|
||||||
<div class="short-settings-element">
|
Build only if .travis.yml is present
|
||||||
{{travis-switch action="save" active=settings.builds_only_with_travis_yml}}
|
{{travis-switch action="save" active=settings.builds_only_with_travis_yml}}
|
||||||
</div>
|
</p>
|
||||||
<label class="tipsy" title="Build only commits when a .travis.yml file is present in the git tree. Helps reduce builds when first setting up a project or when there are branches around the projects that don't need to be built.">
|
|
||||||
Build only if .travis.yml is present
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="settings-row">
|
<p class="settings-row">
|
||||||
<div class="short-settings-element">
|
Build pushes
|
||||||
{{travis-switch action="save" active=settings.build_pushes}}
|
{{travis-switch action="save" active=settings.build_pushes}}
|
||||||
</div>
|
</p>
|
||||||
<label class="tipsy" title="Build commits that are part of a branch.">
|
|
||||||
Build pushes
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="settings-row">
|
<p class="settings-row">
|
||||||
|
Build pull requests
|
||||||
|
{{travis-switch action="save" active=settings.build_pull_requests}}
|
||||||
|
</p>
|
||||||
|
|
||||||
<div class="short-settings-element">
|
<p class="settings-row">
|
||||||
{{travis-switch action="save" active=settings.build_pull_requests}}
|
<p class="short-settings-element" {{bind-attr class="settings.maximum_number_of_builds_valid"}}>
|
||||||
</div>
|
|
||||||
|
|
||||||
<label>
|
|
||||||
Build pull requests
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="settings-row">
|
|
||||||
<div class="short-settings-element" {{bind-attr class="settings.maximum_number_of_builds_valid"}}>
|
|
||||||
{{input value=settings.maximum_number_of_builds size="4" pattern='/^[0-9]+$/'}}
|
{{input value=settings.maximum_number_of_builds size="4" pattern='/^[0-9]+$/'}}
|
||||||
</div>
|
</p>
|
||||||
<label>
|
<label>
|
||||||
Concurrent builds
|
Concurrent builds
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</p>
|
||||||
{{/settings-form}}
|
{{/settings-form}}
|
||||||
{{/travis-tab}}
|
{{/travis-tab}}
|
||||||
{{/travis-tabs}}
|
{{/travis-tabs}}
|
||||||
|
|
|
@ -1,25 +1,29 @@
|
||||||
.settings-form
|
form
|
||||||
margin-top: 30px
|
margin: 20px
|
||||||
|
display: inline-block
|
||||||
|
|
||||||
.settings-row
|
p.short-settings-element
|
||||||
display: table
|
display: inline-block
|
||||||
height: 20px
|
|
||||||
|
|
||||||
label
|
|
||||||
font-size: 13px
|
|
||||||
height: 20px
|
|
||||||
line-height: 25px
|
|
||||||
padding: 0
|
|
||||||
|
|
||||||
.short-settings-element
|
|
||||||
display: table-cell
|
|
||||||
vertical-align: middle
|
vertical-align: middle
|
||||||
text-align: right
|
margin: 0 10px 0 0
|
||||||
width: 100px
|
float: left
|
||||||
|
|
||||||
|
label
|
||||||
|
line-height: 30px
|
||||||
|
|
||||||
input
|
input
|
||||||
margin: 0px 15px
|
|
||||||
display: inline-block
|
display: inline-block
|
||||||
|
float: left
|
||||||
|
width: 60px
|
||||||
|
height: 18px
|
||||||
|
padding: 5px 18px 5px 18px
|
||||||
|
background-color: #F5F5F5
|
||||||
|
border: 1px solid #E3E1E1
|
||||||
|
border-radius: 4px
|
||||||
|
line-height: 19px
|
||||||
|
font-size: 11px
|
||||||
|
color: #999999
|
||||||
|
text-align: center
|
||||||
|
|
||||||
.invalid
|
.invalid
|
||||||
input
|
input
|
||||||
|
|
Loading…
Reference in New Issue
Block a user