all repos — honk @ 48c56d0c881f3ee0a46fb18598ab135406f6580a

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