mirror of https://gitgud.io/fatchan/jschan.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.1 KiB
36 lines
1.1 KiB
if bans.length === 0
|
|
p #{__('No bans.')}
|
|
else
|
|
input(type='hidden' name='_csrf' value=csrf)
|
|
include ../includes/bantable.pug
|
|
for ban in bans
|
|
+ban(ban)
|
|
.action-wrapper.mv-10
|
|
.row
|
|
.label #{__('Unban')}
|
|
label.postform-style.ph-5
|
|
input(type='radio' name='option' value='unban' checked='checked')
|
|
.row
|
|
.label #{__('Deny Appeal')}
|
|
label.postform-style.ph-5
|
|
input(type='radio' name='option' value='deny_appeal')
|
|
.row
|
|
.label #{__('Upgrade Ban')}
|
|
label.postform-style.ph-5.mr-1
|
|
input(type='radio' name='option' value='upgrade')
|
|
select(name='upgrade')
|
|
option(value='')
|
|
option(value='1') #{__('Narrow Range')}
|
|
option(value='2') #{__('Wide Range')}
|
|
.row
|
|
.label #{__('Edit Duration')}
|
|
label.postform-style.ph-5.mr-1
|
|
input(type='radio' name='option' value='edit_duration')
|
|
input(type='text' name='ban_duration' placeholder=__('Ban duration e.g. 7d') autocomplete='off')
|
|
.row
|
|
.label #{__('Edit Note')}
|
|
label.postform-style.ph-5.mr-1
|
|
input(type='radio' name='option' value='edit_note')
|
|
input(type='text' name='ban_note')
|
|
input(type='submit' value=__('Submit'))
|
|
|
|
|