aboutsummaryrefslogtreecommitdiff
path: root/templates/navbar.qtpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/navbar.qtpl')
-rw-r--r--templates/navbar.qtpl7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/navbar.qtpl b/templates/navbar.qtpl
index 68b1fd8..18400b1 100644
--- a/templates/navbar.qtpl
+++ b/templates/navbar.qtpl
@@ -5,6 +5,7 @@ const (
List
About
Config
+ 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>
@@ -33,7 +37,6 @@ Add this back once needed
Add this back if needed
<a class="nav-link{%= insertIfEqual(s, About) %}" href="/about/">about</a>
{% endcomment %}
- <a class="nav-link{%= insertIfEqual(s, Config) %}" href="/config">config</a>
</div>
</nav>
{% endfunc %}
@@ -51,7 +54,7 @@ Add this back if needed
<a class="nav-link{%= insertIfEqual(s, Summary) %}" aria-current="page" href="/{%s name %}/">summary</a>
</li>
<li class="nav-item">
- <a class="nav-link{%= insertIfEqual(s, Refs) %}" aria-current="page" href="/{%s name %}/refs">refs</a>
+ <a class="nav-link{%= insertIfEqual(s, Refs) %}" aria-current="page" href="/{%s name %}/refs/">refs</a>
</li>
<li class="nav-item">
<a class="nav-link{%= insertIfEqual(s, Log) %}" aria-current="page" href="/{%s name %}/log/{%s ref %}/">log</a>