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">
|
2020-03-09 05:16:44 +00:00
|
|
|
<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="{{lang "ip_search_search_button"}}"/>
|
2017-11-13 09:23:43 +00:00
|
|
|
</div>
|
2017-09-23 19:57:13 +00:00
|
|
|
</div>
|
2019-11-02 05:43:59 +00:00
|
|
|
{{if .IP}}<div class="rowblock rowlist bgavatars micro_grid{{if .ItemList}} has_items{{end}}">
|
2019-10-11 00:57:33 +00:00
|
|
|
{{range .ItemList}}<div class="rowitem" style="background-image:url('{{.Avatar}}');">
|
2020-03-09 05:16:44 +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}}
|
2019-11-02 05:43:59 +00:00
|
|
|
</div>{{end}}
|
2017-09-03 04:50:31 +00:00
|
|
|
</main>
|
2019-10-11 00:57:33 +00:00
|
|
|
{{template "footer.html" . }}
|