2020-05-16 02:12:21 +02:00
|
|
|
{% load static %}
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
<div class="nav">
|
|
|
|
<div class="uk-container">
|
|
|
|
<nav class="uk-navbar uk-navbar-container uk-navbar-transparent">
|
|
|
|
<div class="uk-navbar-left">
|
|
|
|
<div class="uk-navbar-item uk-padding-remove-horizontal">
|
|
|
|
<a class="uk-logo uk-border-rounded" title="Logo" href="{% url 'gnous_eu:index' %}">
|
2021-08-02 17:32:41 +02:00
|
|
|
<img src="{% static 'images/gnous.svg' %}" alt="Logo" width="42" height="42">
|
2020-05-16 02:12:21 +02:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<ul class="uk-navbar-nav uk-visible@s">
|
|
|
|
<li>
|
|
|
|
<a href="{% url 'gnous_eu:index' %}"
|
|
|
|
class="uk-text-bolder {% if request.resolver_match.url_name == 'index' %} active {% endif %}">
|
|
|
|
{% trans "Accueil" %}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{% url 'gnous_eu:services' %}"
|
|
|
|
class="uk-text-bolder {% if request.resolver_match.url_name == 'services' %} active {% endif %}">
|
|
|
|
{% trans "Services" %}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="uk-navbar-right">
|
|
|
|
<ul class="uk-navbar-nav uk-visible@s">
|
|
|
|
<li>
|
|
|
|
<a href="{% url 'gnous_eu:about' %}"
|
|
|
|
class="uk-text-bolder {% if request.resolver_match.url_name == 'about' %} active {% endif %}">
|
|
|
|
{% trans "À propos" %}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{% url 'gnous_eu:tips' %}"
|
|
|
|
class="uk-text-bolder {% if request.resolver_match.url_name == 'tips' %} active {% endif %}">
|
|
|
|
{% trans "Donner" %}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div class="uk-navbar-item uk-visible@s">
|
2020-05-16 15:36:00 +02:00
|
|
|
<form action="{% url 'set_language' %}" method="post">
|
2020-05-16 02:12:21 +02:00
|
|
|
{% csrf_token %}
|
|
|
|
{% get_current_language as LANGUAGE_CODE %}
|
|
|
|
{% if LANGUAGE_CODE == 'en' %}
|
2020-05-16 15:36:00 +02:00
|
|
|
<button type="submit" style="background: transparent; border: none">
|
2021-05-07 14:45:59 +02:00
|
|
|
<img src="{% static 'images/icons/fr.svg' %}" alt="fr" width="18">
|
2020-05-16 15:36:00 +02:00
|
|
|
</button>
|
2020-05-16 02:12:21 +02:00
|
|
|
<input type="hidden" name="language" value="fr">
|
|
|
|
{% else %}
|
2020-05-16 15:36:00 +02:00
|
|
|
<button type="submit" style="background: transparent; border: none">
|
2021-05-07 14:45:59 +02:00
|
|
|
<img src="{% static 'images/icons/en.svg' %}" alt="en" width="18">
|
2020-05-16 15:36:00 +02:00
|
|
|
</button>
|
2020-05-16 02:12:21 +02:00
|
|
|
<input type="hidden" name="language" value="en">
|
|
|
|
{% endif %}
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
2020-06-19 01:36:29 +02:00
|
|
|
<a class="uk-navbar-toggle uk-navbar-item uk-hidden@s">
|
|
|
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" data-svg="navbar-toggle-icon">
|
|
|
|
<rect y="9" width="20" height="2"></rect>
|
|
|
|
<rect y="3" width="20" height="2"></rect>
|
|
|
|
<rect y="15" width="20" height="2"></rect>
|
|
|
|
</svg>
|
2020-05-16 02:12:21 +02:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</div>
|
2021-05-07 14:45:59 +02:00
|
|
|
</div>
|