all repos — honk @ 11a3a8e91e04cb28a2994c8e76aafa0a7c428c47

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" media="(prefers-color-scheme: light) "content="#F72585">
14    <meta name="theme-color" media="(prefers-color-scheme: dark) "content="#509c93">
15    <meta name="viewport" content="width=device-width">
16  </head>
17  <body>
18    <header>
19      {{ if .UserInfo }}
20      <nav>
21        <ul class="easylinks">
22      <li><a id="homelink" href="/">home</a>
23      <li><a id="atmelink" href="/atme">@me<span style="padding-left:3px;margin:0;" id=mecount>{{ if .UserInfo.Options.MeCount }}({{ .UserInfo.Options.MeCount }}){{ end }}</span></a>
24      <li><a href="/account">account</a>
25      <li><a href="/honkers">honkers</a>
26      <li><a href="/{{ .UserSep }}/{{ .UserInfo.Name }}">{{ .UserInfo.Name }}</a>
27    </ul>
28      </nav>
29
30      <details id="topmenu">
31        <summary>menu</summary>
32        <ul>
33          <li><a id="firstlink" href="/first">first</a>
34          <li style="list-style-type:none; margin-left:-1em">
35            <details>
36              <summary>combos</summary>
37              <ul>
38                {{ range .Combos }}
39                <li><a class="combolink" href="/c/{{ . }}">{{ . }}</a>
40                  {{ end }}
41              </ul>
42            </details>
43          <li><a href="/chatter">chatter<span id=chatcount>{{ if .UserInfo.Options.ChatCount }}({{ .UserInfo.Options.ChatCount }}){{ end }}</span></a>
44          <li><a href="/o">tags</a>
45          <li><a href="/events">events</a>
46          <li><a id="longagolink" href="/longago">long ago</a>
47          <li><a id="savedlink" href="/saved">saved</a>
48          <li><a href="/hfcs">filters</a>
49          <li style="list-style-type:none; margin-left:-1em">
50            <details>
51              <summary>more stuff</summary>
52              <ul>
53                <li><a href="/about">about</a>
54                <li><a href="/front">front</a>
55                <li><a href="/funzone">funzone</a>
56                <li><a href="/xzone">xzone</a>
57              </ul>
58            </details>
59          <li><a href="/help/honk.1.html">help</a>
60        </ul>
61      </details>
62      {{ else }}
63      <div id="topmenu">
64        <span><a id="homelink" href="/">home</a></span>
65        <span><a href="/o">tags</a></span>
66        <span><a href="/events">events</a></span>
67        <span><a href="/about">about</a></span>
68        {{ if .ShowRSS }}
69        <span><a href="/rss">rss</a></span>
70        {{ end }}
71        <span><a href="/login">login</a></span>
72      </div>
73      {{ end }}
74    </header>
75