Fix grafico minore
This commit is contained in:
parent
709f919ccb
commit
85b29b489e
|
@ -103,9 +103,10 @@ if (!empty($options) && $options != 'custom' && $options != 'menu') {
|
||||||
echo '
|
echo '
|
||||||
<div class="nav-tabs-custom">
|
<div class="nav-tabs-custom">
|
||||||
<ul class="nav nav-tabs nav-justified">
|
<ul class="nav nav-tabs nav-justified">
|
||||||
<li class="active nav-item active"><a class="nav-link" data-card-widget="tab" href="#fields">'.tr('Campi').' <span class="badge">'.View::where('id_module', $record->id)->count().'</a></li>
|
<li class="active nav-item clicked"><a class="nav-link" data-card-widget="tab" href="#fields">'.tr('Campi').' <span class="badge badge-info">'.View::where('id_module', $record->id)->count().'</a></li>
|
||||||
<li class="nav-item"><a class="nav-link" data-card-widget="tab" href="#filters">'.tr('Filtri').' <span class="badge">'.Clause::where('idmodule', $record->id)->count().' </span></a></li>
|
<li class="nav-item"><a class="nav-link" data-card-widget="tab" href="#filters">'.tr('Filtri').' <span class="badge badge-info">'.Clause::where('idmodule', $record->id)->count().' </span></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<br>
|
||||||
|
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ foreach ($fields as $key => $field) {
|
||||||
$editable = !($field->default && $enable_readonly);
|
$editable = !($field->default && $enable_readonly);
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
<div class="card collapsed-card card-'.($field->visible ? 'success' : 'danger').'">
|
<div class="card collapsed-card card-outline card-'.($field->visible ? 'success' : 'danger').'">
|
||||||
<div class="card-header with-border">
|
<div class="card-header with-border">
|
||||||
<h3 class="card-title">'.
|
<h3 class="card-title">'.
|
||||||
$field->getTranslation('title').' <small class="text-muted tip" title="'.(new Carbon\Carbon($field->updated_at))->format('d/m/Y H:i').'">('.tr('modificato').' '.(new Carbon\Carbon($field->updated_at))->diffForHumans().')</small>
|
$field->getTranslation('title').' <small class="text-muted tip" title="'.(new Carbon\Carbon($field->updated_at))->format('d/m/Y H:i').'">('.tr('modificato').' '.(new Carbon\Carbon($field->updated_at))->diffForHumans().')</small>
|
||||||
|
|
|
@ -34,7 +34,7 @@ if (!empty($additionals)) {
|
||||||
$editable = !($additional['default'] && $enable_readonly);
|
$editable = !($additional['default'] && $enable_readonly);
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
<div class="card collapsed-card card-'.($additional['enabled'] ? 'success' : 'danger').'">
|
<div class="card collapsed-card card-outline card-'.($additional['enabled'] ? 'success' : 'danger').'">
|
||||||
<div class="card-header with-border">
|
<div class="card-header with-border">
|
||||||
<h3 class="card-title">'.
|
<h3 class="card-title">'.
|
||||||
tr('Filtro: _NAME_', [
|
tr('Filtro: _NAME_', [
|
||||||
|
|
Loading…
Reference in New Issue