honk/views/header.html

70 lines
1.8 KiB
HTML
Raw Permalink Normal View History

2019-04-09 13:59:33 +02: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 04:36:55 +02:00
<style>
{{ .UserStyle }}
</style>
2019-04-09 13:59:33 +02:00
<link href="/icon.png" rel="icon">
<meta name="theme-color" content="#305">
2019-04-21 03:55:23 +02:00
<meta name="viewport" content="width=device-width">
2019-04-09 13:59:33 +02:00
</head>
<body>
2019-04-29 01:16:24 +02:00
<header>
2019-04-09 13:59:33 +02:00
{{ if .UserInfo }}
<details id="topmenu">
2019-11-07 23:54:10 +01:00
<summary>menu<span> {{ .UserInfo.Username }}</span></summary>
<ul>
<li><a id="homelink" href="/">home</a>
<li><a id="atmelink" href="/atme">@me</a>
2019-09-26 17:28:05 +02:00
<li><a id="firstlink" href="/first">first</a>
2019-09-24 19:56:44 +02:00
<li style="list-style-type:none; margin-left:-1em">
<details>
<summary>combos</summary>
2019-09-24 19:52:06 +02:00
<ul>
{{ range .Combos }}
<li><a class="combolink" href="/c/{{ . }}">{{ . }}</a>
2019-09-24 19:52:06 +02:00
{{ end }}
</ul>
2019-09-24 19:56:44 +02:00
</details>
<li><a href="/o">tags</a>
2019-10-11 02:37:03 +02:00
<li><a href="/events">events</a>
2019-10-11 22:03:17 +02:00
<li><a id="savedlink" href="/saved">saved</a>
2019-10-11 02:44:01 +02:00
<li><a href="/honkers">honkers</a>
2019-10-20 04:59:28 +02:00
<li><a href="/hfcs">filters</a>
2019-10-11 06:54:45 +02:00
<li><a href="/{{ .UserSep }}/{{ .UserInfo.Username }}">my honks</a>
2019-10-11 02:44:01 +02:00
<li><a href="/xzone">xzone</a>
<li><a href="/account">account</a>
2019-10-11 02:44:01 +02: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 22:03:17 +02:00
<li><a href="/funzone">funzone</a>
2019-10-11 02:44:01 +02:00
</ul>
</details>
2019-10-07 07:25:41 +02: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 13:59:33 +02:00
{{ else }}
<span><a id="homelink" href="/">home</a></span>
2019-10-11 02:44:01 +02:00
<span><a href="/o">tags</a></span>
2019-10-11 02:37:03 +02:00
<span><a href="/events">events</a></span>
2019-06-08 21:31:00 +02:00
<span><a href="/about">about</a></span>
2019-05-26 22:05:59 +02:00
{{ if .ShowRSS }}
<span><a href="/rss">rss</a></span>
{{ end }}
2019-04-09 13:59:33 +02:00
<span><a href="/login">login</a></span>
{{ end }}
2019-04-29 01:16:24 +02:00
</header>