14a14b7e80
This commit might be a little broken, another is coming to fix things up! The topics list is now paginated. Refactored the error handling system. Added the Trumboyg WYSIWYG editor for Cosora. Moved Delete() out of the TopicStore and into *Topic You can now bulk delete and bulk lock topics on Cosora. h1s are now formatted properly on Firefox. Added more ARIA Labels. SuperModOnly is now a piece of middleware for the Control Panel routes. Refactored and extended the router generator. Improved the SEO for the paginators. Added bits of Microdata to improve SEO further. Wrote benchmarks for users.Get() and users.BypassGet() More errors are caught now. You can now attach pcss files to posts. Improved the error logging for JavaScript. Topic list avatars now link to the associated profiles. Added last poster avatars to the forum list.
32 lines
1.0 KiB
HTML
32 lines
1.0 KiB
HTML
{{template "header.html" . }}
|
|
<main>
|
|
|
|
<div class="rowblock opthead">
|
|
<div class="rowitem"><h1>Forums</h1></div>
|
|
</div>
|
|
<div class="rowblock forum_list">
|
|
{{range .ItemList}}<div class="rowitem {{if (.Desc) or (.LastTopic.Title)}}datarow{{end}}">
|
|
<span class="forum_left shift_left">
|
|
<a href="{{.Link}}">{{.Name}}</a>
|
|
{{if .Desc}}
|
|
<br /><span class="rowsmall">{{.Desc}}</span>
|
|
{{else}}
|
|
<br /><span class="rowsmall" style="font-style: italic;">No description</span>
|
|
{{end}}
|
|
</span>
|
|
|
|
<span class="forum_right shift_right">
|
|
{{if .LastReplyer.Avatar}}<img class="extra_little_row_avatar" src="{{.LastReplyer.Avatar}}" height=64 width=64 />{{end}}
|
|
<span>
|
|
<a href="{{.LastTopic.Link}}">{{if .LastTopic.Title}}{{.LastTopic.Title}}{{else}}None{{end}}</a>
|
|
{{if .LastTopicTime}}<br /><span class="rowsmall">{{.LastTopicTime}}</span>{{end}}
|
|
</span>
|
|
</span>
|
|
<div style="clear: both;"></div>
|
|
</div>
|
|
{{else}}<div class="rowitem passive">You don't have access to any forums.</div>{{end}}
|
|
</div>
|
|
|
|
</main>
|
|
{{template "footer.html" . }}
|