summaryrefslogtreecommitdiffstats
path: root/modules-available/remoteaccess/templates/edit-group.html
blob: 2c207ca55fe1fa20d5ee07368494e378a4dd6dd0 (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
<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-primary" name="action" value="set-locations">
			<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}}>
						<label></label>
					</div>
				</td>
				<td class="text-nowrap">
					<div style="display:inline-block;width:{{depth}}em"></div>
					<label for="loc-check-{{locationid}}">{{locationname}}</label>
				</td>
			</tr>
			{{/locations}}
		</table>
	</div>
	<div class="buttonbar pull-right">
		<button type="submit" class="btn btn-primary" name="action" value="set-locations">
			<span class="glyphicon glyphicon-floppy-disk"></span>
			{{lang_save}}
		</button>
	</div>
	<div class="clearfix"></div>
</form>