]> git.ipfire.org Git - ipfire.org.git/commitdiff
base: Fix navbar item colour
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 17 Apr 2023 17:47:52 +0000 (17:47 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 17 Apr 2023 17:47:52 +0000 (17:47 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/base.html

index 75695c2a30eb5c6a183da565065f15eb8d279e3e..f3b08e921f1021a51d7f53f2e1e39af6bd8d66c7 100644 (file)
                                        <div class="navbar-menu" id="navbarMainMenu">
                                                {% block menu %}
                                                        {% if hostname.startswith("www.") or hostname.startswith("dev.") %}
-
                                                                <div class="navbar-end">
-                                                                       <div class="navbar-item">
-                                                                               <a class="nav-link {% if request.path == "/about" %}active{% end %}" href="/about">{{ _("About") }}</a>
-                                                                       </div>
+                                                                       <a class="navbar-item {% if request.path == "/about" %}active{% end %}" href="/about">{{ _("About") }}</a>
 
-                                                                       <div class="navbar-item">
-                                                                               <a class="nav-link {% if request.path.startswith("/download") %}active{% end %}" href="/download">{{ _("Download") }}</a>
-                                                                       </div>
+                                                                       <a class="navbar-item {% if request.path.startswith("/download") %}active{% end %}" href="/download">{{ _("Download") }}</a>
 
-                                                                       <div class="navbar-item">
-                                                                               <a class="nav-link {% if request.path.startswith("/blog") %}active{% end %}" href="/blog">{{ _("Blog") }}</a>
-                                                                       </div>
+                                                                       <a class="navbar-item {% if request.path.startswith("/blog") %}active{% end %}" href="/blog">{{ _("Blog") }}</a>
 
-                                                                       <div class="navbar-item">
-                                                                               <a class="nav-link {% if request.path == "/help" %}active{% end %}" href="/help">{{ _("Help") }}</a>
-                                                                       </div>
+                                                                       <a class="navbar-item {% if request.path == "/help" %}active{% end %}" href="/help">{{ _("Help") }}</a>
 
                                                                        <div class="navbar-item">
                                                                                <button class="button is-lwl" href="https://store.lightningwirelabs.com/?utm_source={{ hostname }}&utm_medium=navigation">
                                                                                </button>
                                                                        </div>
                                                                </div>
-
-
-
-                                                               </div>
                                                        {% elif hostname == "fireinfo.ipfire.org" %}
                                                                <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar"
                                                                                aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">