blob: a7fdbdfef2e09b4c0c678805c05ba0a19f3abaac (
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
53
54
55
56
57
58
|
<form method="post" action="?do=eventlog&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 class="slx-smallcol" title="{{lang_transports}}"><span class="glyphicon glyphicon-road"></span></th>
<th class="slx-smallcol">{{lang_lastTriggeredColumn}}</th>
<th class="slx-smallcol">{{lang_edit}}</th>
</tr>
</thead>
<tbody>
{{#filters}}
<tr>
<td class="text-right">{{ruleid}}</td>
<td class="text-nowrap">{{type}}</td>
<td class="text-nowrap">
{{title}}
<table class="slx-ellipsis"><tr><td class="small text-muted">{{description}}</td></tr></table>
</td>
<td class="text-right">
{{#useCount}}
<span class="badge" title="{{lang_transports}}">{{useCount}}</span>
{{/useCount}}
</td>
<td class="text-right text-nowrap">
{{lasttime_s}}
</td>
<td class="slx-smallcol">
<a class="btn btn-xs btn-default {{perms.filter.rules.edit.disabled}}"
href="?do=eventlog&show=rules&action=editrule&id={{ruleid}}" title="{{lang_edit}}">
<span class="glyphicon glyphicon-edit" aria-label="{{lang_edit}}"></span>
</a>
<a class="btn btn-xs btn-default {{perms.filter.rules.edit.disabled}}"
href="?do=eventlog&show=rules&action=editrule&id={{ruleid}}&copy=1" title="{{lang_copy}}">
<span class="glyphicon glyphicon-duplicate" aria-label="{{lang_copy}}"></span>
</a>
<button class="btn btn-xs btn-danger" type="submit" name="id" value="{{ruleid}}" title="{{lang_delete}}"
data-confirm="{{lang_reallyDelete}}" {{perms.filter.rules.edit.disabled}}>
<span class="glyphicon glyphicon-trash"></span>
</button>
</td>
</tr>
{{/filters}}
</tbody>
</table>
</form>
<div class="buttonbar text-right">
<a class="btn btn-success {{perms.filter.rules.edit.disabled}}" href="?do=eventlog&show=rules&action=editrule&id=0">
<span class="glyphicon glyphicon-plus"></span>
{{lang_add}}
</a>
</div>
|