2017-09-03 04:50:31 +00:00
|
|
|
{{template "header.html" . }}
|
2017-12-19 03:53:13 +00:00
|
|
|
<main id="ip_search_container">
|
2017-11-13 09:23:43 +00:00
|
|
|
<div class="rowblock rowhead">
|
|
|
|
<div class="rowitem">
|
2018-03-08 03:59:47 +00:00
|
|
|
<h1>{{lang "ip_search_head"}}</h1>
|
2017-11-13 09:23:43 +00:00
|
|
|
</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">
|
2017-12-19 03:53:13 +00:00
|
|
|
<input form="ip-search-form" name="ip" class="ip_search_input" type="search" placeholder="🔍︎"{{if .IP}} value="{{.IP}}"{{end}} />
|
2018-03-11 09:33:49 +00:00
|
|
|
<input form="ip-search-form" class="ip_search_search" type="submit" value="{{lang "ip_search_search_button"}}" />
|
2017-11-13 09:23:43 +00:00
|
|
|
</div>
|
2017-09-23 19:57:13 +00:00
|
|
|
</div>
|
2017-11-13 09:23:43 +00:00
|
|
|
{{if .IP}}
|
2018-12-06 11:09:10 +00:00
|
|
|
<div class="rowblock rowlist bgavatars micro_grid">
|
2017-12-10 03:43:30 +00:00
|
|
|
{{range .ItemList}}<div class="rowitem" style="background-image: url('{{.Avatar}}');">
|
2019-05-11 23:07:24 +00:00
|
|
|
<img src="{{.Avatar}}" class="bgsub" alt="Avatar" aria-hidden="true" />
|
2017-12-19 03:53:13 +00:00
|
|
|
<a class="rowTitle" href="{{.Link}}">{{.Name}}</a>
|
2017-11-13 09:23:43 +00:00
|
|
|
</div>
|
2018-03-08 03:59:47 +00:00
|
|
|
{{else}}<div class="rowitem rowmsg">{{lang "ip_search_no_users"}}</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" . }}
|