blob: 17b05b04658c566837f5e58667257f62bf281641 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<div class="panel panel-default">
<div class="panel-heading">Relay Status</div>
<div class="panel-body">
<table class="table table-striped table-condensed">
<thead>
<tr>
<th>Client</th>
<th>Port</th>
<th>Status</th>
<th>Log</th>
</tr>
</thead>
<tbody>
{{#activeRelays}}
<tr>
<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">
<div class="modal-content">
<div class="modal-header">Relay ID: {{id}}</div>
<div class="modal-body" data-tm-id="{{id}}" data-tm-log="messages"></div>
<div class="modal-footer">
<a class="btn btn-primary" data-dismiss="modal">Close</a>
</div>
</div>
</div>
</div>
</td>
</tr>
{{/activeRelays}}
</tbody>
</table>
</div>
</div>
|