1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199{%- if locale is not defined -%}
{%- set locale = app.request.locale -%}
{%- endif -%}
<!DOCTYPE html>
<html id="agate" lang="{{ app.request.locale|default(app.request.defaultLocale)|default('fr') }}" {% block html_params %}{% endblock %}>
<head>
{%- apply spaceless %}
<meta charset="utf-8">
<title>
{% block title %}
{%- if title is defined -%}
{{- title ~ ' ' -}}
{%- if title != 'Esteren' -%}
- Esteren
{%- endif -%}
{%- else -%}
Esteren
{%- endif -%}
{% endblock %}
</title>
<meta name="generator" content="Pierstoval"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% block more_headers %}{% endblock %}
{% block stylesheets %}
{{ encore_entry_link_tags('style_global') }}
{{ encore_entry_link_tags('initializer') }}
{{ encore_entry_link_tags('fa') }}
{% endblock %}
{{ include('_favicons.html.twig') }}
{% endapply -%}
</head>
<body {% block body_params %}{% endblock %}>
{% block body %}
<div id="wrapper" class="{% block wrapper_class %}{% endblock %}">
{% block layout %}
{% block menus %}
{% apply spaceless %}
<nav id="main_navigation" role="navigation">
<div class="nav-wrapper container blue-text">
{% block menu_brand_link %}
<a href="{{ path('root') }}" class="brand-logo position-static left" title="{{ 'links.home' | trans }}">
<img id="esteren_logo" src="{{ asset('build/Esteren_logo_400.png') }}" alt="{{ 'links.home' | trans }}">
</a>
{% endblock %}
{% block menu_left %}
<ul class="left hide-on-med-and-down">
{% block menu_left_content %}{% endblock %}
</ul>
{% endblock %}
{% block menu_right %}
<ul class="right hide-on-med-and-down">
{% block menu_right_content %}
{{ include('_menu_right.html.twig', {'dropdown': false}) }}
{% endblock %}
</ul>
{% endblock %}
{% block menu_mobile %}
<ul id="nav-mobile" class="sidenav">
{% block menu_mobile_content %}
{{ block('menu_left_content') }}
{{ include('_menu_right.html.twig', {'dropdown': false}) }}
{% endblock %}
</ul>
{% endblock %}
{% if block('menu_mobile')|trim|length %}
<a href="#" id="nav-mobile-link" data-target="nav-mobile" class="button-collapse sidenav-trigger right" title="{{ 'links.menu'|trans }}">
<i class="fa fa-bars text-white"></i> Menu
</a>
{% endif %}
</div>
</nav>
{% endapply %}
{% endblock %}
<div id="layout">
<div id="content" class="{% block content_layout_class %}container{% endblock %}">
{% block flash_messages %}
{{ include('_flash_messages.html.twig') }}
{% endblock %}
{% block content_for_layout %}{% endblock %}
</div><!--/#content-->
</div><!--/#layout-->
{# FOOTER #}
{% block footer %}
{% apply spaceless %}
<footer id="page-footer">
<div class="container">
<div class="row">
<div class="col l6 s12" id="footer-about">
{# Margin is half the margin of the h2 tag at the bottom-right of the footer -#}
{%- block footer_about %}{% endblock -%}
</div>
<div class="col l4 offset-l2 s12">
<h2>{{ 'footer.links'|trans }}</h2>
<ul>
{% block footer_links_content %}{% endblock %}
</ul>
{% block footer_social_networks %}
<h2>{{ 'footer.social_networks'|trans }}</h2>
<ul>
{% block footer_social_networks_content %}{% endblock %}
</ul>
{% endblock %}
</div>
</div>
</div>
<div class="footer-copyright">
<div class="container">
<p class="left">
{{ 'footer.version_text'|trans({
'%version%': version_code|replace({'v':''}),
'%version_date%': version_date|format_datetime('medium', 'short', locale=app.request.locale)
})|raw }}
<br>
{{ 'footer.full_text'|trans({
'%year%': 'now'|date('Y'),
'%more%': '',
})|raw }}
</p>
<p class="right light">
{% block footer_locales %}
{%- set route_name = app.request.attributes.get('_route') -%}
{%- set route_params = app.request.attributes.get('_route_params', {}) -%}
{%- if route_name -%}
{%- for loc in locales %}
{%- if loc == locale -%}
<span class="locale-link">
<img class="change-language-flag" src="{{ asset('build/agate/flags/'~loc~'.svg') }}" alt="">
{{- loc | trans({}, 'Languages') -}}
</span>
{%- else -%}
<a class="locale-link" href="{{ path(route_name, (route_params | merge({'_locale':loc})) ) }}">
<img class="change-language-flag" src="{{ asset('build/agate/flags/'~loc~'.svg') }}" alt="">
{{ loc | trans({}, 'Languages') }}
</a>
{%- endif -%}
{%- if not loop.last %} – {% endif -%}
{%- endfor -%}
{%- endif -%}
{% endblock %}
</p>
<div class="clear"></div>
</div>
</div>
</footer>
{% endapply %}
{% endblock %}
{% endblock %}
</div><!--/#wrapper-->
{% endblock %}
{% block javascripts %}
<script type="text/javascript" src="{{ path('pierstoval_tools_assets_jstranslations', {'_locale': app.request.locale}) }}"></script>
{{ encore_entry_script_tags('global') }}
{% endblock %}
<script type="text/javascript">
{% if app.environment == 'prod' and app.debug == false %}
(function(f, a, t, h, o, m){
a[h]=a[h]||function(){(a[h].q=a[h].q||[]).push(arguments)};o=f.createElement('script'),m=f.getElementsByTagName('script')[0];o.async=1; o.src=t; o.id='fathom-script';m.parentNode.insertBefore(o,m);
})(document, window, '//{{ agate_domains_stats }}/tracker.js', 'fathom');
fathom('set', 'siteId', '{{ fathom_site_id }}');
fathom('trackPageview');
{% else %}
fathom=function(){};
{% endif %}
</script>
</body>
</html>