Progress on ConfigPage

This commit is contained in:
Ziver Koc 2016-07-28 23:30:03 +02:00
parent 9997bcd91a
commit b995063b43
14 changed files with 59 additions and 42 deletions

View file

@ -1,10 +1,15 @@
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">Service Status</div>
<div class="panel-heading">{{name}}</div>
<div class="panel-body">
<table class="table table-hover">
<table class="table table-hover table-condensed">
<thead><tr>
{{#params}}<th>{{.getNiceName()}}</th>{{/params}}
{{#params}}
<th>{{.getNiceName()}}</th>
{{/params}}
<th>
<button type="button" class="btn btn-default pull-left" data-toggle="modal" data-target="#configureModal">+</button>
</th>
</tr></thead>
{{#data}}
<tr {{#.disabled}}class="active"{{/.disabled}}>
@ -39,7 +44,6 @@
</table>
</div>
<div class="panel-footer clearfix">
<button type="button" class="btn btn-default pull-left" data-toggle="modal" data-target="#configureModal">+</button>
<button type="button" class="btn btn-primary pull-right">Apply Configuration</button>
</div>
</div>
@ -68,12 +72,6 @@
{{#.isTypeBoolean()}}
<input type="checkbox" class="form-control" id="{{.getName()}}">
{{/.isTypeBoolean()}}
<!--
<select class="form-control" id="sselect" placeholder="">
<option value="volvo">-- Chose an Option --</option>
<option value="saab">Saab</option>
</select>
-->
</div>
</div>
{{/params}}