forked from zincarla/go-image-board
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tags.html
33 lines (33 loc) · 1.1 KB
/
tags.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{{template "header.html" .}}
<body>
{{template "headMenu.html" .}}
<div id="BodyContent">
<div id="SideMenu" class="cellDefaultHidden">
<form action="/tags" method="get">
<input type="text" name="SearchTags" placeholder="Search Tags" value="">
<input type="submit" value="Search Tags">
</form>
{{template "mainSearchForm.html" .}}
</div>
<div id="ImageGridContainer">
<table class="narrowCenteredContainer" id="tagTable">
<tr>
<th style="width:25%;">Name</th>
<th style="width:1em;"></th>
<th>Description</th>
</tr>
{{range .Tags}}
<tr>
<td class="noBreak"><a href="/tag?ID={{.ID}}"><img src="/resources/{{if .IsAlias}}alias.svg" alt="alias"{{else}}tag.svg" alt="tag"{{end}}class="icon" /> {{.Name}}</a></td>
<td><a href="/images?SearchTerms={{.Name}}"><img src="/resources/searchicon.svg" class="icon" /></a></td>
<td>{{.Description}}</td>
</tr>
{{end}}
</table>
</div>
</div>
<div id="PageMenu">
{{.PageMenu}}<br>
<span id="ImageCount">{{.TotalResults}} Tags!</span>
</div>
{{template "footer.html" .}}