summaryrefslogtreecommitdiffstats
path: root/modules-available/eventlog/templates/page-filters-rules.html
blob: 524e71b20ec66b119dec8740e36906dcf21e486b (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
<form method="post" action="?do=eventlog&amp;show=rules">
	<input type="hidden" name="token" value="{{token}}">
	<input type="hidden" name="action" value="delete-filter">
	<table class="table">
		<thead>
		<tr>
			<th class="slx-smallcol">{{lang_id}}</th>
			<th class="slx-smallcol">{{lang_type}}</th>
			<th>{{lang_title}}</th>
			<!--th>{{lang_details}}</th-->
			<th class="slx-smallcol"></th>
			<th class="slx-smallcol">{{lang_edit}}</th>
		</tr>
		</thead>
		<tbody>
		{{#filters}}
		<tr>
			<td>{{ruleid}}</td>
			<td>{{type}}</td>
			<td class="text-nowrap">{{title}}</td>
			<!--td class="small">{.{datafilter}.}</td-->
			<td><span class="badge">{{useCount}}</span></td>
			<td class="slx-smallcol">
				<a class="btn btn-xs btn-default" href="?do=eventlog&amp;show=rules&amp;id={{ruleid}}">
					<span class="glyphicon glyphicon-edit" aria-label="{{lang_edit}}"></span>
				</a>
				<button class="btn btn-xs btn-danger" type="submit" name="id" value="{{ruleid}}"
				data-confirm="{{lang_reallyDelete}}">
					<span class="glyphicon glyphicon-trash"></span>
				</button>
			</td>
		</tr>
		{{/filters}}
		</tbody>
	</table>

</form>

<div class="buttonbar text-right">
	<a class="btn btn-success" href="?do=eventlog&amp;show=rules&amp;id=0">
		<span class="glyphicon glyphicon-plus"></span>
		{{lang_add}}
	</a>
</div>