99da1fcbaa
Added support for temporary bans. Moved the Gosora specific template logic out of main.go and into template_init.go Added an internal temporary group API. We now use h1s in the theme headers. There may be some issues with the themes other than Shadow which we may need to resolve. Added ARIA attributes in a few places for improved accessibility. Added support for inputs in links for the .edit_field API. Removed a few unneccesary prepared statements.
35 lines
1.0 KiB
HTML
35 lines
1.0 KiB
HTML
{{template "header.html" . }}
|
|
<main>
|
|
|
|
<div class="rowblock rowhead">
|
|
<div class="rowitem"><h1>Create Group</h1></div>
|
|
</div>
|
|
<div class="rowblock">
|
|
<form action="/group/create/submit/" method="post">
|
|
<div class="formrow">
|
|
<div class="formitem formlabel"><a>Group Name</a></div>
|
|
<div class="formitem"><input name="group_name" type="text" placeholder="Group Name" /></div>
|
|
</div>
|
|
<div class="formrow">
|
|
<div class="formitem formlabel"><a>Description</a></div>
|
|
<div class="formitem"><input name="group_desc" type="text" placeholder="Description" /></div>
|
|
</div>
|
|
<div class="formrow">
|
|
<div class="formitem formlabel"><a>Visibility</a></div>
|
|
<div class="formitem">
|
|
<select name="group_privacy">
|
|
<option val="0">Public</option>
|
|
<option val="1">Protected</option>
|
|
<option val="2">Private</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="formrow">
|
|
<div class="formitem"><button name="group_button" class="formbutton">Create Group</button></div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
</main>
|
|
{{template "footer.html" . }}
|