2016-12-02 07:38:54 +00:00
|
|
|
{{template "header.html" . }}
|
|
|
|
<div class="rowblock">
|
|
|
|
<div class="rowitem"><a>Topic List</a></div>
|
|
|
|
</div>
|
|
|
|
<div class="rowblock">
|
2016-12-03 10:25:39 +00:00
|
|
|
{{range .ItemList}}<div class="rowitem passive" style="{{ if .Avatar }}background-image: url({{ .Avatar }});background-position: left;background-repeat: no-repeat;background-size: 64px;padding-left: 72px;{{end}}{{ if .Sticky }}background-color: #FFFFCC;{{end}}">
|
2016-12-03 08:09:40 +00:00
|
|
|
<a href="/topic/{{.ID}}">{{.Title}}</a> {{if .Is_Closed}}<span class="topic_status topic_status_closed">closed</span>{{else}}<span class="topic_status topic_status_open">open</span>{{end}}
|
2016-12-02 07:38:54 +00:00
|
|
|
</div>{{end}}
|
|
|
|
</div>
|
2016-12-07 13:46:14 +00:00
|
|
|
{{if .Something}}
|
|
|
|
<div class="rowblock">
|
|
|
|
<div class="rowitem passive">{{.Something}}</div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
2016-12-02 07:38:54 +00:00
|
|
|
{{template "footer.html" . }}
|