2016-12-04 10:44:28 +00:00
|
|
|
{{template "header.html" . }}
|
|
|
|
<div class="colblock_left">
|
|
|
|
<div class="rowitem"><a>Control Panel</a></div>
|
|
|
|
<div class="rowitem passive"><a href="/panel/forums/">Forums</a></div>
|
2016-12-09 13:46:29 +00:00
|
|
|
<div class="rowitem passive"><a href="/panel/settings/">Settings</a></div>
|
2016-12-11 16:06:17 +00:00
|
|
|
<div class="rowitem passive"><a href="/panel/plugins/">Plugins</a></div>
|
|
|
|
<div class="rowitem passive"><a>Coming Soon</a></div>
|
2016-12-04 10:44:28 +00:00
|
|
|
<div class="rowitem passive"><a>Coming Soon</a></div>
|
|
|
|
<div class="rowitem passive"><a>Coming Soon</a></div>
|
2016-12-06 10:26:48 +00:00
|
|
|
<div class="rowitem passive"><a href="/forum/-1">Reports</a></div>
|
2016-12-04 10:44:28 +00:00
|
|
|
</div>
|
2016-12-09 13:46:29 +00:00
|
|
|
<div class="colblock_right">
|
|
|
|
<div class="rowitem"><a>Forums</a></div>
|
|
|
|
</div>
|
2016-12-04 10:44:28 +00:00
|
|
|
<div class="colblock_right">
|
|
|
|
{{range .ItemList}}
|
2016-12-06 10:26:48 +00:00
|
|
|
<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>
|
2016-12-09 13:46:29 +00:00
|
|
|
{{if not (eq .ID 0)}}<span style="float: right;">
|
2016-12-06 10:26:48 +00:00
|
|
|
<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>
|
2016-12-09 13:46:29 +00:00
|
|
|
</span>{{end}}
|
2016-12-06 10:26:48 +00:00
|
|
|
</div>
|
2016-12-04 10:44:28 +00:00
|
|
|
{{end}}
|
|
|
|
</div><br />
|
|
|
|
<div class="colblock_right">
|
|
|
|
<div class="rowitem"><a>Add Forum</a></div>
|
|
|
|
</div>
|
|
|
|
<div class="colblock_right">
|
2016-12-06 10:26:48 +00:00
|
|
|
<form action="/panel/forums/create/?session={{.CurrentUser.Session}}" method="post">
|
2016-12-04 10:44:28 +00:00
|
|
|
<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</div></div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
{{template "footer.html" . }}
|