Fix stili card-box

This commit is contained in:
FabioL 2024-05-23 17:51:21 +02:00
parent cc3f49c576
commit 7caf878698
39 changed files with 56 additions and 55 deletions

View File

@ -432,7 +432,7 @@ if (!$righe_evase->isEmpty()) {
<div class="card-header with-border">
<h3 class="card-title">'.tr('Righe evase completamente').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>

View File

@ -258,7 +258,7 @@ if (in_array($module->getTranslation('title'), ['Ordini cliente', 'Ordini fornit
<div class="card-header with-border">
<h3 class="card-title">'.tr('Informazioni aggiuntive').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>

View File

@ -164,7 +164,7 @@ if (!empty(post('db_host'))) {
<div class="card-header with-border">
<h4 class="card-title"><a class="clickable" data-widget="collapse">'.tr('Creazione manuale').'...</a></h4>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -454,7 +454,7 @@ foreach ($requirements as $key => $values) {
if ($general_status) {
echo '
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-widget="collapse">
<button type="button" class="btn btn-tool" data-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>';

View File

@ -189,7 +189,7 @@ if (filter('action') == 'do_update') {
<div class="card-header with-border">
<h3 class="card-title"><a class="clickable" data-card-widget="collapse">'.tr('Log').'</a></h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body info text-left"></div>

View File

@ -513,6 +513,7 @@ if (Auth::check()) {
if (string_contains($_SERVER['SCRIPT_FILENAME'], 'editor.php')) {
// Menu laterale per la visualizzazione dei plugin
echo '
<div class="control-sidebar-button"><i class="fa fa-chevron-left"></i></div>
<aside class="control-sidebar control-sidebar-light">
<h4><i class="fa fa-plug"></i> '.tr('Plugin').'</h4>
<ul class="nav nav-tabs nav-pills nav-stacked">

View File

@ -202,7 +202,7 @@ function initcard(controllo, success) {
<div class="card-header with-border">
<h3 class="card-title">` + controllo["name"] + `</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-widget="collapse">
<button type="button" class="btn btn-tool" data-widget="collapse">
<i class="fa fa-` + icon + `"></i>
</button>
</div>

View File

@ -766,7 +766,7 @@ if (!empty($elementi)) {
'_NUM_' => count($elementi),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -58,7 +58,7 @@ $aliquota_predefinita = floatval(Aliquota::find($iva_predefinita)->percentuale);
<div class="card-header with-border">
<h3 class="card-title"><?php echo tr('Informazioni aggiuntive'); ?></h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>

View File

@ -407,7 +407,7 @@ if (!empty($elementi)) {
'_NUM_' => count($elementi),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -102,7 +102,7 @@ if (!empty($elementi)) {
'_NUM_' => count($elementi),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -104,7 +104,7 @@ if (!empty($elementi)) {
'_NUM_' => count($elementi),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -74,7 +74,7 @@ echo '
<div class="card-header">
<h3 class="card-title">'.tr('Informazioni per rinnovo').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>

View File

@ -46,7 +46,7 @@ echo '
<div class="card-header with-border">
<h3 class="card-title">'.tr('Dati cliente').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-'.(empty($espandi_dettagli) ? 'plus' : 'minus').'"></i>
</button>
</div>
@ -184,7 +184,7 @@ if ($record['idagente'] != 0) {
<?php echo tr('Dati appalto'); ?></h4>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>
@ -596,7 +596,7 @@ if (!empty($elementi)) {
'_NUM_' => count($elementi),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -128,7 +128,7 @@ echo'
<div class="card-header with-border">
<h3 class="card-title">'.tr('Dati cliente').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-'.(empty($espandi_dettagli) ? 'plus' : 'minus').'"></i>
</button>
</div>
@ -373,7 +373,7 @@ if ($dir == 'entrata') {
<?php echo tr('Dati appalto'); ?></h4>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>
@ -687,7 +687,7 @@ if (!empty($elementi)) {
'_NUM_' => count($elementi),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -150,7 +150,7 @@ if (!empty($elementi)) {
'_NUM_' => count($elementi),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -89,7 +89,7 @@ if ($dir == 'entrata') {
<div class="card-header with-border">
<h3 class="card-title">'.tr('Fatture in stato Bozza del cliente').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-minus"></i>
</button>
</div>
@ -102,7 +102,7 @@ if ($dir == 'entrata') {
<div class="card-header with-border">
<h3 class="card-title">'.tr('Fatture con termini di pagamento trascorsi').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-minus"></i>
</button>
</div>
@ -118,7 +118,7 @@ if ($dir == 'entrata') {
<div class="card-header with-border">
<h3 class="card-title">'.tr('Dettagli cliente').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>

View File

@ -299,7 +299,7 @@ $query .= ' ORDER BY `title`';
<div class="card-header with-border">
<h3 class="card-title">'.tr('Dati cliente').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-'.(empty($espandi_dettagli) ? 'plus' : 'minus').'"></i>
</button>
</div>

View File

@ -156,7 +156,7 @@ if (!empty($elementi)) {
'_NUM_' => count($elementi),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -81,7 +81,7 @@ if (!empty($elementi)) {
'_NUM_' => count($elementi),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -242,7 +242,7 @@ echo '
<div class="card-header with-border">
<h3 class="card-title">'.tr('Dettagli cliente').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>
@ -258,7 +258,7 @@ echo '
<div class="card-header with-border">
<h3 class="card-title">'.tr('Posizione').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse" onclick="autoload_mappa=true; caricaMappa();">
<button type="button" class="btn btn-tool" data-card-widget="collapse" onclick="autoload_mappa=true; caricaMappa();">
<i class="fa fa-plus"></i>
</button>
</div>
@ -276,7 +276,7 @@ echo '
<div class="card-header with-border">
<h3 class="card-title">'.tr('Dettagli aggiuntivi').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-'.(empty($espandi_dettagli) ? 'plus' : 'minus').'"></i>
</button>
</div>
@ -302,7 +302,7 @@ echo '
<div class="card-header with-border">
<h3 class="card-title">'.tr('Assegnazione tecnici').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>
@ -337,7 +337,7 @@ echo '
<div class="card-header with-border">
<h3 class="card-title">'.tr('Sessioni di lavoro').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-'.($origine_dashboard ? 'minus' : 'plus').'"></i>
</button>
</div>
@ -374,7 +374,7 @@ echo '
<div class="card-header with-border">
<h3 class="card-title">'.tr('Ricorrenza').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>

View File

@ -70,7 +70,7 @@ echo '
<div class="card-header with-border">
<h3 class="card-title">'.tr('Dati cliente').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-xs btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-xs btn-tool" data-card-widget="collapse">
<i class="fa fa-'.(empty($espandi_dettagli) ? 'plus' : 'minus').'"></i>
</button>
</div>
@ -265,7 +265,7 @@ if (!empty($record['idcontratto'])) {
<div class="card-header with-border <?php echo ($record['tipo_anagrafica'] == 'Ente pubblico' || $record['tipo_anagrafica'] == 'Azienda') ? '' : 'hidden'; ?>">
<h3 class="card-title"><?php echo tr('Dati appalto'); ?></h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>
@ -741,7 +741,7 @@ if (!empty($elementi)) {
'_NUM_' => count($elementi),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -53,7 +53,7 @@ if (!empty($elementi)) {
'_NUM_' => count($elementi),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -83,7 +83,7 @@ echo'
<div class="card-header with-border">
<h3 class="card-title">'.tr('Dati cliente').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-'.(empty($espandi_dettagli) ? 'plus' : 'minus').'"></i>
</button>
</div>
@ -551,7 +551,7 @@ if (!empty($elementi)) {
'_NUM_' => count($elementi),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -239,7 +239,7 @@ echo '
'_NUM_' => count($elementi),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -51,7 +51,7 @@ if (count($preventivo->revisioni) > 1) {
<div class="card-header with-border">
<h3 class="card-title">'.tr('Dati cliente').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-'.(empty($espandi_dettagli) ? 'plus' : 'minus').'"></i>
</button>
</div>
@ -210,7 +210,7 @@ echo '
<?php echo tr('Dati appalto'); ?></h4>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>
@ -532,7 +532,7 @@ if (!empty($elementi)) {
'_NUM_' => count($elementi),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -226,7 +226,7 @@ if (!empty($elementi)) {
'_NUM_' => count($elementi),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -137,7 +137,7 @@ if ($nome_stampa != 'Liquidazione IVA') {
'_END_' => dateFormat($_SESSION['period_end']),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -43,7 +43,7 @@ if (!empty($elementi)) {
'_NUM_' => count($elementi),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -146,7 +146,7 @@ if (!empty($elementi)) {
'_NUM_' => count($elementi),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -43,7 +43,7 @@ foreach ($fields as $key => $field) {
</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>

View File

@ -42,7 +42,7 @@ if (!empty($additionals)) {
]).'
</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-widget="collapse">
<button type="button" class="btn btn-tool" data-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>';

View File

@ -123,7 +123,7 @@ foreach ($elenchi as $elenco) {
<i class="'.$icona_allegati.' fa-lg"></i>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" onclick="toggleDettagli(this)">
<button type="button" class="btn btn-tool" onclick="toggleDettagli(this)">
<i class="fa fa-plus"></i>
</button>
</div>

View File

@ -102,7 +102,7 @@ if (!empty($elementi)) {
'_NUM_' => count($elementi),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">

View File

@ -587,7 +587,7 @@ if (!empty($righe)) {
<div class="col-md-1 card-tools">
<br>
<button type="button" class="btn btn-card-tool no-padding-left" data-card-widget="collapse" onclick="$(this).find(\'i\').toggleClass(\'fa-plus\').toggleClass(\'fa-minus\');">
<button type="button" class="btn btn-tool no-padding-left" data-card-widget="collapse" onclick="$(this).find(\'i\').toggleClass(\'fa-plus\').toggleClass(\'fa-minus\');">
<i class="fa fa-plus"></i>
</button>
</div>

View File

@ -108,7 +108,7 @@ echo '
<div class="card-header with-border">
<h3 class="card-title">'.tr('Dettagli aggiuntivi').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-widget="collapse">
<button type="button" class="btn btn-tool" data-widget="collapse">
<i class="fa fa-'.(empty($espandi_dettagli) ? 'plus' : 'minus').'"></i>
</button>
</div>

View File

@ -186,7 +186,7 @@ if (!empty($elementi)) {
'_NUM_' => count($elementi),
]).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
</div>
</div>
<div class="card-body">
@ -223,7 +223,7 @@ echo '
<div class="card-header with-border">
<h3 class="card-title">'.tr('Dettagli aggiuntivi').'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-widget="collapse">
<button type="button" class="btn btn-tool" data-widget="collapse">
<i class="fa fa-'.(empty($espandi_dettagli) ? 'plus' : 'minus').'"></i>
</button>
</div>

View File

@ -31,7 +31,7 @@ echo '
<button class="btn btn-warning btn-xs" onclick="add_calendar()">
<i class="fa fa-plus"></i> '.tr('Aggiungi periodo').'
</button>
<button type="button" class="btn btn-card-tool" data-widget="collapse">
<button type="button" class="btn btn-tool" data-widget="collapse">
<i class="fa fa-minus"></i>
</button>
</div>

View File

@ -90,7 +90,7 @@ class FileManager implements ManagerInterface
<h3 class="card-title">'.(!empty($category) ? $category : tr('Generale')).'</h3>
<div class="card-tools pull-right">
<button type="button" class="btn btn-card-tool" data-card-widget="collapse">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-minus"></i>
</button>
</div>