From 00e7364950bb2066ee3646ce562008e1da72aa19 Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 14 May 2024 18:16:13 +0200 Subject: [PATCH] Fix Legenda scadenzario --- assets/src/css/style.css | 22 ++++--------- modules/dashboard/edit.php | 4 +-- modules/scadenzario/controller_before.php | 40 +++++++++++------------ update/2_5_2.sql | 2 +- 4 files changed, 29 insertions(+), 39 deletions(-) diff --git a/assets/src/css/style.css b/assets/src/css/style.css index b30fb231f..bb544ca59 100755 --- a/assets/src/css/style.css +++ b/assets/src/css/style.css @@ -1162,23 +1162,13 @@ kbd{ background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 34%, rgba(204,204,204,1) 100%); } -.legend { - clear: left; -} - -.legend > .icon{ - width: 18px; - height: 18px; +.icon{ + width: 15px; + height: 15px; line-height: 30px; - border-radius: 18px; - float: left; - margin-right: 6px; - margin-bottom: 4px; - box-shadow: 0px 0px 3px #0000006c; -} - -.legend > .text{ - float: left; + border-radius: 15px; + margin-top: 3px; + box-shadow: 0px 0px 1px black; } @media (max-width: 480px) { diff --git a/modules/dashboard/edit.php b/modules/dashboard/edit.php index ac8c0da68..d6ad5d770 100755 --- a/modules/dashboard/edit.php +++ b/modules/dashboard/edit.php @@ -109,7 +109,7 @@ foreach ($stati_intervento as $stato) {
  • '; } @@ -182,7 +182,7 @@ foreach ($tecnici_disponibili as $tecnico) {
  • '; } diff --git a/modules/scadenzario/controller_before.php b/modules/scadenzario/controller_before.php index 4f7de6c2d..991450a70 100644 --- a/modules/scadenzario/controller_before.php +++ b/modules/scadenzario/controller_before.php @@ -1,31 +1,31 @@ -
    '.tr('Legenda').':
    +
    +
    '.tr('Legenda'). ':
    -
    -
    -
    Scadenza pagata
    +
    + +  '.tr('Scadenza pagata'). '
    -
    -
    -
    Data concordata superata
    +
    + +  ' . tr('Data concordata superata') . '
    -
    -
    -
    Data concordata
    +
    + +  ' . tr('Data concordata') . '
    -
    -
    -
    Scaduta
    +
    + +  ' . tr('Scaduta') . '
    -
    -
    -
    Scadenza entro 10 giorni
    +
    + +  ' . tr('Scadenza entro 10 giorni') . '
    -
    -
    -
    Scadenza futura
    +
    + +  Scadenza futura
    '; \ No newline at end of file diff --git a/update/2_5_2.sql b/update/2_5_2.sql index bb0cdbb38..0b8b3d62d 100644 --- a/update/2_5_2.sql +++ b/update/2_5_2.sql @@ -162,5 +162,5 @@ ORDER BY `matricola`" WHERE `name` = 'Impianti'; --- Opzioni possibili per stampa del Contratto +-- Opzioni possibili per stampa "Contratto" UPDATE `zz_prints` SET `available_options` = '{\"pricing\":\"Visualizzare i prezzi\", \"hide-total\": \"Nascondere i totali delle righe\", \"show-only-total\": \"Visualizzare solo i totali del documento\", \"hide-header\": \"Nascondere intestazione\", \"hide-footer\": \"Nascondere footer\", \"last-page-footer\": \"Visualizzare footer solo su ultima pagina\", \"hide-item-number\": \"Nascondere i codici degli articoli\"}' WHERE `zz_prints`.`name` = 'Contratto'; \ No newline at end of file