aboutsummaryrefslogtreecommitdiff
path: root/views/header.html
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-06-17 22:30:49 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2021-06-17 22:31:25 +0100
commit015a31a14f5de5a1c7aa3dc71175eb0c2fe58b30 (patch)
tree81cf315da47e263a79a892428240502cf0f7d079 /views/header.html
parentbf1a991d4337ebc15ed4e52176c8acf382ef0701 (diff)
downloadhonk_custom-015a31a14f5de5a1c7aa3dc71175eb0c2fe58b30.tar.gz
honk_custom-015a31a14f5de5a1c7aa3dc71175eb0c2fe58b30.zip
shorter patch names, updated README.md, new Makefile
Diffstat (limited to 'views/header.html')
-rw-r--r--views/header.html90
1 files changed, 0 insertions, 90 deletions
diff --git a/views/header.html b/views/header.html
deleted file mode 100644
index 4498ca1..0000000
--- a/views/header.html
+++ /dev/null
@@ -1,90 +0,0 @@
-<!doctype html>
-<html>
-<head>
- <link rel="shortcut icon" href="/favicon.ico"/>
-<title>honk</title>
-<link href="/style.css{{ .StyleParam }}" rel="stylesheet">
-{{ if .LocalStyleParam }}
-<link href="/local.css{{ .LocalStyleParam }}" rel="stylesheet">
-{{ end }}
-<style>
-{{ .UserStyle }}
-</style>
-<link href="/icon.png" rel="icon">
-<meta name="theme-color" content="#305">
-<meta name="viewport" content="width=device-width">
-<meta name="description" content="Federated ActivityPub instance running the Honk server. things happen">
-<meta name="keywords" content="honk">
-</head>
-<body>
-<header>
-{{ if .UserInfo }}
-<details id="topmenu">
- <summary>menu <span> {{ .UserInfo.Username }}</span></summary>
-<ul>
-<li><a id="homelink" href="/">home</a>
-<li><a id="atmelink" href="/atme">@me</a>
-<li><a id="firstlink" href="/first">first</a>
-<li style="list-style-type:none; margin-left:-1em">
-<details>
-<summary>combos</summary>
-<ul>
-{{ range .Combos }}
-<li><a class="combolink" href="/c/{{ . }}">{{ . }}</a>
-{{ end }}
-</ul>
-</details>
-<li><a href="/chatter">chatter</a>
-<li><a href="/o">tags</a>
-<li><a href="/events">events</a>
-<li><a id="longagolink" href="/longago">long ago</a>
-<li><a id="savedlink" href="/saved">saved</a>
-<li><a href="/honkers">honkers</a>
-<li><a href="/hfcs">filters</a>
-<li><a href="/account">account</a>
-<li style="list-style-type:none; margin-left:-1em">
-<details>
-<summary>more stuff</summary>
-<ul>
-<li><a href="/{{ .UserSep }}/{{ .UserInfo.Username }}">my honks</a>
-<li><a href="/about">about</a>
-<li><a href="/front">front</a>
-<li><a href="/funzone">funzone</a>
-<li><a href="/xzone">xzone</a>
-</ul>
-</details>
-<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>
-
-<!-- CUSTOM HONK NAVIGATION BAR -->
- <div id="altnavbar">
- <a href="/newhonk" tabindex="2">new honk</a> |
- <a href="/front">front</a> |
- <a href="/">home</a> |
- <a href="/xzone">fetch</a> |
- <a href="/atme">@me</a> |
- <a href="/u/{{ .UserInfo.Username}}">profile</a> |
- <a href="/account">settings</a> |
- <form style="display:inline" action="/q" method="GET">
- <input type="text" tabindex="1" name="q" autocomplete="off" size="10" placeholder="search">
- </form>
- </div>
-<!-- END -->
-
-<p id="topspacer"></p>
-{{ else }}
-<span><a id="homelink" href="/">home</a></span>
-<span><a href="/o">tags</a></span>
-<span><a href="/events">events</a></span>
-<span><a href="/about">about</a></span>
-{{ if .ShowRSS }}
-<span><a href="/rss">rss</a></span>
-{{ end }}
-<span><a href="/login">login</a></span>
-{{ end }}
-</header>