all repos — honk @ 488aadcb41487b340f652de651a0d0eae4c3c613

my fork of honk

views/header.html (view raw)

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