]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/templates/base.html
location: Create a page that explains how to report problems
[ipfire.org.git] / src / templates / base.html
index 09061b4d1243d0f153cde00b94a21ac4b882a19e..87f7242f4261eb42d2d2c4369030664e1f681365 100644 (file)
        <body class="is-flex is-flex-direction-column">
                <nav class="navbar" role="navigation" aria-label="main navigation">
                        <div class="container">
-                               <div class="navbar-brand">
-                                       <a class="navbar-item is-size-4" href="/">
-                                               <strong>
-                                                       {% if request.path.startswith("/location") %}
-                                                               {% module IPFireLogo("Location") %}
-                                                       {% elif request.path.startswith("/fireinfo") %}
+                               <div class="navbar-brand is-size-4">
+                                       {% if request.path.startswith("/location") %}
+                                               <a class="navbar-item" href="/location">
+                                                       {% module IPFireLogo("Location") %}
+                                               </a>
+                                       {% else %}
+                                               <a class="navbar-item" href="/">
+                                                       {% if request.path.startswith("/fireinfo") %}
                                                                {% module IPFireLogo("Fireinfo") %}
                                                        {% elif hostname.startswith("nopaste.") %}
                                                                {% module IPFireLogo("NoPaste") %}
                                                        {% else %}
                                                                {% module IPFireLogo() %}
                                                        {% end %}
-                                               </strong>
-                                       </a>
+                                               </a>
+                                       {% end %}
 
                                        <a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbarMainMenu">
                                                <span aria-hidden="true"></span>
                                                                {# Location #}
                                                                {% if request.path.startswith("/location") %}
                                                                        <a class="navbar-item is-tab
-                                                                                       {% if request.path == "/location/how-to-use" %}is-active{% end %}"
+                                                                                       {% if request.path.startswith("/location/how-to-use") %}is-active{% end %}"
                                                                                        href="/location/how-to-use">
-                                                                               {{ _("How To Use") }}
+                                                                               {{ _("How To Use?") }}
+                                                                       </a>
+
+                                                                       <a class="navbar-item is-tab
+                                                                                       {% if request.path == "/location/install" %}is-active{% end %}"
+                                                                                       href="/location/install">
+                                                                               {{ _("Install") }}
                                                                        </a>
 
                                                                        <a class="navbar-item is-tab
-                                                                                       {% if request.path.startswith("/location/download") %}is-active{% end %}"
-                                                                                       href="/location/download">
-                                                                               {{ _("Download") }}
+                                                                                       {% if request.path == "/location/report-a-problem" %}is-active{% end %}"
+                                                                                       href="/location/report-a-problem">
+                                                                               {{ _("Report A Problem") }}
                                                                        </a>
 
                                                                {# Main #}