Corrige le look de la navbar du wiki
This commit is contained in:
parent
e8db9f46a6
commit
69d34e5a44
1 changed files with 35 additions and 42 deletions
|
@ -11,49 +11,42 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block wiki_header_navlinks %}
|
{% block wiki_header_navlinks %}
|
||||||
<ul class="nav navbar-nav">
|
<ul class="navbar-nav mr-auto">
|
||||||
<li class="active"><a href="{% url 'wiki:root' %}">Accueil</a></li>
|
<li class="nav-item">
|
||||||
|
<a class="nav-link text-primary" href="{% url 'wiki:root' %}">Accueil</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="navbar-right">
|
<div class="navbar-right">
|
||||||
<ul class="nav navbar-nav">
|
<ul class="navbar-nav">
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
<li class="dropdown">
|
<li class="nav-item dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
<a class="nav-link dropdown-toggle" href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||||
{% trans "Paramètres de compte" %}
|
{% trans "Paramètres de compte" %}
|
||||||
<b class="caret"></b>
|
|
||||||
</a>
|
</a>
|
||||||
<ul class="dropdown-menu">
|
<div class="dropdown-menu">
|
||||||
<li>
|
<a class="dropdown-item" href="{% url "account_email" %}">
|
||||||
<a href="{% url "account_email" %}">
|
|
||||||
<i class="fa fa-envelope"></i>
|
<i class="fa fa-envelope"></i>
|
||||||
{% trans "Email" %}
|
{% trans "Email" %}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
<a class="dropdown-item" href="{% url "account_change_password" %}">
|
||||||
<li>
|
|
||||||
<a href="{% url "account_change_password" %}">
|
|
||||||
<i class="fa fa-lock"></i>
|
<i class="fa fa-lock"></i>
|
||||||
{% trans "Mot de passe" %}
|
{% trans "Mot de passe" %}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
<a class="dropdown-item" href="{% url "socialaccount_connections" %}" title="Clipper…">
|
||||||
<li>
|
|
||||||
<a href="{% url "socialaccount_connections" %}" title="Clipper…">
|
|
||||||
<i class="fa fa-sign-in"></i>
|
<i class="fa fa-sign-in"></i>
|
||||||
{% trans "Connexions par tiers" %}
|
{% trans "Connexions par tiers" %}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
<div class="dropdown-divider"></div>
|
||||||
<li class="divider"></span>
|
<a class="dropdown-item" href="{% url "account_logout" %}">
|
||||||
<li>
|
|
||||||
<a href="{% url "account_logout" %}">
|
|
||||||
<i class="fa fa-power-off"></i>
|
<i class="fa fa-power-off"></i>
|
||||||
{% trans "Déconnexion" %}
|
{% trans "Déconnexion" %}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</div>
|
||||||
</ul>
|
|
||||||
</li>
|
</li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li>
|
<li class="nav-item">
|
||||||
<a href="{% url "account_signup" %}">{% trans "Sign Up" %}</a>
|
<a class="nav-link" href="{% url "account_signup" %}">{% trans "Sign Up" %}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue