summaryrefslogtreecommitdiffstats
path: root/modules-available/permissionmanager/templates/locationstable.html
blob: 153258fe3baa18cf95fd5dffd931daa520c0748f (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>
			{{#allroles}}
			<option value="{{roleid}}">{{rolename}}</option>
			{{/allroles}}
		</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>{{locationpad}} {{locationname}}</td>
					<td>
						{{#roles}}
						<a href="?do=permissionmanager&show=roleEditor&cancel=locations&roleid={{roleid}}" class="label label-default customSpanMargin roleid-{{roleid}}">{{rolename}}</a>
						{{/roles}}
					</td>
				</tr>
			{{/location}}
			</tbody>
		</table>
	</div>
</div>