improve layout classes

This commit is contained in:
2021-07-22 22:09:31 +02:00
parent 0cd9dc6028
commit c9562ebdf7
7 changed files with 84 additions and 84 deletions

View File

@@ -39,20 +39,21 @@
<body>
{{ include('@ChillMain/Layout/_header.html.twig') }}
{% block top_banner %}{#
To use if you want to add a banner below the header (ie the menu)
{% block top_banner %}{#
To use if you want to add a banner below the header (ie the menu)
#}{% endblock %}
<div class="content" id="content">
{% block sublayout_content %}
<div class="container-xxl">
<div class="row justify-content-center">
{% block sublayout_content %}
<div class="row justify-content-center my-5">
{# Flash messages ! #}
{% if app.session.flashbag.all()|length > 0 %}
<div class="col-8 mt-5 flash_message">
<div class="col-8 mb-5 flash_message">
{% for flashMessage in app.session.flashbag.get('success') %}
<div class="col-8 alert alert-success flash_message">
<span>{{ flashMessage|raw }}</span>
@@ -75,13 +76,13 @@
{% endif %}
{% block content %}
<div class="col-8 mt-5 main_search">
<div class="col-8 main_search">
<h2>{{ 'Search'|trans }}</h2>
<form action="{{ path('chill_main_search') }}" method="get">
<input class="form-control form-control-lg" name="q" type="search" placeholder="{{ 'Search persons, ...'|trans }}" />
<center>
<button type="submit" class="btn btn-lg btn-warning mt-2">
<button type="submit" class="btn btn-lg btn-warning mt-3">
<i class="fa fa-fw fa-search"></i> {{ 'Search'|trans }}
</button>
</center>
@@ -90,9 +91,11 @@
{{ chill_widget('homepage', {} ) }}
{% endblock %}
</div>
{% endblock %}
</div>
{% endblock %}
</div>
{{ include('@ChillMain/Layout/_footer.html.twig') }}