mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 22:34:24 +00:00
improve layout classes
This commit is contained in:
parent
0cd9dc6028
commit
c9562ebdf7
@ -45,13 +45,14 @@
|
|||||||
#}{% endblock %}
|
#}{% endblock %}
|
||||||
|
|
||||||
<div class="content" id="content">
|
<div class="content" id="content">
|
||||||
{% block sublayout_content %}
|
|
||||||
<div class="container-xxl">
|
<div class="container-xxl">
|
||||||
<div class="row justify-content-center">
|
|
||||||
|
{% block sublayout_content %}
|
||||||
|
<div class="row justify-content-center my-5">
|
||||||
|
|
||||||
{# Flash messages ! #}
|
{# Flash messages ! #}
|
||||||
{% if app.session.flashbag.all()|length > 0 %}
|
{% 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') %}
|
{% for flashMessage in app.session.flashbag.get('success') %}
|
||||||
<div class="col-8 alert alert-success flash_message">
|
<div class="col-8 alert alert-success flash_message">
|
||||||
@ -75,13 +76,13 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="col-8 mt-5 main_search">
|
<div class="col-8 main_search">
|
||||||
<h2>{{ 'Search'|trans }}</h2>
|
<h2>{{ 'Search'|trans }}</h2>
|
||||||
|
|
||||||
<form action="{{ path('chill_main_search') }}" method="get">
|
<form action="{{ path('chill_main_search') }}" method="get">
|
||||||
<input class="form-control form-control-lg" name="q" type="search" placeholder="{{ 'Search persons, ...'|trans }}" />
|
<input class="form-control form-control-lg" name="q" type="search" placeholder="{{ 'Search persons, ...'|trans }}" />
|
||||||
<center>
|
<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 }}
|
<i class="fa fa-fw fa-search"></i> {{ 'Search'|trans }}
|
||||||
</button>
|
</button>
|
||||||
</center>
|
</center>
|
||||||
@ -90,9 +91,11 @@
|
|||||||
|
|
||||||
{{ chill_widget('homepage', {} ) }}
|
{{ chill_widget('homepage', {} ) }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ include('@ChillMain/Layout/_footer.html.twig') }}
|
{{ include('@ChillMain/Layout/_footer.html.twig') }}
|
||||||
|
@ -24,13 +24,12 @@
|
|||||||
{% extends "@ChillMain/layout.html.twig" %}
|
{% extends "@ChillMain/layout.html.twig" %}
|
||||||
|
|
||||||
{% block sublayout_content %}
|
{% block sublayout_content %}
|
||||||
<div class="container-xxl">
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-9">
|
<div class="col-md-9 my-5">
|
||||||
|
|
||||||
{# Flash messages ! #}
|
{# Flash messages ! #}
|
||||||
{% if app.session.flashbag.all()|length > 0 %}
|
{% if app.session.flashbag.all()|length > 0 %}
|
||||||
<div class="row justify-content-center mt-5">
|
<div class="row justify-content-center mb-5">
|
||||||
|
|
||||||
{% for flashMessage in app.session.flashbag.get('success') %}
|
{% for flashMessage in app.session.flashbag.get('success') %}
|
||||||
<div class="col-8 alert alert-success flash_message">
|
<div class="col-8 alert alert-success flash_message">
|
||||||
@ -61,5 +60,4 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block layout_wvm_content %}
|
{% block layout_wvm_content %}
|
||||||
<div class="row justify-content-center my-5">
|
<div class="row justify-content-center">
|
||||||
<div class="col-md-10 col-xxl">
|
<div class="col-md-10 col-xxl">
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block layout_wvm_content %}
|
{% block layout_wvm_content %}
|
||||||
<div class="row justify-content-center my-5">
|
<div class="row justify-content-center">
|
||||||
<div class="col-md-10 col-xxl">
|
<div class="col-md-10 col-xxl">
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
@ -19,10 +19,8 @@
|
|||||||
{% block title %}{{ 'Add a person'|trans }}{% endblock title %}
|
{% block title %}{{ 'Add a 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">
|
|
||||||
{{ form_start(form) }}
|
{{ form_start(form) }}
|
||||||
|
|
||||||
<h1>{{ 'Add a person'|trans }}</h1>
|
<h1>{{ 'Add a person'|trans }}</h1>
|
||||||
@ -48,8 +46,7 @@
|
|||||||
</button>
|
</button>
|
||||||
|
|
||||||
{{ form_end(form) }}
|
{{ form_end(form) }}
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block layout_wvm_content %}
|
{% block layout_wvm_content %}
|
||||||
<div class="row justify-content-center my-5">
|
<div class="row justify-content-center">
|
||||||
<div class="col-md-10 col-xxl">
|
<div class="col-md-10 col-xxl">
|
||||||
{% block personcontent %}{# block personcontent empty #}{% endblock %}
|
{% block personcontent %}{# block personcontent empty #}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
{% if is_granted('CHILL_PERSON_CREATE') %}
|
{% if is_granted('CHILL_PERSON_CREATE') %}
|
||||||
<div class="col-8 mb-5 text-center homepage_widget">
|
<div class="col-8 mt-5 homepage_widget">
|
||||||
|
<center>
|
||||||
<a href="{{ path('chill_person_new') }}">
|
<a href="{{ path('chill_person_new') }}">
|
||||||
<div class="btn btn-lg btn-primary mt-4" style="float: inherit;">
|
<div class="btn btn-lg btn-primary">
|
||||||
{{ 'Add a person'|trans }}
|
{{ 'Add a person'|trans }}
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
</center>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user