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 ref="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" size="{{ 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 {% stylesheet '@rapsys_air_bundle/css/{reset,irishgrover,labelleaurore,screen}.css' %}
26 <link rel="stylesheet" type="text/css" href="{{ asset_url }}" />
29 {% block javascripts %}
30 {#{% javascript '@RapsysAir/js/*.js' %}
31 <script type="text/javascript" src="{{ asset_url }}"></script>
34 {% block title %}{{ title }}{% endblock %}
38 {% block header_title %}<h1><a href="{{ site_url }}"><img src="{{ asset(site_logo) }}" alt="{{ site_title }}" /></a></h1>{% endblock %}
39 {% block header_nav %}
41 <h2>{% trans %}Navigation{% endtrans %}</h2>
42 <a href="{{ path('rapsys_air_location') }}">{% trans %}Locations{% endtrans %}</a>
43 <a href="{{ path('rapsys_air_user') }}">{% trans %}Users{% endtrans %}</a>
44 <a href="{{ path('rapsys_air_contact') }}">{% trans %}Contact{% endtrans %}</a>
45 <a href="{{ path('rapsys_air_policy') }}">{% trans %}Policy{% endtrans %}</a>
46 {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
47 <a href="{{ path('rapsys_user_logout') }}">{% trans %}Logout{% endtrans %}</a>
49 <a href="{{ path('rapsys_user_login') }}">{% trans %}Login{% endtrans %}</a>
50 <a href="{{ path('rapsys_user_register') }}">{% trans %}Register{% endtrans %}</a>
55 {% block site_subtitle %}{% endblock %}
56 {% block site_tagline %}
57 {% if tags is defined and tags %}
59 {% for id, tag in tags %}
60 <li><h2><a href="#{{id}}">{{tag}}</a></h2></li>
69 {# pass an array argument to get the messages of those types (['warning', 'error']) #}
70 {% for label, messages in app.flashes %}
72 <div class="flash {{label}}">
74 {% for message in messages %}
75 <li>{{ message }}</li>
83 {% block sidebar %}<aside id="sidebar"></aside>{% endblock %}
86 <section id="content">
87 <h2><a href="{{ path('rapsys_air_homepage') }}">{{ section }}</a></h2>
88 <p>{% trans %}Outdoor space reservation system{% endtrans %}</p>
94 <details><summary>{{ copy_long }}</summary><span>{{ copy_short }}</span></details>