3 <html lang="{{ galette_lang }}"{% if i18n.isRtl() %} dir="rtl"{% endif %}>
5 {% include 'elements/header.html.twig' with {
6 galette_lang: galette_lang
9 <body id="galette_body" class="pushable dimmable{% if login.isLogged() %} loggedin{% endif %} nojs">
10 {% include 'elements/navigation/navigation_sidebar.html.twig' %}
11 {% include 'elements/navigation/navigation_topbar.html.twig' %}
13 <div id="main" class="{% if not login.isLogged() %}container{% else %} full height{% if i18n.isRtl() %} rtl{% endif %}{% endif %}">
14 {% if login.isLogged() %}
15 {% include 'elements/navigation/navigation_aside.html.twig' %}
17 <section class="content{% if contentcls is defined %} {{ contentcls }}{% endif %}{% if login.getCompactMenu() %} extended{% endif %}">
18 {% if not login.isLogged() %}
19 <div class="ui basic center aligned fitted segment">
20 <img src="{{ url_for("logo") }}" width="{{ logo.getOptimalWidth() }}" height="{{ logo.getOptimalHeight() }}" alt="{{ preferences.pref_nom }}" class="icon"/>
21 <div class="ui large header">
22 {{ preferences.pref_nom }}
23 <div class="sub header">{% if preferences.pref_slogan %}{{ __(preferences.pref_slogan) }}{% endif %}</div>
26 <h1 class="ui block center aligned header" style="position: relative">
28 <div class="ui horizontal basic segments header">
29 <div class="ui left aligned segment">
31 <div class="ui center aligned segment">
34 {% block page_title %}{{ page_title }}{% endblock %}
36 {% if login.isLogged() %}
38 <div class="ui right aligned segment">
39 <div class="ui compact tiny menu">
40 {% if cur_route != 'mailing' and existing_mailing == true %}
43 href="{{ url_for("mailing") }}"
44 class="ui blue tooltip item"
45 title="{{ _T("A mailing exists in the current session. Click here if you want to resume or cancel it.") }}"
46 data-position="bottom right"
48 <i class="paper plane outline blue icon"></i>
49 <span class="displaynone">{{ _T("Existing mailing") }}</span>
52 {% include "elements/language.html.twig" with {
59 <div class="main-content">
60 {% include "elements/messages_inline.html.twig" %}
61 {% block content %}{{ _T('Page content') }}{% endblock %}
63 {% include "elements/footer.html.twig" %}
67 <a href="#" id="back2top" class="ui basic icon button">
68 <i class="arrow up icon"></i>
69 {{ _T("Back to top") }}
71 {% include "elements/scripts.html.twig" %}
72 {% block javascripts %}{% endblock %}