@ -10,28 +10,31 @@ block content
br
+globalmanagenav('filters')
hr(size=1)
h4.mv-5
a(href='/faq.html#filters') #{__('Filters FAQ')}:
h4.no-m-p #{__('Add Filter')}:
h4.no-m-p
| #{__('Add Filter')}
| (
a(href='/faq.html#filters') #{__('Filters FAQ')}
| ):
.form-wrapper.flexleft
form.form-post(action='/forms/global/addfilter', enctype='application/x-www-form-urlencoded', method='POST')
include ../includes/filternewform.pug
if filters.length > 0
hr(size=1)
h4.no-m-p #{__('Manage Filters')}:
.form-wrapper.flexleft
form.form-post(action='/forms/global/deletefilter', enctype='application/x-www-form-urlencoded', method='POST')
input(type='hidden' name='_csrf' value=csrf)
table
tr
th
th #{__('Filters')}
th #{__('Strict Filtering')}
th #{__('Filter Mode')}
th #{__('Block/Ban Message')}
th #{__('Filter Auto Ban Duration')}
th #{__('Filter Bans Appealable')}
th #{__('Edit')}
each f in filters
+filter(f, true)
input(type='submit', value=__('Delete'))
.form-wrapper.flexleft
form.form-post(action='/forms/global/deletefilter', enctype='application/x-www-form-urlencoded', method='POST')
input(type='hidden' name='_csrf' value=csrf)
.table-container.mv-5.horscroll
table
tr
th
th #{__('Filters')}
th #{__('Strict Filtering')}
th #{__('Filter Mode')}
th #{__('Block/Ban Message')}
th #{__('Filter Auto Ban Duration')}
th #{__('Filter Bans Appealable')}
th #{__('Edit')}
each f in filters
+filter(f, true)
input(type='submit', value=__('Delete'))