mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
improve layout of view page (address)
This commit is contained in:
parent
c72813557b
commit
b5ad33e521
@ -49,22 +49,23 @@ div#person_details_container {
|
||||
|
||||
div.person-view {
|
||||
/* custom fields on the home page */ }
|
||||
div.person-view figure.person-details h2 {
|
||||
font-family: 'Open Sans';
|
||||
font-weight: 600;
|
||||
margin-bottom: 0.3em;
|
||||
font-variant: small-caps; }
|
||||
div.person-view figure.person-details dl {
|
||||
margin-top: 0.3em; }
|
||||
div.person-view figure.person-details dt {
|
||||
font-family: 'Open Sans';
|
||||
font-weight: 600; }
|
||||
div.person-view figure.person-details dd {
|
||||
margin-left: 0; }
|
||||
div.person-view figure.person-details a.sc-button {
|
||||
background-color: #000;
|
||||
padding-top: 0.2em;
|
||||
padding-bottom: 0.2em; }
|
||||
div.person-view figure.person-details {
|
||||
/* background-color: $black;
|
||||
padding-top: 0.2em;
|
||||
padding-bottom: 0.2em;
|
||||
}*/ }
|
||||
div.person-view figure.person-details h2 {
|
||||
font-family: 'Open Sans';
|
||||
font-weight: 600;
|
||||
margin-bottom: 0.3em;
|
||||
font-variant: small-caps; }
|
||||
div.person-view figure.person-details dl {
|
||||
margin-top: 0.3em; }
|
||||
div.person-view figure.person-details dt {
|
||||
font-family: 'Open Sans';
|
||||
font-weight: 600; }
|
||||
div.person-view figure.person-details dd {
|
||||
margin-left: 0; }
|
||||
div.person-view div.custom-fields figure.person-details {
|
||||
display: flex;
|
||||
flex-flow: row wrap; }
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"mappings": "AAkBE,wGAA+B;EAC7B,KAAK,EAJI,OAAO;;AAGlB,yGAA+B;EAC7B,KAAK,EAJY,OAAO;;AAG1B,iBAA+B;EAC7B,KAAK,EAJoB,OAAO;;AAGlC,aAA+B;EAC7B,KAAK,EAJ4B,OAAO;;AAG1C,0GAA+B;EAC7B,KAAK,EAJoC,OAAO;;AAGlD,uGAA+B;EAC7B,KAAK,EAJ4C,OAAO;;AAG1D,WAA+B;EAC7B,KAAK,EAJoD,OAAO;;AAGlE,YAA+B;EAC7B,KAAK,EAJ4D,OAAO;;AAG1E,WAA+B;EAC7B,KAAK,EAJoE,OAAO;;AAGlF,gBAA+B;EAC7B,KAAK,EAJ4E,OAAO;;AAG1F,iBAA+B;EAC7B,KAAK,EAJoF,OAAO;;ACZpG,sBAAuB;EACnB,UAAU,EAAE,8BAAwC;EACpD,KAAK,EAAE,IAAI;EACX,WAAW,EAAE,GAAG;EAChB,cAAc,EAAE,GAAG;;AAGvB,yBAA0B;EACtB,UAAU,EAAE,8BAAmC;EAC/C,KAAK,EAAE,IAAI;EACX,WAAW,EAAE,GAAG;EAChB,cAAc,EAAE,GAAG;;AAGvB,4BAA6B;EAC5B,WAAW,EAAE,IAAI;EACjB,cAAc,EAAE,IAAI;;AAGrB,eAAgB;EA6BZ,oCAAoC;EA3B5B,wCAAG;IACC,WAAW,EAAE,WAAW;IACxB,WAAW,EAAE,GAAG;IAChB,aAAa,EAAE,KAAK;IACpB,YAAY,EAAE,UAAU;EAG5B,wCAAG;IACK,UAAU,EAAE,KAAK;EAGzB,wCAAG;IACH,WAAW,EAAE,WAAW;IACxB,WAAW,EAAE,GAAG;EAGhB,wCAAG;IACK,WAAW,EAAE,CAAC;EAGtB,iDAAY;IACJ,gBAAgB,EC5BN,IAAI;ID6Bd,WAAW,EAAE,KAAK;IAClB,cAAc,EAAE,KAAK;EAMjC,uDAAsB;IAClB,OAAO,EAAE,IAAI;IACb,SAAS,EAAE,QAAQ;IAkBnB,wFAAgC;MAC5B,KAAK,EAAE,GAAG;MACV,YAAY,EAAE,IAAI;IAGtB,uFAAgC;MAC5B,KAAK,EAAE,gBAAgB",
|
||||
"sources": ["../../../../main/Resources/public/sass/custom/config/_colors.scss","../sass/person.scss","../../../../main/Resources/public/sass/config/_colors.scss"],
|
||||
"mappings": "AAkBE,wGAA+B;EAC7B,KAAK,EAJI,O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../../../../main/Resources/public/sass/custom/config/_colors.scss","../sass/person.scss"],
|
||||
"names": [],
|
||||
"file": "person.css"
|
||||
}
|
||||
|
@ -42,11 +42,11 @@ div.person-view {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
a.sc-button {
|
||||
background-color: $black;
|
||||
// a.sc-button {
|
||||
/* background-color: $black;
|
||||
padding-top: 0.2em;
|
||||
padding-bottom: 0.2em;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
/* custom fields on the home page */
|
||||
|
@ -173,12 +173,19 @@ This view should receive those arguments:
|
||||
<dd>
|
||||
{%- if person.lastAddress is not empty -%}
|
||||
{{ address._render(person.lastAddress) }}
|
||||
<a href="{{ path('chill_person_address_edit', { 'person_id': person.id, 'address_id' : person.lastAddress.id } ) }}">
|
||||
{{ 'Edit'|trans }}
|
||||
</a><br/>
|
||||
<a href="{{ path('chill_person_address_list', { 'person_id': person.id } ) }}">
|
||||
{{ 'Addresses\'history'|trans }}
|
||||
</a>
|
||||
|
||||
<ul class="record_actions record_actions_small">
|
||||
<li>
|
||||
<a href="{{ path('chill_person_address_edit', { 'person_id': person.id, 'address_id' : person.lastAddress.id } ) }}" class="sc-button has-hidden button-small bt-edit">
|
||||
<span class="show-on-hover">{{ 'Edit'|trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ path('chill_person_address_list', { 'person_id': person.id } ) }}" class="sc-button has-hidden button-small">
|
||||
<i class="fa fa-list" aria-hidden="true"></i><span class="show-on-hover">{{ "Addresses'history"|trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{%- else -%}
|
||||
<span class="chill-no-data-statement">{{ 'No address given'|trans }}</span>
|
||||
<a href="{{ path('chill_person_address_new', { 'person_id' : person.id } ) }}" class="">
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div class="grid-8 centered" style="text-align:center; margin-top: 1.5em;">
|
||||
<a href="{{ path('chill_person_new') }}">
|
||||
<div class="grid-3 sc-button blue" style="float: inherit;">
|
||||
<div class="sc-button blue" style="float: inherit;">
|
||||
{{ 'Add a person'|trans }}
|
||||
</div>
|
||||
</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user