aboutsummaryrefslogtreecommitdiff
path: root/templates/navbar.qtpl
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-10-28 13:04:08 +0100
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-10-28 13:05:00 +0100
commit6a3a7a85ef2f63e88a8c96aa3ab525ce843024f9 (patch)
tree5494c2c44c0ff9bf37d0360c9081a6a92eb93e8e /templates/navbar.qtpl
parent5ce7d18d415c6911740ba15e3b4e6a1b94562019 (diff)
downloadcerrado-6a3a7a85ef2f63e88a8c96aa3ab525ce843024f9.tar.gz
cerrado-6a3a7a85ef2f63e88a8c96aa3ab525ce843024f9.tar.bz2
cerrado-6a3a7a85ef2f63e88a8c96aa3ab525ce843024f9.zip
feat: Add login link to the header
Diffstat (limited to 'templates/navbar.qtpl')
-rw-r--r--templates/navbar.qtpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/navbar.qtpl b/templates/navbar.qtpl
index 8614181..8f5f9e1 100644
--- a/templates/navbar.qtpl
+++ b/templates/navbar.qtpl
@@ -16,6 +16,7 @@ const (
Summary
Refs
Tree
+ Login
)
%}
@@ -25,6 +26,9 @@ const (
<nav class="container navbar navbar-expand">
<div class="navbar-nav">
<a class="nav-link{%= insertIfEqual(s, Git) %}" href="/">git</a>
+ </div>
+ <div class="navbar-nav ms-auto">
+ <a class="nav-link{%= insertIfEqual(s, Login) %}" href="/login">login</a>
{% comment %}
Add this back once needed
<a class="nav-link{%= insertIfEqual(s, List) %}" href="/list/">list</a>