Ajoute un filtre par tag de signalement sur /lignes et /dashboard/compte
Même modèle multiselect/OR que les filtres Compte et Type déjà en place, en complément (pas en remplacement) du simple on/off "Signalées uniquement" du grand livre. Sur /dashboard/compte, la liste d'options se limite aux tags réellement présents pour le compte sélectionné, et se réinitialise au changement de compte.
This commit is contained in:
@@ -101,6 +101,75 @@ html.gin--dark-mode #figli-dashboard-app {
|
||||
color: var(--figli-text);
|
||||
}
|
||||
|
||||
/* Signalement filter (Lignes signalées section) -- same multiselect
|
||||
widget as /lignes' Compte/Type filters (home.css), duplicated here
|
||||
rather than shared, see this project's established convention for
|
||||
dashboard.js/dashboard-compte.js vs home.js. */
|
||||
#figli-dashboard-app .figli-filter-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
#figli-dashboard-app .figli-filter-clear {
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: var(--figli-text-light);
|
||||
cursor: pointer;
|
||||
font-size: 0.8rem;
|
||||
line-height: 1;
|
||||
padding: 0.15rem;
|
||||
}
|
||||
#figli-dashboard-app .figli-filter-clear:hover {
|
||||
color: var(--figli-error);
|
||||
}
|
||||
#figli-dashboard-app .figli-multiselect {
|
||||
position: relative;
|
||||
}
|
||||
#figli-dashboard-app .figli-multiselect-trigger {
|
||||
font-size: 0.85rem;
|
||||
padding: 0.2rem 0.4rem;
|
||||
background: var(--figli-bg);
|
||||
color: var(--figli-text);
|
||||
border: 1px solid var(--figli-border);
|
||||
border-radius: 4px;
|
||||
width: 12rem;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
cursor: default;
|
||||
}
|
||||
#figli-dashboard-app .figli-multiselect-arrow {
|
||||
float: right;
|
||||
color: var(--figli-text-light);
|
||||
}
|
||||
#figli-dashboard-app .figli-multiselect-panel {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
z-index: 20;
|
||||
min-width: 100%;
|
||||
white-space: nowrap;
|
||||
background: var(--figli-bg);
|
||||
color: var(--figli-text);
|
||||
border: 1px solid var(--figli-border);
|
||||
border-radius: 4px;
|
||||
padding: 0.3rem 0.5rem;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
#figli-dashboard-app .figli-multiselect:hover .figli-multiselect-panel {
|
||||
display: block;
|
||||
}
|
||||
#figli-dashboard-app .figli-multiselect-option {
|
||||
display: flex !important;
|
||||
flex-direction: row !important;
|
||||
align-items: center;
|
||||
gap: 0.35rem;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 400;
|
||||
padding: 0.15rem 0;
|
||||
}
|
||||
|
||||
/* --- Reconciliation tables (reste à verser, sur-versé, non liés) --- */
|
||||
#figli-dashboard-app .figli-recon-table {
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user