mirror of https://gitgud.io/fatchan/jschan.git
parent
281dba8819
commit
0e3c6ede2b
12 changed files with 61 additions and 57 deletions
@ -1,21 +0,0 @@ |
||||
section.form-wrapper |
||||
label.toggle-label Add Banners |
||||
input.toggle(type='checkbox') |
||||
form.form-post.togglable(action=`/forms/board/${board._id}/addbanners`, enctype='multipart/form-data', method='POST') |
||||
input(type='hidden' name='_csrf' value=csrf) |
||||
section.postform-section |
||||
span.fileupload |
||||
input#file(type='file', name='file' multiple) |
||||
input(type='submit', value='submit') |
||||
|
||||
section.form-wrapper |
||||
label.toggle-label Delete Banners |
||||
input.toggle(type='checkbox') |
||||
form.form-post.togglable(action=`/forms/board/${board._id}/deletebanners`, enctype='application/x-www-form-urlencoded', method='POST') |
||||
input(type='hidden' name='_csrf' value=csrf) |
||||
each banner in board.banners |
||||
label.banner-check |
||||
input(type='checkbox' name='checkedbanners[]' value=banner) |
||||
object.board-banner(data=`/banner/${banner}` width='300' height='100') |
||||
input(type='submit', value='submit') |
||||
|
Loading…
Reference in new issue