honk/views/header.html

76 lines
2.2 KiB
HTML
Raw Permalink Normal View History

2019-04-09 13:59:33 +02:00
<!doctype html>
<html>
<head>
<title>{{ or .Title .ServerName }}</title>
2019-04-09 13:59:33 +02:00
<link href="/style.css{{ .StyleParam }}" rel="stylesheet">
{{ if .LocalStyleParam }}
<link href="/local.css{{ .LocalStyleParam }}" rel="stylesheet">
{{ end }}
{{ .APAltLink }}
2023-06-13 20:58:35 +02:00
{{ .Honkology }}
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{{ if .UserStyle}} {{ .UserStyle }}{{ end }}>
2019-04-29 01:16:24 +02:00
<header>
2019-04-09 13:59:33 +02:00
{{ if .UserInfo }}
<details id="topmenu">
2021-12-27 05:19:04 +01:00
<summary>menu<span> {{ .UserInfo.Name }}</span></summary>
<ul>
<li><a id="homelink" href="/">home</a>
<li><a id="atmelink" href="/atme">@me<span id=mecount>{{ if .UserInfo.Options.MeCount }}({{ .UserInfo.Options.MeCount }}){{ end }}</span></a>
2019-09-26 17:28:05 +02:00
<li><a id="firstlink" href="/first">first</a>
<li class="details">
2019-09-24 19:56:44 +02:00
<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="/chatter">chatter<span id=chatcount>{{ if .UserInfo.Options.ChatCount }}({{ .UserInfo.Options.ChatCount }}){{ end }}</span></a>
<li><a href="/o">tags</a>
2019-10-11 02:37:03 +02:00
<li><a href="/events">events</a>
2020-07-20 00:57:53 +02:00
<li><a id="longagolink" href="/longago">long ago</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>
<li><a href="/account">account</a>
<li class="details">
2019-10-11 02:44:01 +02:00
<details>
<summary>more stuff</summary>
<ul>
2021-12-27 05:19:04 +01:00
<li><a href="/{{ .UserSep }}/{{ .UserInfo.Name }}">my honks</a>
2019-10-11 02:44:01 +02:00
<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>
2020-05-13 23:15:29 +02:00
<li><a href="/xzone">xzone</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">
2023-08-26 20:56:28 +02:00
<input type="text" name="q" autocomplete=off size=10 id="searchbox" placeholder="search">
</form>
</ul>
</details>
<div id="topspacer">
<p>
<p class="nophone">top
</div>
2019-04-09 13:59:33 +02:00
{{ else }}
<div id="topmenu">
<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>
</div>
2019-04-09 13:59:33 +02:00
{{ end }}
2019-04-29 01:16:24 +02:00
</header>