mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
content bloc: fix margins and breakpoints
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block layout_wvm_content %}
|
||||
<div class="mt-3">
|
||||
<div class="mt-5">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@@ -23,7 +23,7 @@
|
||||
{% block personcontent %}
|
||||
<div class="address-new">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-10">
|
||||
<div class="col-md-10 col-xxl">
|
||||
|
||||
|
||||
{% block content %}
|
||||
|
@@ -5,7 +5,7 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block layout_wvm_content %}
|
||||
<div class="mt-3">
|
||||
<div class="mt-5">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@@ -19,8 +19,10 @@
|
||||
{% block title %}{{ 'Add a person'|trans }}{% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
<div class="col-12 mt-3" >
|
||||
<div class="col-md-10 offset-md-1">
|
||||
<div class="person-new col-12 my-5">
|
||||
<div class="row justify-content-center">
|
||||
|
||||
<div class="col-md-10 col-xxl">
|
||||
{{ form_start(form) }}
|
||||
|
||||
<h1>{{ 'Add a person'|trans }}</h1>
|
||||
@@ -47,5 +49,7 @@
|
||||
|
||||
{{ form_end(form) }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
@@ -19,8 +19,10 @@
|
||||
{% block title %}{{ 'Alreay existing person'|trans }}{% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
<div class="col-12 parent" >
|
||||
<div class="col-md-10 offset-md-1 parent">
|
||||
<div class="person-new col-12 my-5">
|
||||
<div class="row justify-content-center">
|
||||
|
||||
<div class="col-md-10 col-xxl">
|
||||
|
||||
<div class="warning flash_message">
|
||||
<span>
|
||||
|
@@ -23,7 +23,7 @@
|
||||
{% block personcontent %}
|
||||
<div class="person-edit">
|
||||
<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>
|
||||
|
||||
|
@@ -23,7 +23,7 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block layout_wvm_content %}
|
||||
<div class="mt-3">
|
||||
<div class="mt-5">
|
||||
{% block personcontent %}{# block personcontent empty #}{% endblock %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@@ -38,7 +38,7 @@ This view should receive those arguments:
|
||||
{% block personcontent %}
|
||||
<div class="person-view">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-10">
|
||||
<div class="col-md-10 col-xxl">
|
||||
|
||||
<div class="row">
|
||||
{% if person.memo is not empty and chill_person.fields.memo == 'visible' %}
|
||||
@@ -230,7 +230,7 @@ This view should receive those arguments:
|
||||
</div>
|
||||
{%- endif -%}
|
||||
</div>
|
||||
|
||||
|
||||
{% if cFGroup and (cFGroup.getActiveCustomFields|length > 0) %}
|
||||
<div class="row">
|
||||
<div class="col-12 custom-fields">
|
||||
@@ -239,23 +239,22 @@ This view should receive those arguments:
|
||||
</figure>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<figure class="person-details"></figure>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if is_granted('CHILL_PERSON_UPDATE', person) %}
|
||||
<ul class="sticky-form-buttons record_actions">
|
||||
<li>
|
||||
<a class="btn btn-update" href="{{ path('chill_person_general_edit', { 'person_id': person.id }) }}">
|
||||
{{ 'Edit'|trans }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% if is_granted('CHILL_PERSON_UPDATE', person) %}
|
||||
<ul class="col-md-10 sticky-form-buttons record_actions ">
|
||||
<li>
|
||||
<a class="btn btn-update" href="{{ path('chill_person_general_edit', { 'person_id': person.id }) }}">
|
||||
{{ 'Edit'|trans }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user