{# * Copyright (C) 2014-2015, Champs Libres Cooperative SCRLFS, / * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . #} {# The basic layout of Chill. All the page / template of Chill must use this template. #} {{ installation.name }} - {% block title %}{% endblock %} {% stylesheets output="css/all.css" filter="cssrewrite" "bundles/chillmain/css/scratch.css" "bundles/chillmain/css/chillmain.css" "bundles/chillmain/css/select2/select2.css" "bundles/chillmain/fonts/OpenSans/OpenSans.css" "bundles/chillmain/css/pikaday.css" %} {% endstylesheets %} {% block css%}{% endblock %} {% block top_banner %}{# To use if you want to add a banner below the header (ie the menu) #}{% endblock %}
{% block sublayout_containter %}
{# Flash messages ! #} {% for flashMessage in app.session.flashbag.get('success') %}
{{ flashMessage|raw }}
{% endfor %} {% for flashMessage in app.session.flashbag.get('error') %}
{{ flashMessage|raw }}
{% endfor %} {% for flashMessage in app.session.flashbag.get('info') %}
{{ flashMessage|raw }}
{% endfor %} {% block content %}

{{ 'Search'|trans }}

{{ chill_delegated_block('homepage', {} ) }}
{{ chill_menu('homepage', { 'layout': 'ChillMainBundle::Menu/homepage.html.twig', }) }}
{% endblock %}
{% endblock %}

{{ 'This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License'|trans|raw }}
{{ 'User manual'|trans }}

{% javascripts output="js/libs.js" "bundles/chillmain/js/jquery.js" "bundles/chillmain/js/moment.js" "bundles/chillmain/js/pikaday/pikaday.js" "bundles/chillmain/js/select2/select2.js" "bundles/chillmain/js/pikaday/plugins/pikaday.jquery.js" "bundles/chillmain/js/chill.js" %} {% endjavascripts %} {% block js%}{% endblock %}