Add upload to navbar

This commit is contained in:
2026-09-13 12:12:45 +02:00
parent cb34bae784
commit 000f9d6984
5 changed files with 34 additions and 55 deletions
+3
View File
@@ -11,6 +11,9 @@
<header>
<a class="brand" href="{{.Base}}">Uncensored&nbsp;Send</a>
<nav>
{{- /* Uploading is what the site is for, so it is a named destination and
not only a click on the wordmark. */}}
<a href="{{.Base}}">Upload</a>
{{if .User}}
<a href="{{.Base}}files">{{if .Admin}}Administration{{else}}My files{{end}}</a>
<span class="who">{{.User}}</span>