1 {% extends '@RapsysAir/base.html.twig' %}
3 <meta charset="UTF-8" />
5 {% block stylesheets %}
6 <meta name="viewport" content="width=device-width, initial-scale=1" />
7 <link rel="shortcut icon" type="image/x-icon" href="{{ asset(site_ico) }}" />
8 <link rel="icon" type="image/svg+xml" href="{{ asset(site_svg) }}" />
9 {% for size, icon in site_png %}
11 {% if size in [152, 167, 180] %}
13 <link rel="apple-touch-icon" href="{{ asset(icon) }}" />
15 <link rel="apple-touch-icon" sizes="{{ size }}x{{ size }}" href="{{ asset(icon) }}" />
17 {% elseif size in [70, 150, 310] %}
18 <meta name="msapplication-square{{ size }}x{{ size }}logo" content="{{ asset(icon) }}" />
21 <link rel="icon" type="image/png" sizes="{{ size }}x{{ size }}" href="{{ asset(icon) }}" />
24 {# stylesheet '//fonts.googleapis.com/css?family=Irish+Grover' '//fonts.googleapis.com/css?family=La+Belle+Aurore' '@RapsysAirBundle/Resources/public/css/{reset,screen}.css' #}
25 {% stopwatch 'stylesheet' %}
26 {% stylesheet '@rapsys_air_bundle/css/{reset,droidsans,screen}.css' %}
27 <link rel="stylesheet" type="text/css" href="{{ asset_url }}" />
31 {% block javascripts %}
32 {% stopwatch 'javascript' %}
33 {#{% javascript '@RapsysAir/js/*.js' %}
34 <script type="text/javascript" src="{{ asset_url }}"></script>
38 {% block title %}{{ title }}{% endblock %}
42 {% block header_title %}<h1><a href="{{ site_url }}"><img src="{{ asset(site_logo) }}" alt="{{ site_title }}" /></a></h1>{% endblock %}
43 {% block header_nav %}
45 <h2>{% trans %}Navigation{% endtrans %}</h2>
46 <a href="{{ path('rapsys_air_session') }}">{% trans %}Sessions{% endtrans %}</a>
47 <a href="{{ path('rapsys_air_user') }}">{% trans %}Users{% endtrans %}</a>
48 <a href="{{ path('rapsys_air_contact') }}">{% trans %}Contact{% endtrans %}</a>
49 <a href="{{ path('rapsys_air_regulation') }}">{% trans %}Regulation{% endtrans %}</a>
50 {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
51 <a href="{{ path('rapsys_user_logout') }}">{% trans %}Logout{% endtrans %}</a>
53 <a href="{{ path('rapsys_user_login') }}">{% trans %}Login{% endtrans %}</a>
54 <a href="{{ path('rapsys_user_register') }}">{% trans %}Register{% endtrans %}</a>
59 {% block site_subtitle %}{% endblock %}
60 {% block site_tagline %}
61 {% if tags is defined and tags %}
63 {% for id, tag in tags %}
64 <li><h2><a href="#{{id}}">{{tag}}</a></h2></li>
73 {# pass an array argument to get the messages of those types (['warning', 'error']) #}
74 {% for label, messages in app.flashes %}
76 <div class="message {{label}}">
78 {% for message in messages %}
79 <li>{{ message }}</li>
87 {% block sidebar %}<aside id="sidebar"></aside>{% endblock %}
90 <section id="content">
91 <h2><a href="{{ path('rapsys_air_homepage') }}">{{ section }}</a></h2>
92 <p>{% trans %}Outdoor space reservation system{% endtrans %}</p>
98 <details><summary>{{ copy_long }}</summary><span>{{ copy_short }}</span></details>