2017-09-03 04:50:31 +00:00
|
|
|
{{template "header.html" . }}
|
|
|
|
<main>
|
2017-11-13 09:23:43 +00:00
|
|
|
<div class="rowblock rowhead">
|
|
|
|
<div class="rowitem">
|
|
|
|
<h1>IP Search</h1>
|
|
|
|
</div>
|
2017-09-23 19:57:13 +00:00
|
|
|
</div>
|
2017-11-13 09:23:43 +00:00
|
|
|
<form action="/users/ips/" method="get" id="ip-search-form"></form>
|
|
|
|
<div class="rowblock ip_search_block">
|
|
|
|
<div class="rowitem passive">
|
|
|
|
<input form="ip-search-form" name="ip" class="ip_search_input" type="search" placeholder="🔍︎" {{if .IP}}value="{{.IP}}"{{end}}/>
|
|
|
|
<input form="ip-search-form" class="ip_search_search" type="submit" value="Search" />
|
|
|
|
</div>
|
2017-09-23 19:57:13 +00:00
|
|
|
</div>
|
2017-11-13 09:23:43 +00:00
|
|
|
{{if .IP}}
|
|
|
|
<div class="rowblock bgavatars">
|
|
|
|
{{range .ItemList}}<div class="rowitem"{{if .Avatar}} style="background-image: url('{{.Avatar}}');"{{end}}>
|
|
|
|
<a href="{{.Link}}">{{.Name}}</a>
|
|
|
|
</div>
|
|
|
|
{{else}}<div class="rowitem">No users found.</div>{{end}}
|
2017-09-03 04:50:31 +00:00
|
|
|
</div>
|
2017-11-13 09:23:43 +00:00
|
|
|
{{end}}
|
2017-09-03 04:50:31 +00:00
|
|
|
</main>
|
|
|
|
{{template "footer.html" . }}
|