blob: 037ab79df34461eafe30ed2113d9de73996a5c97 (
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
|
<h1>{{lang_assignPassthrough}}</h1>
<h2>{{locationname}}</h2>
<form method="post" action="?do=passthrough">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="locationid" value="{{locationid}}">
<div class="row">
<div class="col-sm-9">{{lang_group}}</div>
<div class="col-sm-3">{{lang_enabled}}</div>
</div>
{{#list}}
<div class="row">
<div class="col-sm-9">
{{groupid}}
<span class="small text-muted">{{title}}</span>
</div>
<div class="col-sm-3">
<div class="checkbox">
{{#disabled}}
<input id="check-{{groupid}}" type="checkbox" disabled checked>
{{/disabled}}
{{^disabled}}
<input id="check-{{groupid}}" type="checkbox" name="enabled[]" value="{{groupid}}" {{checked}}>
{{/disabled}}
<label for="check-{{groupid}}"></label>
<span class="text-muted">{{parent_location}}</span>
</div>
</div>
</div>
{{/list}}
<div class="buttonbar text-right">
<button class="btn btn-success" type="submit" name="action" value="save-location">
<span class="glyphicon glyphicon-floppy-disk"></span>
{{lang_save}}
</button>
</div>
</form>
|