]> Raphaël G. Git Repositories - airbundle/blob - Resources/views/base.html.twig
Add RegisterType form with phone field extension
[airbundle] / Resources / views / base.html.twig
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="UTF-8" />
5 <title>{% block title %}{{ title }}{% endblock %}</title>
6 <meta name="viewport" content="width=device-width, initial-scale=1" />
7 {% block stylesheet %}
8 {% stylesheet '//fonts.googleapis.com/css?family=Irish+Grover' '//fonts.googleapis.com/css?family=La+Belle+Aurore' '@RapsysAirBundle/Resources/public/css/{reset,screen}.css' %}
9 <link href="{{ asset_url }}" type="text/css" rel="stylesheet" />
10 {% endstylesheet %}
11 {% endblock %}
12 <!--{% block javascript %}
13 {% javascript '@RapsysAirBundle/Resources/public/js/*.js' %}
14 <script src="{{ asset_url }}"></script>
15 {% endjavascript %}
16 {% endblock %}-->
17 <link rel="icon" type="image/png" href="{{ asset('bundles/rapsysair/png/favicon.png') }}" sizes="192x192" />
18 <link rel="shortcut icon" type="image/x-icon" href="{{ asset('bundles/rapsysair/ico/favicon.ico') }}" />
19 </head>
20 {% block body %}
21 <body>
22 {% block header %}
23 <header id="header">
24 {% block header_title %}
25 {% block blog_title %}<h1><a href="{{ path('rapsys_air_homepage') }}"><img src="{{ asset('bundles/rapsysair/png/logo.png') }}" alt="{% trans %}Open Air{% endtrans %}" /></a></h1>{% endblock %}
26 {% block header_nav %}
27 <nav>
28 <h2>{% trans %}Navigation{% endtrans %}</h2>
29 <a href="{{ path('rapsys_air_admin') }}">{% trans %}Admin{% endtrans %}</a>
30 <a href="{{ path('rapsys_air_contact') }}">{% trans %}Contact{% endtrans %}</a>
31 {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
32 <a href="{{ path('rapsys_user_logout') }}">{% trans %}Logout{% endtrans %}</a>
33 {% else %}
34 <a href="{{ path('rapsys_user_register') }}">{% trans %}Register{% endtrans %}</a>
35 {% endif %}
36 </nav>
37 {% endblock %}
38 {% block blog_subtitle %}{% endblock %}
39 {% block blog_tagline %}
40 {% if tags is defined and tags %}
41 <ul>
42 {% for id, tag in tags %}
43 <li><h2><a href="#">Tag</a></h2></li>
44 {% endfor %}
45 </ul>
46 {% endif %}
47 {% endblock %}
48 {% endblock %}
49 </header>
50 {% endblock %}
51
52 {# pass an array argument to get the messages of those types (['warning', 'error']) #}
53 {% for label, messages in app.flashes %}
54 {% if messages %}
55 <div class="flash {{label}}">
56 <ul>
57 {% for message in messages %}
58 <li>{{ message }}</li>
59 {% endfor %}
60 </ul>
61 </div>
62 {% endif %}
63 {% endfor %}
64
65 {% block sidebar %}<aside id="sidebar"></aside>{% endblock %}
66
67 {% block content %}<section id="content"></section>{% endblock %}
68
69 {% block footer %}
70 <footer id="footer">
71 <span>&nbsp;</span>
72 <details><summary>{% trans %}Raphaël Gertz all rights reserved{% endtrans %}</summary><span>{% trans %}Copyright 2018{% endtrans %}.</span></details>
73 <span>&nbsp;</span>
74 </footer>
75 {% endblock %}
76 </body>
77 {% endblock %}
78 </html>