Added controller status indication

This commit is contained in:
Ziver Koc 2024-01-24 21:41:51 +01:00
parent 78b7484403
commit 99a61f8ca3

View file

@ -43,11 +43,16 @@
<table class="table table-hover table-condensed"> <table class="table table-hover table-condensed">
<thead> <thead>
<th class="col-md-3">Name</th> <th class="col-md-3">Name</th>
<th class="col-md-1">Status</th>
<th class="col-md-1 text-right">Actions</th> <th class="col-md-1 text-right">Actions</th>
</thead> </thead>
{{#controllers}} {{#controllers}}
<tr> <tr>
<td>{{.getClass().getName()}}</td> <td>{{.getClass().getName()}}</td>
<td>
{{#.isAvailable()}}<span class="label label-success">Running</span>{{/.isAvailable()}}
{{^.isAvailable()}}<span class="label label-secondary">Down</span>{{/.isAvailable()}}
</td>
<td> <td>
{{#.isScannable()}} {{#.isScannable()}}
<div class="btn-toolbar pull-right"> <div class="btn-toolbar pull-right">