blob: 3f456cb7a172637e9d50bec4333022873831dcf2 (
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
|
<h2>{{lang_assignLocations}}</h2>
<h3>{{groupname}}</h3>
<form method="post" action="?do=remoteaccess">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="groupid" value="{{groupid}}">
<div class="buttonbar pull-right">
<button type="submit" class="btn btn-danger" name="action" value="delete-group" data-confirm="{{lang_reallyDelete}}"
{{perms.group.locations.disabled}} {{perms.group.edit.disabled}}>
<span class="glyphicon glyphicon-remove"></span>
{{lang_delete}}
</button>
<button type="submit" class="btn btn-primary" name="action" value="set-locations" {{perms.group.locations.disabled}}>
<span class="glyphicon glyphicon-floppy-disk"></span>
{{lang_save}}
</button>
</div>
<div class="clearfix"></div>
<div class="form-group">
<p>{{lang_locationSelectionText}}</p>
<table class="table table-condensed table-hover">
{{#locations}}
<tr>
<td class="slx-smallcol">
<div class="checkbox checkbox-inline">
<input type="checkbox" name="location[]" value="{{locationid}}" id="loc-check-{{locationid}}"
{{checked}} {{disabled}}>
<label></label>
</div>
</td>
<td class="text-nowrap">
<div style="display:inline-block;width:{{depth}}em"></div>
<label for="loc-check-{{locationid}}" class="{{disabled}}">{{locationname}}</label>
{{#ra_never}}
–
<span class="glyphicon glyphicon-remove text-danger" title="{{lang_roomRemoteAccessDisabled}}"></span>
{{/ra_never}}
{{#ra_selective}}
–
<span class="glyphicon glyphicon-time" title="{{lang_roomRemoteAccessWhenClosed}}"></span>
{{/ra_selective}}
</td>
</tr>
{{/locations}}
</table>
</div>
<div class="buttonbar pull-right">
<button type="submit" class="btn btn-primary" name="action" value="set-locations" {{perms.group.locations.disabled}}>
<span class="glyphicon glyphicon-floppy-disk"></span>
{{lang_save}}
</button>
</div>
<div class="clearfix"></div>
</form>
|