krz/skunky-art
Alternative privacy frontend for DeviantArt.
clone: git clone https://gitbay.org/krz/skunky-art.git
1<!DOCTYPE html>
2<html>
3 <head>
4 <title>SkunkyArt | Search "{{.QueryRaw}}"</title>
5 <link rel="stylesheet" href="{{.BasePath}}stylesheet">
6 </head>
7 <main>
8 <header>
9 <h1><a href="{{.BasePath}}">HOME</a> | <a href="{{.BasePath}}dd">DD</a></h1>
10 <form method="get" action="search">
11 <input type="text" name="q" placeholder="Search for ..." autocomplete="off" autocapitalize="none" spellcheck="false">
12 <select name="type">
13 <option value="all">All</option>
14 <option value="tag">Tag</option>
15 <option value="r">Groups</option>
16 </select>
17 <button type="submit">Search!</button>
18 </form>
19 </header>
20 {{if ne .Templates.Search.List ""}}
21 {{if ne .Templates.Search.Content.Total 0}}
22 <h1>Results by request '{{.QueryRaw}}': {{.Templates.Search.Content.Total}}</h1>
23 {{end}}
24 {{.Templates.Search.List}}
25 {{else}}
26 <p>No results :(</p>
27 {{end}}
28 </main>
29</html>