mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
person templates responsive breakpoints in content
This commit is contained in:
parent
15f439b43d
commit
bdf0ec63d2
@ -19,8 +19,8 @@
|
||||
{% block title %}{{ 'Add a person'|trans }}{% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
<div class="col-12 parent" >
|
||||
<div class="col-md-10 offset-md-1 parent">
|
||||
<div class="col-12 mt-3" >
|
||||
<div class="col-md-10 offset-md-1">
|
||||
{{ form_start(form) }}
|
||||
|
||||
<h1>{{ 'Add a person'|trans }}</h1>
|
||||
@ -40,9 +40,11 @@
|
||||
{{ form_row(form.creation_date, { 'label' : 'Creation date'|trans }) }}
|
||||
|
||||
{{ form_rest(form) }}
|
||||
|
||||
<button class="btn btn-chill-green" type="submit" alt="add a person"><i class="fa fa-plus"></i> {{ 'Add the person'|trans }}</button>
|
||||
|
||||
|
||||
<button class="btn btn-create" type="submit" alt="add a person">
|
||||
{{ 'Add the person'|trans }}
|
||||
</button>
|
||||
|
||||
{{ form_end(form) }}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -22,6 +22,8 @@
|
||||
|
||||
{% block personcontent %}
|
||||
<div class="person-edit">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-10">
|
||||
|
||||
<h1>{{ 'Update details for %name%'|trans({ '%name%': person.firstName|capitalize ~ ' ' ~ person.lastName|capitalize } ) }}</h1>
|
||||
|
||||
@ -138,9 +140,11 @@
|
||||
|
||||
{{ form_end(form) }}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock personcontent %}
|
||||
|
||||
{% block js %}
|
||||
<script type="text/javascript" src="{{ asset('build/person.js') }}"></script>
|
||||
{{ encore_entry_link_tags('person') }}
|
||||
{% endblock js %}
|
||||
|
@ -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-10">
|
||||
<div class="col-md-10">
|
||||
|
||||
<div class="row">
|
||||
{% if person.memo is not empty and chill_person.fields.memo == 'visible' %}
|
||||
@ -248,7 +248,7 @@ This view should receive those arguments:
|
||||
</div>
|
||||
|
||||
{% if is_granted('CHILL_PERSON_UPDATE', person) %}
|
||||
<ul class="col-10 sticky-form-buttons record_actions ">
|
||||
<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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user