all repos — honk @ 1faca30a54896b222caebcdf899b92266ad6efe4

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</summary>
21<ul>
22<li><a id="homelink" href="/">home</a>
23<li><a id="atmelink" href="/atme">@me</a>
24<li><a id="firstlink" href="/first">first</a>
25<li><a href="/{{ .UserSep }}/{{ .UserInfo.Username }}">{{ .UserInfo.Username }}</a>
26<li><a href="/honkers">honkers</a>
27<li style="list-style-type:none; margin-left:-1em">
28<details>
29<summary>combos</summary>
30<ul>
31{{ range .Combos }}
32<li><a class="combolink" href="/c/{{ . }}">{{ . }}</a>
33{{ end }}
34</ul>
35</details>
36<li><a href="/o">tags</a>
37<li><a href="/about">about</a>
38<li><a href="/front">front</a>
39<li><a href="/events">events</a>
40<li><a href="/xzone">xzone</a>
41<li><a href="/hfcs">hfcs</a>
42<li><a href="/funzone">funzone</a>
43<li><a href="/account">account</a>
44<li><a href="/help/honk.1.html">help</a>
45<li>
46<form action="/q" method="GET">
47<input type="text" name="q" autocomplete=off size=10 placeholder="search">
48</form>
49</ul>
50</details>
51<p></p>
52{{ else }}
53<span><a id="homelink" href="/">home</a></span>
54<span><a href="/events">events</a></span>
55<span><a href="/about">about</a></span>
56{{ if .ShowRSS }}
57<span><a href="/rss">rss</a></span>
58{{ end }}
59<span><a href="/login">login</a></span>
60{{ end }}
61</header>