aboutsummaryrefslogtreecommitdiff
path: root/templates/nav.html
diff options
context:
space:
mode:
authorMetroWind <chris.corsair@gmail.com>2025-09-07 09:42:33 -0700
committerMetroWind <chris.corsair@gmail.com>2025-09-07 09:42:33 -0700
commitea0d3220db995018335c48eb06b9794235ff436b (patch)
tree892564cdd4946c6ee9c1051bc31ff5c7bba6ddf1 /templates/nav.html
Initial commit, mostly just copied from shrt.
Diffstat (limited to 'templates/nav.html')
-rw-r--r--templates/nav.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/nav.html b/templates/nav.html
new file mode 100644
index 0000000..5a89f7a
--- /dev/null
+++ b/templates/nav.html
@@ -0,0 +1,17 @@
1<nav class="Titlebar">
2 <span id="NavLeft">
3 {{ title }}
4 </span>
5
6 <span id="NavCenter"></span>
7
8 <span id="NavRight">
9 <span>
10 {% if length(session_user) > 0 %}
11 {{ session_user }}
12 {% else %}
13 <a href="{{ url_for("login") }}">Login</a>
14 {% endif %}
15 </span>
16 </span>
17</nav>