GoGronkh/gserver/templates/ats.html
Andreas Mieke 0e5c002d13 gserver: Adding alt tags to img
Also changing the textsize of the not found placeholders
2015-09-27 11:10:28 +02:00

22 lines
756 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-4 large-block-grid-6">
{{ range .data }}
<li>
<a class="th" href="/zeige/{{ .AT.Slug.String }}/">
{{ if .AT.AvatarB.Valid }}
<img alt="{{ .AT.Name.String }}'s Avatar" src="{{ .AT.AvatarB.String }}" />
{{ else }}
<img alt="Kein Avatar" src="https://placeholdit.imgix.net/~text?txtsize=24&txt=Kein%20Avatar&w=240&h=240" />
{{ end }}
</a>
<br /><a href="/zeige/{{ .AT.Slug.String }}/"><strong>{{ .AT.Name.String }}</strong></a>
</li>
{{ end }}
</ul>
</div>
</div>
{{ template "footer.html" . }}