GoGronkh/gserver/templates/lps.html
Andreas Mieke f6259a8160 Rewirte of parser and server
Changed database layout and using Go path for source now
2015-09-26 00:33:55 +02:00

22 lines
791 B
HTML

{{ template "header.html" . }}
<div class="row">
<div class="large-12 columns">
<h1>{{ .title }}</h1>
<ul class="small-block-grid-2 medium-block-grid-3 large-block-grid-4">
{{ range .data }}
<li>
<a class="th" href="/lets-play/{{ .LP.Slug.String }}/">
{{ if .LP.PosterS.Valid }}
<img src="{{ .LP.PosterS.String }}" />
{{ else }}
<img src="https://placeholdit.imgix.net/~text?txtsize=24&txt=Kein%20Cover&w=260&h=366" />
{{ end }}
</a>
<br /><a href="/lets-play/{{ .LP.Slug.String }}/"><strong>{{ .LP.Name.String }}</strong></a>
<br />von <a href="/zeige/{{ .AT.Slug.String }}/">{{ .AT.Name.String }}</a>
</li>
{{ end }}
</ul>
</div>
</div>
{{ template "footer.html" . }}