honk/views/header.html

70 lines
1.7 KiB
HTML
Raw Normal View History

2019-04-09 11:59:33 +00:00
<!doctype html>
<html>
<head>
<title>honk</title>
<link href="/style.css{{ .StyleParam }}" rel="stylesheet">
{{ if .LocalStyleParam }}
<link href="/local.css{{ .LocalStyleParam }}" rel="stylesheet">
{{ end }}
2019-06-28 02:36:55 +00:00
<style>
{{ .UserStyle }}
</style>
2019-04-09 11:59:33 +00:00
<link href="/icon.png" rel="icon">
<meta name="theme-color" content="#305">
2019-04-21 01:55:23 +00:00
<meta name="viewport" content="width=device-width">
2019-04-09 11:59:33 +00:00
</head>
<body>
2019-04-28 23:16:24 +00:00
<header>
2019-04-09 11:59:33 +00:00
{{ if .UserInfo }}
<details id="topmenu">
<summary>menu</summary>
<ul>
<li><a id="homelink" href="/">home</a>
<li><a id="atmelink" href="/atme">@me</a>
2019-09-26 15:28:05 +00:00
<li><a id="firstlink" href="/first">first</a>
2019-09-24 17:56:44 +00:00
<li style="list-style-type:none; margin-left:-1em">
<details>
<summary>combos</summary>
2019-09-24 17:52:06 +00:00
<ul>
{{ range .Combos }}
<li><a class="combolink" href="/c/{{ . }}">{{ . }}</a>
2019-09-24 17:52:06 +00:00
{{ end }}
</ul>
2019-09-24 17:56:44 +00:00
</details>
<li><a href="/o">tags</a>
2019-10-11 00:37:03 +00:00
<li><a href="/events">events</a>
2019-10-11 20:03:17 +00:00
<li><a id="savedlink" href="/saved">saved</a>
2019-10-11 00:44:01 +00:00
<li><a href="/honkers">honkers</a>
2019-10-07 00:26:21 +00:00
<li><a href="/hfcs">hfcs</a>
2019-10-11 04:54:45 +00:00
<li><a href="/{{ .UserSep }}/{{ .UserInfo.Username }}">my honks</a>
2019-10-11 00:44:01 +00:00
<li><a href="/xzone">xzone</a>
<li><a href="/account">account</a>
2019-10-11 00:44:01 +00:00
<li style="list-style-type:none; margin-left:-1em">
<details>
<summary>more stuff</summary>
<ul>
<li><a href="/about">about</a>
<li><a href="/front">front</a>
2019-10-11 20:03:17 +00:00
<li><a href="/funzone">funzone</a>
2019-10-11 00:44:01 +00:00
</ul>
</details>
2019-10-07 05:25:41 +00:00
<li><a href="/help/honk.1.html">help</a>
<li>
<form action="/q" method="GET">
<input type="text" name="q" autocomplete=off size=10 placeholder="search">
</form>
</ul>
</details>
<p></p>
2019-04-09 11:59:33 +00:00
{{ else }}
<span><a id="homelink" href="/">home</a></span>
2019-10-11 00:44:01 +00:00
<span><a href="/o">tags</a></span>
2019-10-11 00:37:03 +00:00
<span><a href="/events">events</a></span>
2019-06-08 19:31:00 +00:00
<span><a href="/about">about</a></span>
2019-05-26 20:05:59 +00:00
{{ if .ShowRSS }}
<span><a href="/rss">rss</a></span>
{{ end }}
2019-04-09 11:59:33 +00:00
<span><a href="/login">login</a></span>
{{ end }}
2019-04-28 23:16:24 +00:00
</header>