summaryrefslogtreecommitdiffstats
path: root/modules-available/debugconfig/templates/relaystatus.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/debugconfig/templates/relaystatus.html')
-rw-r--r--modules-available/debugconfig/templates/relaystatus.html37
1 files changed, 12 insertions, 25 deletions
diff --git a/modules-available/debugconfig/templates/relaystatus.html b/modules-available/debugconfig/templates/relaystatus.html
index d38b3735..17b05b04 100644
--- a/modules-available/debugconfig/templates/relaystatus.html
+++ b/modules-available/debugconfig/templates/relaystatus.html
@@ -1,32 +1,23 @@
<div class="panel panel-default">
- <div class="panel-heading">
- Active relays
- </div>
+ <div class="panel-heading">Relay Status</div>
<div class="panel-body">
<table class="table table-striped table-condensed">
<thead>
<tr>
- <th>Relay ID</th>
- <th>BWLP client</th>
- <th>Debug Server</th>
- <th>
- <form method="post">
- <input type="hidden" name="token" value={{token}}>
- <input type="hidden" name="action" value="refreshList">
- <button type="submit" class="btn btn-default pull-right btn-xs" title="Refresh relay list"><span class="glyphicon glyphicon-refresh"></span></button>
- </form>
- </th>
+ <th>Client</th>
+ <th>Port</th>
+ <th>Status</th>
+ <th>Log</th>
</tr>
</thead>
<tbody>
- {{#activeRelays}}
+ {{#activeRelays}}
<tr>
- <td>{{id}}</td>
- <td>{{bwlpclient}}</td>
- <td>{{debugserver}}</td>
- <td>
- <div class="btn-group pull-right">
+ <td>{{cltAddress}}</td>
+ <td>{{port}}</td>
+ <td>{{code}}</td>
+ <td>
<button type="button" class="btn btn-default btn-xs" data-toggle="modal" data-target="#log" title="Show log"><span class="glyphicon glyphicon-paperclip"></span></button>
<div id="log" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog">
@@ -39,14 +30,10 @@
</div>
</div>
</div>
- </div>
- </td>
+ </td>
</tr>
- {{/activeRelays}}
+ {{/activeRelays}}
</tbody>
</table>
- <!-- </div>
- <div data-tm-id="{{id}}" data-tm-log="messages">
- </div> -->
</div>
</div>