all repos — honk @ 5e85329744da423d4c1488143287c36ba51db331

my fork of honk

views/header.html (view raw)

 1<!doctype html>
 2<html>
 3<head>
 4<title>honk</title>
 5<link href="/style.css{{ .StyleParam }}" rel="stylesheet">
 6{{ if .LocalStyleParam }}
 7<link href="/local.css{{ .LocalStyleParam }}" rel="stylesheet">
 8{{ end }}
 9<link href="/icon.png" rel="icon">
10<meta name="theme-color" content="#305">
11<meta name="viewport" content="width=device-width">
12</head>
13<body{{ if .UserStyle}} {{ .UserStyle }}{{ end }}>
14<header>
15{{ if .UserInfo }}
16<details id="topmenu">
17<summary>menu<span> {{ .UserInfo.Name }}</span></summary>
18<ul>
19<li><a id="homelink" href="/">home</a>
20<li><a id="atmelink" href="/atme">@me<span id=mecount>{{ if .UserInfo.Options.MeCount }}({{ .UserInfo.Options.MeCount }}){{ end }}</span></a>
21<li><a id="firstlink" href="/first">first</a>
22<li class="details">
23<details>
24<summary>combos</summary>
25<ul>
26{{ range .Combos }}
27<li><a class="combolink" href="/c/{{ . }}">{{ . }}</a>
28{{ end }}
29</ul>
30</details>
31<li><a href="/chatter">chatter<span id=chatcount>{{ if .UserInfo.Options.ChatCount }}({{ .UserInfo.Options.ChatCount }}){{ end }}</span></a>
32<li><a href="/o">tags</a>
33<li><a href="/events">events</a>
34<li><a id="longagolink" href="/longago">long ago</a>
35<li><a id="savedlink" href="/saved">saved</a>
36<li><a href="/honkers">honkers</a>
37<li><a href="/hfcs">filters</a>
38<li><a href="/account">account</a>
39<li class="details">
40<details>
41<summary>more stuff</summary>
42<ul>
43<li><a href="/{{ .UserSep }}/{{ .UserInfo.Name }}">my honks</a>
44<li><a href="/about">about</a>
45<li><a href="/front">front</a>
46<li><a href="/funzone">funzone</a>
47<li><a href="/xzone">xzone</a>
48</ul>
49</details>
50<li><a href="/help/honk.1.html">help</a>
51<li>
52<form action="/q" method="GET">
53<input type="text" name="q" autocomplete=off size=10 placeholder="search">
54</form>
55</ul>
56</details>
57<div id="topspacer">
58<p>
59<p class="nophone">top
60</div>
61{{ else }}
62<div id="topmenu">
63<span><a id="homelink" href="/">home</a></span>
64<span><a href="/o">tags</a></span>
65<span><a href="/events">events</a></span>
66<span><a href="/about">about</a></span>
67{{ if .ShowRSS }}
68<span><a href="/rss">rss</a></span>
69{{ end }}
70<span><a href="/login">login</a></span>
71</div>
72{{ end }}
73</header>