Refactoring of WANavigation and i,plementation of Service Status
This commit is contained in:
parent
e201f9ce4c
commit
b115a9cb4f
14 changed files with 101 additions and 91 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<div class="col-md-12"><div class="panel panel-default">
|
||||
<div class="panel-heading">Service Status</div>
|
||||
<div class="panel-body">
|
||||
<table class="table small hdd-detail">
|
||||
<table class="table hdd-detail">
|
||||
<thead><tr>
|
||||
<th data-field="service">Service</th>
|
||||
<th data-field="status">Status</th>
|
||||
|
|
@ -9,14 +9,14 @@
|
|||
</tr></thead>
|
||||
{{#services}}
|
||||
<tr>
|
||||
<td>{{.name}}</td>
|
||||
<td>{{.getName()}}</td>
|
||||
<td>
|
||||
{{#.isRunning()}}<span class="label label-success">Running</span>{{/.isRunning()}}
|
||||
{{#.isUnresponsive()}}<span class="label label-warning">Unresponsive</span>{{/.isUnresponsive()}}
|
||||
{{#.isStopped()}}<span class="label label-danger">Stopped</span>{{/.isStopped()}}
|
||||
{{#.isUnknown()}}<span class="label label-default">Unknown</span>{{/.isUnknown()}}
|
||||
</td>
|
||||
<td><input type="checkbox" class="switch" checked></td>
|
||||
<td><input type="checkbox" class="switch" data-size="mini" checked></td>
|
||||
</tr>
|
||||
{{/services}}
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue