gosora/templates/forums.html
Azareal 409719d10e Added support for screen readers.
Refactored the setting system to make it thread-safe.
Planned out the task system.
Fixed the closed topic status header.
2017-08-20 10:39:02 +01:00

28 lines
944 B
HTML

{{template "header.html" . }}
<main>
<div class="rowblock opthead">
<div class="rowitem"><a>Forums</a></div>
</div>
<div class="rowblock">
{{range .ItemList}}<div class="rowitem {{if (.Desc) or (.LastTopicTime)}}datarow{{end}}">
{{if .Desc}}<span style="float: left;">
<a href="{{.Link}}" style="">{{.Name}}</a>
<br /><span class="rowsmall">{{.Desc}}</span>
</span>{{else}}<span style="float: left;">
<a href="{{.Link}}">{{.Name}}</a>
<br /><span class="rowsmall" style="font-style: italic;">No description</span>
</span>{{end}}
<span style="float: right;">
<a href="{{.LastTopicLink}}" style="float: right;font-size: 14px;">{{.LastTopic}}</a>
{{if .LastTopicTime}}<br /><span class="rowsmall">{{.LastTopicTime}}</span>{{end}}
</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" . }}