]> git.agnieray.net Git - galette.git/blob - galette/templates/default/page.html.twig
d65b64e99d1c687400a188d568a5bac6eb4d5570
[galette.git] / galette / templates / default / page.html.twig
1 <!DOCTYPE html>
2
3 <html lang="{{ galette_lang }}"{% if i18n.isRtl() %} dir="rtl"{% endif %}>
4 <head>
5 {% include 'elements/header.html.twig' with {
6 galette_lang: galette_lang
7 } %}
8 </head>
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' %}
12 <div class="pusher">
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' %}
16 {% endif %}
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>
24 </div>
25 </div>
26 <h1 class="ui block center aligned header" style="position: relative">
27 {% else %}
28 <div class="ui horizontal basic segments header">
29 <div class="ui center aligned segment">
30 <h1>
31 {% endif %}
32 {% block page_title %}{{ page_title }}{% endblock %}
33 </h1>
34 {% if login.isLogged() %}
35 </div>
36 <div class="ui right aligned compact segment">
37 <div class="ui compact tiny menu">
38 {% if cur_route != 'mailing' and existing_mailing == true %}
39 <a
40 id="recup_mailing"
41 href="{{ url_for("mailing") }}"
42 class="ui blue tooltip item"
43 title="{{ _T("A mailing exists in the current session. Click here if you want to resume or cancel it.") }}"
44 data-position="bottom right"
45 >
46 <i class="paper plane outline blue icon" aria-hidden="true"></i>
47 <span class="displaynone">{{ _T("Existing mailing") }}</span>
48 </a>
49 {% endif %}
50 {% include "elements/language.html.twig" with {
51 ui: "dropdown"
52 } %}
53 </div>
54 </div>
55 </div>
56 {% endif %}
57 <div class="main-content">
58 {% include "elements/messages_inline.html.twig" %}
59 {% block content %}{{ _T('Page content') }}{% endblock %}
60 </div>
61 {% include "elements/footer.html.twig" %}
62 </section>
63 </div>
64 </div>
65 <a href="#" id="back2top" class="circular big ui icon button" title="{{ _T("Back to top") }}">
66 <i class="arrow up icon" aria-hidden="true"></i>
67 </a>
68 {% include "elements/scripts.html.twig" %}
69 {% block javascripts %}{% endblock %}
70 </body>
71 </html>