forked from lix-project/hydra
Couple of upstream/bootstrap items missed in rebase
This commit is contained in:
parent
b5e18ce62c
commit
abe082c1d6
3 changed files with 17 additions and 19 deletions
|
@ -92,10 +92,10 @@
|
|||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-3" for="editjobsettype">Type</label>
|
||||
<label class="col-form-label col-sm-3" for="editjobsettype">Type</label>
|
||||
<div class="btn-group btn-group-toggle col-sm-9" data-toggle="buttons">
|
||||
<label id="type-flake" class="btn btn-secondary[% IF jobset.type == 1 %] active[% END %]">
|
||||
<input type="radio" name="type" value="1" [% IF jobset.type == 1 %]checked[% END %]>Flake</button>
|
||||
<input type="radio" id="editjobsettype" name="type" value="1" [% IF jobset.type == 1 %]checked[% END %]>Flake</button>
|
||||
</label>
|
||||
<label id="type-legacy" class="btn btn-secondary[% IF jobset.type == 0 %] active[% END %]">
|
||||
<input type="radio" name="type" value="0" [% IF jobset.type == 0 %]checked[% END %]>Legacy</button>
|
||||
|
@ -113,11 +113,9 @@
|
|||
<div class="form-group row show-on-flake">
|
||||
<label class="col-form-label col-sm-3" for="editjobsetflakeref">Flake URI</label>
|
||||
<div class="col-sm-9">
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control" id="editjobsetflakeref" name="flakeref" [% HTML.attributes(value => jobset.flake) %]/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row show-on-legacy">
|
||||
<label class="col-form-label col-sm-3" for="editjobsetnixexpr">Nix expression</label>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<div class="form-group row">
|
||||
<label class="col-sm-3" for="editprojectenabled">Enabled</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="checkbox" id="editprojectenabled" name="enabled" [% IF project.enabled %] checked="checked" [% END %]/>
|
||||
<input type="checkbox" id="editprojectenabled" name="enabled" [% IF create || project.enabled %] checked="checked" [% END %]/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue