all repos — honk @ 6b3921970b7f9ad6f6810673f3283b4cdfee57ae

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<p>
22<ul>
23<li><a href="/{{ .UserSep }}/{{ .UserInfo.Username }}">{{ .UserInfo.Username }}</a>
24<li><a href="/honkers">honkers</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="/o">tags</a>
35<li><a href="/about">about</a>
36<li><a href="/front">front</a>
37<li><a href="/xzone">xzone</a>
38<li><a href="/zonkzone">zonkzone</a>
39<li><a href="/funzone">funzone</a>
40<li><a href="/account">account</a>
41<li>
42<form action="/q" method="GET">
43<input type="text" name="q" autocomplete=off size=10 placeholder="search">
44</form>
45</ul>
46</details>
47<p>
48<span><a id="homelink" href="/">home</a></span>
49<span><a id="atmelink" href="/atme">@me</a></span>
50{{ else }}
51<span><a id="homelink" href="/">home</a></span>
52<span><a href="/about">about</a></span>
53{{ if .ShowRSS }}
54<span><a href="/rss">rss</a></span>
55{{ end }}
56<span><a href="/login">login</a></span>
57{{ end }}
58</header>