mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
content bloc: fix margins and breakpoints
This commit is contained in:
parent
030e71d276
commit
d35553a1e2
@ -7,7 +7,7 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="activity-edit">
|
<div class="activity-edit">
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<div class="col-md-10">
|
<div class="col-md-10 col-xxl">
|
||||||
|
|
||||||
<div id="activity"></div> {# <=== vue component #}
|
<div id="activity"></div> {# <=== vue component #}
|
||||||
{% include 'ChillActivityBundle:Activity:edit.html.twig' %}
|
{% include 'ChillActivityBundle:Activity:edit.html.twig' %}
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
{% block personcontent %}
|
{% block personcontent %}
|
||||||
<div class="activity-edit">
|
<div class="activity-edit">
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<div class="col-md-10">
|
<div class="col-md-10 col-xxl">
|
||||||
|
|
||||||
<div id="activity"></div> {# <=== vue component #}
|
<div id="activity"></div> {# <=== vue component #}
|
||||||
{% include 'ChillActivityBundle:Activity:edit.html.twig' %}
|
{% include 'ChillActivityBundle:Activity:edit.html.twig' %}
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="activity-new">
|
<div class="activity-new">
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<div class="col-md-10">
|
<div class="col-md-10 col-xxl">
|
||||||
|
|
||||||
<div id="activity"></div> {# <=== vue component #}
|
<div id="activity"></div> {# <=== vue component #}
|
||||||
{% include 'ChillActivityBundle:Activity:new.html.twig' with {'context': 'accompanyingCourse'} %}
|
{% include 'ChillActivityBundle:Activity:new.html.twig' with {'context': 'accompanyingCourse'} %}
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
{% block personcontent %}
|
{% block personcontent %}
|
||||||
<div class="activity-new">
|
<div class="activity-new">
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<div class="col-md-10">
|
<div class="col-md-10 col-xxl">
|
||||||
|
|
||||||
<div id="activity"></div> {# <=== vue component #}
|
<div id="activity"></div> {# <=== vue component #}
|
||||||
{% include 'ChillActivityBundle:Activity:new.html.twig' with {'context': 'person'} %}
|
{% include 'ChillActivityBundle:Activity:new.html.twig' with {'context': 'person'} %}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
{% block content -%}
|
{% block content -%}
|
||||||
<div class="activity-show">
|
<div class="activity-show">
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<div class="col-md-10">
|
<div class="col-md-10 col-xxl">
|
||||||
|
|
||||||
{% include 'ChillActivityBundle:Activity:show.html.twig' with {'context': 'accompanyingCourse'} %}
|
{% include 'ChillActivityBundle:Activity:show.html.twig' with {'context': 'accompanyingCourse'} %}
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
{% block personcontent -%}
|
{% block personcontent -%}
|
||||||
<div class="activity-show">
|
<div class="activity-show">
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<div class="col-md-10">
|
<div class="col-md-10 col-xxl">
|
||||||
|
|
||||||
{% include 'ChillActivityBundle:Activity:show.html.twig' with {'context': 'person'} %}
|
{% include 'ChillActivityBundle:Activity:show.html.twig' with {'context': 'person'} %}
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block layout_wvm_content %}
|
{% block layout_wvm_content %}
|
||||||
<div class="mt-3">
|
<div class="mt-5">
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
{% block personcontent %}
|
{% block personcontent %}
|
||||||
<div class="address-new">
|
<div class="address-new">
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<div class="col-md-10">
|
<div class="col-md-10 col-xxl">
|
||||||
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block layout_wvm_content %}
|
{% block layout_wvm_content %}
|
||||||
<div class="mt-3">
|
<div class="mt-5">
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -19,8 +19,10 @@
|
|||||||
{% block title %}{{ 'Add a person'|trans }}{% endblock title %}
|
{% block title %}{{ 'Add a person'|trans }}{% endblock title %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="col-12 mt-3" >
|
<div class="person-new col-12 my-5">
|
||||||
<div class="col-md-10 offset-md-1">
|
<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>
|
||||||
@ -47,5 +49,7 @@
|
|||||||
|
|
||||||
{{ form_end(form) }}
|
{{ form_end(form) }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
@ -19,8 +19,10 @@
|
|||||||
{% block title %}{{ 'Alreay existing person'|trans }}{% endblock title %}
|
{% block title %}{{ 'Alreay existing person'|trans }}{% endblock title %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="col-12 parent" >
|
<div class="person-new col-12 my-5">
|
||||||
<div class="col-md-10 offset-md-1 parent">
|
<div class="row justify-content-center">
|
||||||
|
|
||||||
|
<div class="col-md-10 col-xxl">
|
||||||
|
|
||||||
<div class="warning flash_message">
|
<div class="warning flash_message">
|
||||||
<span>
|
<span>
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
{% block personcontent %}
|
{% block personcontent %}
|
||||||
<div class="person-edit">
|
<div class="person-edit">
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<div class="col-md-10">
|
<div class="col-md-10 col-xxl">
|
||||||
|
|
||||||
<h1>{{ 'Update details for %name%'|trans({ '%name%': person.firstName|capitalize ~ ' ' ~ person.lastName|capitalize } ) }}</h1>
|
<h1>{{ 'Update details for %name%'|trans({ '%name%': person.firstName|capitalize ~ ' ' ~ person.lastName|capitalize } ) }}</h1>
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block layout_wvm_content %}
|
{% block layout_wvm_content %}
|
||||||
<div class="mt-3">
|
<div class="mt-5">
|
||||||
{% block personcontent %}{# block personcontent empty #}{% endblock %}
|
{% block personcontent %}{# block personcontent empty #}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -38,7 +38,7 @@ This view should receive those arguments:
|
|||||||
{% block personcontent %}
|
{% block personcontent %}
|
||||||
<div class="person-view">
|
<div class="person-view">
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<div class="col-md-10">
|
<div class="col-md-10 col-xxl">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{% if person.memo is not empty and chill_person.fields.memo == 'visible' %}
|
{% if person.memo is not empty and chill_person.fields.memo == 'visible' %}
|
||||||
@ -245,10 +245,8 @@ This view should receive those arguments:
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% if is_granted('CHILL_PERSON_UPDATE', person) %}
|
{% if is_granted('CHILL_PERSON_UPDATE', person) %}
|
||||||
<ul class="col-md-10 sticky-form-buttons record_actions ">
|
<ul class="sticky-form-buttons record_actions">
|
||||||
<li>
|
<li>
|
||||||
<a class="btn btn-update" href="{{ path('chill_person_general_edit', { 'person_id': person.id }) }}">
|
<a class="btn btn-update" href="{{ path('chill_person_general_edit', { 'person_id': person.id }) }}">
|
||||||
{{ 'Edit'|trans }}
|
{{ 'Edit'|trans }}
|
||||||
@ -256,6 +254,7 @@ This view should receive those arguments:
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user