blob: 17ace3ff367af27c7bf6c7f9b987ef80194d6832 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
<h2>{{lang_externalDevicesTable}}</h2>
<p>{{lang_externalDevicesTableHints}}</p>
<table class="table table-hover">
<thead>
<tr>
<th>{{lang_deviceTitle}}</th>
<th>{{lang_panel}}</th>
<th class="text-center slx-smallcol">{{lang_deviceRegistered}}</th>
<th class="slx-smallcol">{{lang_deviceLastSeen}}</th>
</tr>
</thead>
<tbody>
{{#devices}}
<tr>
<td>
{{#edit}}
<a href="?do=locationinfo&action=edit-device&deviceid={{deviceuuid}}">{{title}}</a>
{{/edit}}
{{^edit}}
{{title}}
{{/edit}}
<div class="small text-muted">{{deviceuuid}}</div>
</td>
<td>{{panelname}}</td>
<td class="text-center">
{{#isregistered}}<span class="glyphicon glyphicon-ok"></span>{{/isregistered}}
</td>
<td>
{{lastseen_s}}
</td>
</tr>
{{/devices}}
{{^devices}}
<tr>
<td colspan="3" class="text-center italic">
{{lang_noEntries}}
</td>
</tr>
{{/devices}}
</tbody>
</table>
{{#edit}}
<div class="buttonbar text-right">
<form method="post" action="?do=locationinfo">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="action" value="deleteUnregisteredDevices">
<button type="submit" class="btn btn-danger" data-confirm="#confirm-delete-unregistered">
<span class="glyphicon glyphicon-trash"></span>
{{lang_deleteUnregistered}}
</button>
</form>
</div>
<div class="hidden" id="confirm-delete-unregistered">{{lang_deleteConfirmation}}</div>
{{/edit}}
|