gosora/src/templates/topics.html

10 lines
586 B
HTML
Raw Normal View History

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">
{{range .ItemList}}<div class="rowitem passive"{{ if .Avatar }} style="background-image: url({{ .Avatar }});background-position: left;background-repeat: no-repeat;background-size: 64px;padding-left: 72px;"{{end}}>
<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>
{{template "footer.html" . }}