blob: a9549aa0d94138ef83f5eb8e43d453f996b18da7 (
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
|
<h1>{{lang_networkrules}}</h1>
<p>
{{lang_networkrulesIntro}}
</p>
<form method="post" action="?do=dozmod">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="section" value="networkrules">
<input type="hidden" name="action" value="delete">
<table class="table">
<thead>
<tr>
<th>{{lang_name}}</th>
{{#hasEditPermissions}}
<th class="slx-smallcol">{{lang_edit}}</th>
<th class="slx-smallcol">{{lang_delete}}</th>
{{/hasEditPermissions}}
</tr>
</thead>
<tbody>
{{#networkrules}}
<tr>
<td>{{rulename}}</td>
{{#hasEditPermissions}}
<td align="center">
<a href="?do=dozmod&section=networkrules&show=edit&ruleid={{ruleid}}" class="btn btn-xs btn-primary">
<span class="glyphicon glyphicon-edit"></span>
</a>
</td>
<td align="center">
<button type="submit" name="ruleid" value="{{ruleid}}" class="btn btn-xs btn-danger"
data-confirm="#confirm-delete" data-title="{{rulename}}">
<span class="glyphicon glyphicon-trash"></span>
</button>
</td>
{{/hasEditPermissions}}
</tr>
{{/networkrules}}
</tbody>
</table>
</form>
<div class="hidden" id="confirm-delete">{{lang_ruleDeleteConfirm}}</div>
{{#hasEditPermissions}}
<div class="text-right">
<a href="?do=dozmod&section=networkrules&show=edit" class="btn btn-success">
<span class="glyphicon glyphicon-plus"></span>
{{lang_addRule}}
</a>
</div>
{{/hasEditPermissions}}
|