kpsul/gestioncof/cms/templates/cofcms/base.html

56 lines
2.3 KiB
HTML
Raw Normal View History

2018-02-03 22:34:37 +01:00
{% load static menu_tags wagtailuserbar i18n wagtailcore_tags %}
<!doctype html>
<html>
<head>
<meta charset="utf-8">
2020-03-29 16:11:02 +02:00
<title>{% block title %}{% trans "Association des élèves de l'ENS Ulm" %}{% endblock %}</title>
<link rel="stylesheet" type="text/css" href="{% static "fonts/CarterOne/carterOne.css" %}"/>
<link rel="stylesheet" type="text/css" href="{% static "fonts/SourceSansPro/sourceSansPro.css" %}"/>
<link rel="stylesheet" type="text/css" href="{% static "cofcms/css/screen.css" %}"/>
{% block extra_head %}{% endblock %}
2020-03-29 15:36:47 +02:00
<meta name="viewport" content="width=device-width, initial-scale=1.0; minimum-scale=1.0;">
</head>
<body>
2018-01-28 19:09:56 +01:00
<header id="header">
<section class="top-menu">
<h1 class="cof"><a href="/">COF</a></h1>
2018-01-28 19:09:56 +01:00
<a class="minimenu" href="javascript:void(0)" onclick="document.getElementById('header').classList.toggle('expanded');"><img src="{% static "cofcms/images/minimenu.svg" %}"></a>
<nav>
{% flat_menu "cof-nav-ext" template="cofcms/base_nav.html" %}
</nav>
</section>
<section class="bottom-menu">
<nav>
{% flat_menu "cof-nav-int" template="cofcms/base_nav.html" apply_active_classes=True %}
2018-02-03 22:34:37 +01:00
{% get_current_language as curlang %}
<div class="lang-select">
{% if curlang == 'en' %}
{% language 'fr' %}
<a href="{% pageurl self %}" title="Français"><img src="{% static "cofcms/images/fr.png" %}"></a>
{% endlanguage %}
{% else %}
{% language 'en' %}
<a href="{% pageurl self %}" title="English"><img src="{% static "cofcms/images/en.png" %}"></a>
{% endlanguage %}
{% endif %}
</div>
</nav>
</section>
</header>
<div class="container">
{% block superaside %}{% endblock %}
<div class="content">
{% block content %}{% endblock %}
</div>
</div>
{% wagtailuserbar %}
</body>
</html>