blob: 56bf087106568aa69cf546913dc35a59eb1a1fc8 (
plain) (
tree)
|
|
<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>{{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><span class="badge">{{useCount}}</span></td>
<td class="slx-smallcol">
<a class="btn btn-xs btn-default {{perms.filter.rules.edit.disabled}}"
href="?do=eventlog&show=rules&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&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&id=0">
<span class="glyphicon glyphicon-plus"></span>
{{lang_add}}
</a>
</div>
|