2018-10-25 20:09:08 +02:00
|
|
|
{{define "content"}}
|
2018-10-26 17:53:00 +02:00
|
|
|
<h1>Kategorie</h1>
|
2018-10-25 20:09:08 +02:00
|
|
|
{{range $.categories}}
|
2018-10-26 17:53:00 +02:00
|
|
|
<a href="/category?id={{ .Id }}">
|
|
|
|
<div class="categoryTile">
|
|
|
|
<div class="categoryTileContent">
|
|
|
|
<div class="categoryIcon" style="background-image: url(http://127.0.0.1:8000/static/icons/{{ .Name }}.png);"></div>
|
|
|
|
<div class="categoryName">{{ .Name }}</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
2018-10-25 20:09:08 +02:00
|
|
|
{{end}}
|
|
|
|
{{end}}
|