summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/navbar.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-10-30 16:05:13 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-10-30 16:05:13 +0100
commit289e153c64ba5c8a87ed60fa1f8f2e7ef9634c78 (patch)
treeaac7a0bd2c8e1efa429eee981633a7d9e1766e14 /ishtar_common/templates/navbar.html
parent56fa09eb703c29568d9d04ab806c5e42a570fc4c (diff)
downloadIshtar-289e153c64ba5c8a87ed60fa1f8f2e7ef9634c78.tar.bz2
Ishtar-289e153c64ba5c8a87ed60fa1f8f2e7ef9634c78.zip
UI: work on responsive menu
Diffstat (limited to 'ishtar_common/templates/navbar.html')
-rw-r--r--ishtar_common/templates/navbar.html22
1 files changed, 13 insertions, 9 deletions
diff --git a/ishtar_common/templates/navbar.html b/ishtar_common/templates/navbar.html
index 228f18530..0f6036a6c 100644
--- a/ishtar_common/templates/navbar.html
+++ b/ishtar_common/templates/navbar.html
@@ -1,15 +1,18 @@
{% load i18n %}
<header class="navbar navbar-expand-lg navbar-dark bg-dark">
{% block header %}
- <nav class="navbar">
- <a class="navbar-brand" href="/">
- <img src="{{STATIC_URL}}media/images/ishtar-blason.svg"
- width="30" height="30" alt="">
- </a>
- </nav>
- <div class="collapse navbar-collapse">
- {% include "actions.html" %}
- </div>
+ <a class="navbar-brand" href="/">
+ <img src="{{STATIC_URL}}media/images/ishtar-blason.svg"
+ width="30" height="30" alt="">
+ </a>
+ {% include "actions.html" %}
+ <button class="navbar-toggler" type="button"
+ data-toggle="collapse" data-target="#navbar-actions"
+ aria-controls="navbar-actions" aria-expanded="false"
+ aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse justify-content-end" id="navbar-actions">
<ul class="navbar-nav">
{% if APP_NAME %}
<li class="nav-item">
@@ -51,5 +54,6 @@
</li>
{% endif %}
</ul>
+ </div>
{% endblock %}
</header>