layout content position for fullwidth pages

This commit is contained in:
Mathieu Jaumotte 2021-07-22 22:19:27 +02:00
parent c9562ebdf7
commit 7ac61002b0
6 changed files with 93 additions and 101 deletions

View File

@ -20,7 +20,7 @@
{% block title title|trans %} {% block title title|trans %}
{% block content %} {% block content %}
<div class="search-list my-5"> <div class="col-md-10 col-xxl search-list">
<h1>{{ title|trans }}</h1> <h1>{{ title|trans }}</h1>

View File

@ -19,7 +19,7 @@
{% set _search_pattern = pattern %} {% set _search_pattern = pattern %}
{% block content %} {% block content %}
<div class="search-list my-5"> <div class="col-md-10 col-xxl search-list">
<p class="error">{{ message }}</p> <p class="error">{{ message }}</p>

View File

@ -21,7 +21,7 @@
{% block title %}{{ 'Search %pattern%'|trans({ '%pattern%' : pattern }) }}{% endblock title %} {% block title %}{{ 'Search %pattern%'|trans({ '%pattern%' : pattern }) }}{% endblock title %}
{% block content %} {% block content %}
<div class="search-list my-5"> <div class="col-md-10 col-xxl search-list">
{% for result in results %} {% for result in results %}
{{ result|raw }} {{ result|raw }}

View File

@ -47,6 +47,5 @@
{{ form_end(form) }} {{ form_end(form) }}
</div> </div>
{% endblock content %} {% endblock content %}

View File

@ -19,10 +19,7 @@
{% block title %}{{ 'Alreay existing person'|trans }}{% endblock title %} {% block title %}{{ 'Alreay existing person'|trans }}{% endblock title %}
{% block content %} {% block content %}
<div class="person-new col-12 my-5"> <div class="col-md-10 col-xxl person-new">
<div class="row justify-content-center">
<div class="col-md-10 col-xxl">
<div class="alert alert-warning flash_message"> <div class="alert alert-warning flash_message">
<span> <span>
@ -90,7 +87,5 @@
{{ form_end(form) }} {{ form_end(form) }}
</div> </div>
</div>
</div>
</div> </div>
{% endblock content %} {% endblock content %}

View File

@ -36,11 +36,9 @@
{% endblock %} {% endblock %}
{% else %} {% else %}
{% block content %} {% block content %}
<div class="col-md-10 col-xxl"> <div class="col-md-10 col-xxl tasks">
<div class="tasks my-5">
{% include 'ChillTaskBundle:SingleTask:_list.html.twig' %} {% include 'ChillTaskBundle:SingleTask:_list.html.twig' %}
</div> </div>
</div>
{% endblock %} {% endblock %}
{% endif %} {% endif %}
{% endblock %} {% endblock %}