summaryrefslogtreecommitdiffstats
path: root/modules-available/permissionmanager/templates/locationstable.html
blob: 79b0a076769e807a7973d483326eceffd9223635 (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
<div class="row">
	<div class="col-md-4"></div>
	<div class="col-md-4">
		<select multiple name="roles[]" id="select-role">
			<option value>{{lang_selectizePlaceholder}}</option>
			{{#roles}}
			<option value="{{roleId}}">{{roleName}}</option>
			{{/roles}}
		</select>
	</div>
</div>

<div class="row">
	<div class="col-md-12">
		<table id="locationsTable" class="table table-condensed table-hover stupidtable dataTable">
			<thead>
				<tr>
					<th data-sort="string">{{lang_Locations}}</th>
					<th>{{lang_Roles}}</th>
				</tr>
			</thead>

			<tbody>
			{{#location}}
				<tr data-selectizeCount='0'>
					<td>{{locname}}</td>
					<td>
						{{#roles}}
						<span class="label label-default customSpanMargin roleId-{{roleId}}">{{roleName}}</span>
						{{/roles}}
					</td>
				</tr>
			{{/location}}
			</tbody>
		</table>
	</div>
</div>