mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
new choose button, improve household renderbox
This commit is contained in:
parent
b69fdd459a
commit
3927fd738c
@ -19,6 +19,7 @@ $chill-theme-buttons: (
|
||||
"view": $chill-blue,
|
||||
"misc": $gray-300,
|
||||
"cancel": $gray-300,
|
||||
"choose": $gray-300
|
||||
);
|
||||
|
||||
@each $button, $color in $chill-theme-buttons {
|
||||
@ -68,6 +69,7 @@ $chill-theme-buttons: (
|
||||
// &.btn-action::before,
|
||||
&.btn-delete::before,
|
||||
&.btn-remove::before,
|
||||
&.btn-choose::before,
|
||||
&.btn-cancel::before {
|
||||
font: normal normal normal 14px/1 ForkAwesome;
|
||||
margin-right: 0.5em;
|
||||
@ -91,6 +93,7 @@ $chill-theme-buttons: (
|
||||
&.btn-delete::before { content: "\f1f8"; } // fa-trash
|
||||
&.btn-remove::before { content: "\f00d"; } // fa-times
|
||||
&.btn-cancel::before { content: "\f060"; } // fa-arrow-left
|
||||
&.btn-choose::before { content: "\f00c"; } // fa-check // f046 fa-check-square-o
|
||||
}
|
||||
|
||||
|
||||
|
@ -110,7 +110,7 @@
|
||||
<household-render-box :household="h"></household-render-box>
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<button class="btn btn-sm btn-misc" @click="selectHousehold(h)">
|
||||
<button class="btn btn-sm btn-choose" @click="selectHousehold(h)">
|
||||
{{ $t('household_members_editor.select_household') }}
|
||||
</button>
|
||||
</li>
|
||||
|
@ -37,7 +37,7 @@ const appMessages = {
|
||||
hide_household_suggestion: "Masquer les suggestions",
|
||||
show_household_suggestion: 'Aucune suggestion | Afficher une suggestion | Afficher {count} suggestions',
|
||||
household_for_participants_accompanying_period: "Ces ménages partagent le même parcours",
|
||||
select_household: "Choisir ce ménage",
|
||||
select_household: "Sélectionner",
|
||||
dates_title: "Période de validité",
|
||||
dates: {
|
||||
start_date: "Début de validité",
|
||||
|
@ -15,11 +15,10 @@
|
||||
|
||||
</div>
|
||||
<div class="item-col">
|
||||
<ul class="list-content fa-ul">
|
||||
<ul class="list-content">
|
||||
|
||||
<!-- member part -->
|
||||
<li v-if="hasCurrentMembers" class="members">
|
||||
<i class="fa fa-li fa-hop" :title="$t('current_members')"></i>
|
||||
<li v-if="hasCurrentMembers" class="members" :title="$t('current_members')">
|
||||
<template v-for="m in currentMembers()" :key="m.id">
|
||||
<person-render-box render="badge"
|
||||
:person="m.person"
|
||||
@ -30,18 +29,15 @@
|
||||
</person-render-box>
|
||||
</template>
|
||||
</li>
|
||||
<li v-else class="members">
|
||||
<i class="fa fa-li fa-hop" :title="$t('current_members')"></i>
|
||||
<li v-else class="members" :title="$t('current_members')">
|
||||
<p class="chill-no-data-statement">{{ $t('no_members_yet') }}</p>
|
||||
</li>
|
||||
|
||||
<!-- address part -->
|
||||
<li v-if="hasAddress()">
|
||||
<i class="fa fa-li fa-map-marker"></i>
|
||||
<show-address :address="household.current_address" :isMultiline="isMultiline"></show-address>
|
||||
</li>
|
||||
<li v-else>
|
||||
<i class="fa fa-li fa-map-marker"></i>
|
||||
<span class="chill-no-data-statement">{{ $t('no_current_address') }}</span>
|
||||
</li>
|
||||
|
||||
@ -121,32 +117,10 @@ export default {
|
||||
section.chill-entity {
|
||||
&.entity-household {
|
||||
|
||||
.fa-hop::marker {
|
||||
content: '::';
|
||||
ul.list-content li::marker {
|
||||
content: '';
|
||||
}
|
||||
|
||||
/*
|
||||
.identifier {
|
||||
//grid-area: iden;
|
||||
font-size: 1.3em;
|
||||
font-weight: 700;
|
||||
color: var(--chill-blue);
|
||||
}
|
||||
display: grid;
|
||||
grid-template-columns: auto auto 30%;
|
||||
grid-template-areas:
|
||||
"iden iden where"
|
||||
"who who where";
|
||||
.members {
|
||||
//grid-area: who;
|
||||
.current-members {
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
.where {
|
||||
//grid-area: where
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
Loading…
x
Reference in New Issue
Block a user