ajout du logo au milieu de la navbar

This commit is contained in:
deed 2019-07-23 16:03:51 +02:00
parent 7538d622dc
commit 1996bb0eb5

View file

@ -21,7 +21,7 @@
<div class="navbar-dropdown"> <div class="navbar-dropdown">
{% for c in e.children %} {% for c in e.children %}
{% if c.is_separator %}<hr class="navbar-divider">{% else %} {% if c.is_separator %}<hr class="navbar-divider">{% else %}
<a class="navbar-item" href="{% if c.add_locale %}/{{ current_lang_code }}{% endif %}{{ c.localized_link }}"{% if c.new_window %} target="_blank"{% endif %}{% if c.description.description %} title="{{ c.description.description }}"{% endif %}> <a class="navbar-item" href="{% if c.add_locale %}/{{ current_lang_code }}{% endif %}{{ c.localized_link }}"{% if c.new_window %} target="_blank"{% endif %}{% if c.description.description %} data-toggle="popover" title="{{ c.description.description }}"{% endif %}>
<span> <span>
<span><img src="{% static c.icon_path %}" alt="" /></span> <span><img src="{% static c.icon_path %}" alt="" /></span>
<span>{{ c }}</span> <span>{{ c }}</span>
@ -36,6 +36,9 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</div> </div>
<div class="navbar-item is-logo">
<a class="navbar-item" href="{% url 'index' %}"><img src="{% static "khaganat/images/icon_khaganat.png" %}" alt="Khaganat"></a>
</div>
<div class="navbar-end"> <div class="navbar-end">
{% if user.is_authenticated %} {% if user.is_authenticated %}
<div class="navbar-item has-dropdown is-hoverable"> <div class="navbar-item has-dropdown is-hoverable">