all repos — honk @ a11b8e6d794e6f5738fc4782d87b8234e329a200

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