diff options
Diffstat (limited to 'common/navigation.j2.inc')
-rw-r--r-- | common/navigation.j2.inc | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/common/navigation.j2.inc b/common/navigation.j2.inc index 53d52684..ff7957aa 100644 --- a/common/navigation.j2.inc +++ b/common/navigation.j2.inc | |||
@@ -15,16 +15,19 @@ | |||
15 | } | 15 | } |
16 | </style> | 16 | </style> |
17 | </noscript> | 17 | </noscript> |
18 | <nav class="navbar navbar-toggleable navbar-toggleable-md navbar-expand-md navbar-inverse navbar-dark fixed-top bg-dark"> | 18 | <!-- <nav class="navbar navbar-toggleable navbar-toggleable-md navbar-expand-md navbar-inverse navbar-dark fixed-top bg-dark"> --> |
19 | <!--<nav class="navbar navbar-expand-md navar-inverse navbar-dark bg-dark fixed-top"> --> | ||
20 | <nav class="navbar navbar-expand-md fixed-top"> | ||
19 | <a class="navbar-brand" href="index.html"> | 21 | <a class="navbar-brand" href="index.html"> |
20 | <!-- | 22 | <!-- |
21 | TODO: imo this is bad in the navbar. | 23 | TODO: imo this is bad in the navbar. |
22 | a readable "gnunet" font-logo would | 24 | a readable "gnunet" font-logo would |
23 | be better for orientation. | 25 | be better for orientation. |
24 | --> | 26 | --> |
25 | <img src="{{ url('static/images/gnunet-icon.png') }}" alt="GNUnet Home Icon" /> | 27 | <img src="{{ url('static/images/gnunet-icon.png') }}" alt="GNUnet Home Icon" /> |
26 | <!-- <img width="70%" height="70%" src="../static/images/gnunet-logo-dark-only-text.svg" alt="" /> --> | ||
27 | </a> | 28 | </a> |
29 | |||
30 | <!-- menu button --> | ||
28 | <button class="navbar-toggler navbar-toggler-right custom-toggler" | 31 | <button class="navbar-toggler navbar-toggler-right custom-toggler" |
29 | type="button" | 32 | type="button" |
30 | data-toggle="collapse" | 33 | data-toggle="collapse" |
@@ -32,10 +35,13 @@ | |||
32 | aria-controls="navbarMain" | 35 | aria-controls="navbarMain" |
33 | aria-expanded="false" | 36 | aria-expanded="false" |
34 | aria-label="Toggle navigation"> | 37 | aria-label="Toggle navigation"> |
35 | <span class="navbar-toggler-icon"></span> | 38 | <span class="navbar-toggler-icon"></span> |
36 | </button> | 39 | </button> |
40 | <!-- /menu button --> | ||
41 | |||
42 | <!-- navbar --> | ||
37 | <div class="collapse navbar-collapse" id="navbarMain"> | 43 | <div class="collapse navbar-collapse" id="navbarMain"> |
38 | <ul class="navbar-nav mr-auto"> | 44 | <ul class="navbar-nav mr-auto nav"> |
39 | <li class="nav-item dropdown"> | 45 | <li class="nav-item dropdown"> |
40 | <a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" | 46 | <a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" |
41 | role="button" aria-haspopup="true" aria-expanded="false"> | 47 | role="button" aria-haspopup="true" aria-expanded="false"> |
@@ -69,7 +75,7 @@ | |||
69 | role="button" | 75 | role="button" |
70 | aria-haspopup="true" | 76 | aria-haspopup="true" |
71 | aria-expanded="false"> | 77 | aria-expanded="false"> |
72 | {{ _("Documentation") }} | 78 | {{ _("Documentation") }} |
73 | </a> | 79 | </a> |
74 | <ul class="dropdown-menu" aria-labelledby="navbarMain"> | 80 | <ul class="dropdown-menu" aria-labelledby="navbarMain"> |
75 | <li><a class="dropdown-item" href="tutorial.html">{{ _("Tutorials") }}</a></li> | 81 | <li><a class="dropdown-item" href="tutorial.html">{{ _("Tutorials") }}</a></li> |
@@ -81,18 +87,13 @@ | |||
81 | </ul> | 87 | </ul> |
82 | </li> | 88 | </li> |
83 | </ul> | 89 | </ul> |
84 | <ul class="navbar-nav navbar-right"> | 90 | <ul class="navbar-nav navbar-right nav"> |
85 | <li class="nav-item dropdown"> | 91 | <li class="nav-item dropdown"> |
86 | <!-- | 92 | <a class="nav-link dropdown-toggle" href="#" |
87 | <button class="btn btn-dark dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> | 93 | data-toggle="dropdown" role="button" |
88 | <img src="{{ url('static/images/languageicon.svg') }}" height="15" alt="[{{lang}}]" /> {{ lang_full }} [{{ lang }}] | 94 | aria-haspopup="true" aria-expanded="false"> |
89 | </button> | 95 | {{ lang_full }} [{{ lang }}] |
90 | --> | 96 | </a> |
91 | <a class="nav-link dropdown-toggle" href="#" | ||
92 | data-toggle="dropdown" role="button" | ||
93 | aria-haspopup="true" aria-expanded="false"> | ||
94 | {{ lang_full }} [{{ lang }}] | ||
95 | </a> | ||
96 | <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarMain"> | 97 | <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarMain"> |
97 | <li><a class="dropdown-item" href="{{ self_localized('en') }}">English [en]</a></li> | 98 | <li><a class="dropdown-item" href="{{ self_localized('en') }}">English [en]</a></li> |
98 | <li><a class="dropdown-item" href="{{ self_localized('de') }}">Deutsch [de]</a></li> | 99 | <li><a class="dropdown-item" href="{{ self_localized('de') }}">Deutsch [de]</a></li> |
@@ -100,7 +101,7 @@ | |||
100 | <li><a class="dropdown-item" href="{{ self_localized('it') }}">Italiano [it]</a></li> | 101 | <li><a class="dropdown-item" href="{{ self_localized('it') }}">Italiano [it]</a></li> |
101 | <li><a class="dropdown-item" href="{{ self_localized('es') }}">Español [es]</a></li> | 102 | <li><a class="dropdown-item" href="{{ self_localized('es') }}">Español [es]</a></li> |
102 | </ul> | 103 | </ul> |
103 | </li> | 104 | </li> <!-- /navbar-right dropdown --> |
104 | </ul> | 105 | </ul> <!-- /navbar-right --> |
105 | </div> | 106 | </div> <!-- /navbar --> |
106 | </nav> | 107 | </nav> |