1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-14 16:26:23 -07:00

Add stuff to be able to create a board section from the web interface

This commit is contained in:
Eggbertx 2022-08-07 22:32:37 -07:00
parent 8e3a7c493a
commit dc6cac7213
3 changed files with 44 additions and 20 deletions

View file

@ -1,9 +1,10 @@
<form action="{{.webroot}}manage?action=boardsections" method="POST">
<h2>New section</h2>
<table>
<tr><td>Name:</td><td><input type="text" name="newname" id="newname"></td></tr>
<tr><td>Abbreviation:</td><td><input type="text" name="newabbr" id="newabbr"></td></tr>
<tr><td>Hidden:</td><td><input type="checkbox" name="newhidden" id="newhidden"></td></tr>
<tr><td>Name:</td><td><input type="text" name="newname"></td></tr>
<tr><td>Abbreviation:</td><td><input type="text" name="newabbr"></td></tr>
<tr><td>List order</td><td><input type="number" name="newposition" value="0"/></td></tr>
<tr><td>Hidden:</td><td><input type="checkbox" name="newhidden"></td></tr>
</table>
<input type="submit" name="create_section_btn" value="Create section">
</form>