abfe0a472a
Added the view counter, it currently collects data without exposing it to the admin. Added an API for scheduling tasks which run once every second and once every fifteen minutes. Added a generated map containing all the routes with the function names as keys. Added the request counter to the generated router. Added more ARIA Labels and moved various bits and pieces into the CSS files for flexibility. Removed a bunch of redundant avatar checks in the templates. Improved the mobile friendliness of Cosora. Fixed various issues in the other themes. Refactored the file listener. Gosora now resyncs newly created theme files not just modified ones. Gosora now resyncs renamed theme files not just modified ones.
25 lines
812 B
HTML
25 lines
812 B
HTML
{{template "header.html" . }}
|
|
<main>
|
|
<div class="rowblock rowhead">
|
|
<div class="rowitem">
|
|
<h1>IP Search</h1>
|
|
</div>
|
|
</div>
|
|
<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>
|
|
</div>
|
|
{{if .IP}}
|
|
<div class="rowblock bgavatars">
|
|
{{range .ItemList}}<div class="rowitem" style="background-image: url('{{.Avatar}}');">
|
|
<a href="{{.Link}}">{{.Name}}</a>
|
|
</div>
|
|
{{else}}<div class="rowitem">No users found.</div>{{end}}
|
|
</div>
|
|
{{end}}
|
|
</main>
|
|
{{template "footer.html" . }}
|