From b11a0fabd5f6653e057c1bc616ef7702d39974f7 Mon Sep 17 00:00:00 2001 From: Olimpia Magliulo <olimpiam@intern-ikts-MacBook-Air.local> Date: Tue, 7 Nov 2017 14:49:37 +0100 Subject: [PATCH] Use grids to style the other elements in the base template Each element is defined with an id. it has its own wrap and a "row". --- templates/base.twig | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/templates/base.twig b/templates/base.twig index 1189c43e5..2ba07faed 100644 --- a/templates/base.twig +++ b/templates/base.twig @@ -26,7 +26,24 @@ </div> </div> - </div><!-- #wrap --> +<div id="wrap"> <!-- content --> + <div class="pure-g"> + <div class="pure-u-1"> + {% block contentwrapper %} + {% block content %}{% endblock %} + {% endblock %} + </div> + </div> +</div> +<div id="footer"> + <div id="wrap" > <!-- footer --> + <div class="pure-g"> + <div class="pure-u-1"> + {% block footer %}{% include "_footer.twig" %}{% endblock %} + </div> + </div> + </div> +</div> <!-- postload javascript --> <script type="text/javascript" src="/{{ baseurlpath }}assets/js/src/script.js"></script> -- GitLab