bbbd0c381f
The porting is still underway, part of it relies on functionality which hasn't be implemented in Gosora yet like sidebars and alerts. Restructured the BBCode parser plugin. Added the [code] tag to the BBCode parser. Disabled by default for now. Added a benchmark for comparing performance between when [code] is enabled and when it isn't. Tweaked the templates to make them more flexible, thus allowing a wider variety of themes. Images of the themes can now be found in the Theme Manager. There's an emoji on each theme row to show which themes are mobile friendly and which aren't. Fixed editing and deleting posts on Tempra Conflux. Moved a large portion of the inline CSS in the topic_alt template into the stylesheets.
31 lines
1.2 KiB
HTML
31 lines
1.2 KiB
HTML
{{template "header.html" . }}
|
|
{{template "panel-menu.html" . }}
|
|
<div class="colblock_right">
|
|
<div class="rowitem rowhead"><a>Forums</a></div>
|
|
</div>
|
|
<div class="colblock_right">
|
|
{{range .ItemList}}
|
|
<div class="rowitem editable_parent" style="font-weight: normal;">
|
|
<a class="editable_block" style="font-size: 20px;position:relative;top: -2px;text-transform: none;">{{.Name}}</a>
|
|
{{if not (eq .ID 0)}}<span style="float: right;">
|
|
<a href="/panel/forums/edit/submit/{{.ID}}" class="username edit_field">Edit</a>
|
|
<a href="/panel/forums/delete/{{.ID}}?session={{$.CurrentUser.Session}}" class="username">Delete</a>
|
|
</span>{{end}}
|
|
</div>
|
|
{{end}}
|
|
</div><br />
|
|
<div class="colblock_right">
|
|
<div class="rowitem rowhead"><a>Add Forum</a></div>
|
|
</div>
|
|
<div class="colblock_right">
|
|
<form action="/panel/forums/create/?session={{.CurrentUser.Session}}" method="post">
|
|
<div class="formrow">
|
|
<div class="formitem"><a>Forum Name</a></div>
|
|
<div class="formitem"><input name="forum-name" type="text" /></div>
|
|
</div>
|
|
<div class="formrow">
|
|
<div class="formitem"><button name="panel-button" class="formbutton">Add Forum</button></div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{{template "footer.html" . }} |