2015-07-27 15:10:11 +00:00
|
|
|
<div class="col-md-12">
|
2015-08-04 12:59:24 +00:00
|
|
|
<div class="panel panel-default">
|
2015-07-27 15:10:11 +00:00
|
|
|
<div class="panel-heading">Service Status</div>
|
|
|
|
|
<div class="panel-body">
|
2015-08-04 12:59:24 +00:00
|
|
|
<table class="table table-hover">
|
2015-07-27 15:10:11 +00:00
|
|
|
<thead><tr>
|
2015-08-07 14:46:01 +00:00
|
|
|
{{#headers}}<th>Service</th>{{#headers}}
|
2015-07-27 15:10:11 +00:00
|
|
|
</tr></thead>
|
2015-08-07 14:46:01 +00:00
|
|
|
{{#data}}
|
2015-08-04 12:59:24 +00:00
|
|
|
<tr {{^.enabled}}class="active"{{/.enabled}}>
|
2015-08-07 14:46:01 +00:00
|
|
|
{{#params}}
|
|
|
|
|
<td>
|
|
|
|
|
{{#.isTypeBoolean()}}
|
|
|
|
|
<input type="checkbox" {{#.getValue()}}checked{{/.getValue()}} disabled />
|
|
|
|
|
{{/.isTypeBoolean()}}
|
|
|
|
|
{{^.isTypeBoolean()}}{{.getValue()}}{{/.isTypeBoolean()}}
|
|
|
|
|
</td>
|
|
|
|
|
{{/params}}
|
2015-08-04 12:59:24 +00:00
|
|
|
<td class="text-right">
|
|
|
|
|
<button type="button" class="btn btn-primary btn-xs">Edit</button>
|
|
|
|
|
{{^.enabled}}<button type="button" class="btn btn-default btn-xs">Disable</button>{{/.enabled}}
|
|
|
|
|
{{#.enabled}}<button type="button" class="btn btn-success btn-xs">Activate</button>{{/.enabled}}
|
|
|
|
|
<button type="button" class="btn btn-danger btn-xs">Remove</button>
|
|
|
|
|
</td>
|
2015-07-27 15:10:11 +00:00
|
|
|
</tr>
|
2015-08-07 14:46:01 +00:00
|
|
|
{{/data}}
|
2015-07-27 15:10:11 +00:00
|
|
|
</table>
|
|
|
|
|
</div>
|
2015-08-04 12:59:24 +00:00
|
|
|
<div class="panel-footer text-right">
|
|
|
|
|
<button type="button" class="btn btn-primary">Cancel</button>
|
|
|
|
|
<button type="button" class="btn btn-success">Save</button>
|
|
|
|
|
</div>
|
2015-07-27 15:10:11 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|