summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/templates/base.html')
-rw-r--r--ishtar_common/templates/base.html65
1 files changed, 1 insertions, 64 deletions
diff --git a/ishtar_common/templates/base.html b/ishtar_common/templates/base.html
index 06322da04..ce383ba6c 100644
--- a/ishtar_common/templates/base.html
+++ b/ishtar_common/templates/base.html
@@ -48,70 +48,7 @@
{{raw_css |safe}}</style>{% endif %}{% endcomment %}
</head>
<body{% if current_theme%} id='{{current_theme}}'{%endif%}>
- <nav 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">
- <ul class="navbar-nav">
- <li class="nav-item active">
- <a class="nav-link" href="#">Operation...</span></a>
- </li>
- </ul>
- </div>
- <ul class="navbar-nav">
- {% if APP_NAME %}
- <li class="nav-item">
- <a class="navbar-brand" href="/">{{APP_NAME}}</a>
- </li>
- {% endif %}
- {% if user.is_authenticated %}
- <li class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" data-toggle="dropdown"
- href="#" role="button" aria-haspopup="true" aria-expanded="false">{{ user.username }}</a>
- <div class="dropdown-menu dropdown-menu-right">
- <a class="dropdown-item" href="{% url 'auth_logout' %}">
- {% trans "Log out" %}
- </a>
- <a class="dropdown-item" href="{% url 'auth_password_change' %}">
- {% trans "Change password" %}
- </a>
- </div>
- </li>
- {% else %}
- <li class="nav-item">
- <a class="nav-link" href="{% url 'auth_login' %}">{% trans "Log in" %}</a>
- </li>
- {% endif %}
- {% if LANGUAGES|length > 1 %}
- <li class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" data-toggle="dropdown"
- href="#" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-flag" aria-hidden="true"></i></a>
- <form action="/i18n/setlang/" method="post" id='language_form'>
- {% csrf_token %}
- <div class="dropdown-menu dropdown-menu-right">
- {% for lang in LANGUAGES %}
- <a class="dropdown-item" href="{% url 'auth_logout' %}">
- {{ lang.1 }}
- </a>
- {% endfor %}
- {% comment %}
- <select name="language" id='language_selector'>
- <option value="">----------</option>
- <option value="{{ lang.0 }}"{% ifequal LANGUAGE_CODE lang.0 %} selected='selected'{% endifequal %}>{{ lang.1 }}</option>
- </select>
- {% endcomment %}
- </div>
- </form>
- </li>
- {% endif %}
- </ul>
- {% endblock %}
- </nav>
+ {% include "navbar.html" %}
<div class="nav-button ui-state-default ui-corner-all" id="to_bottom_arrow">
<i class="fa fa-arrow-circle-down" aria-hidden="true"></i>
</div>