diff --git a/ci4/app/Views/themes/backend/vuexy/form/configuracion/papel/viewPapelImpresionForm.php b/ci4/app/Views/themes/backend/vuexy/form/configuracion/papel/viewPapelImpresionForm.php index 7d65282d..8f63c14e 100644 --- a/ci4/app/Views/themes/backend/vuexy/form/configuracion/papel/viewPapelImpresionForm.php +++ b/ci4/app/Views/themes/backend/vuexy/form/configuracion/papel/viewPapelImpresionForm.php @@ -231,16 +231,9 @@ ] } ); - editor.on( 'initCreate', function () { if ($('#tableOfPapelimpresiontipologias').DataTable().data().count() >= 3){ - Swal.fire({ - title: '', - icon: 'info', - confirmButtonColor: '#3085d6', - confirmButtonText: '', - - }); + popErrorAlert(); } } ); @@ -495,11 +488,7 @@ yeniden(json.); if(json.error){ document.getElementById("check_" + json.data.papel_impresion_id).checked = false; - Swal.fire({ - icon: 'error', - title: '', - text: json.error, - }); + popErrorAlert(json.error); } }); @@ -511,8 +500,7 @@ .submit(); } ); - - // Para los calculos del precio + // Calculos del precio $("#ancho").on('input', function () { updateValue(); }); @@ -546,18 +534,14 @@ $('#precioPliego').val(value2); } - endSection() ?> -section('css') ?> +section('css') ?> - - endSection() ?> - section('additionalExternalJs') ?> @@ -566,8 +550,6 @@ - - endSection() ?> diff --git a/ci4/app/Views/themes/backend/vuexy/form/configuracion/papel/viewPapelImpresionList.php b/ci4/app/Views/themes/backend/vuexy/form/configuracion/papel/viewPapelImpresionList.php index 4ae5971d..6eeece15 100644 --- a/ci4/app/Views/themes/backend/vuexy/form/configuracion/papel/viewPapelImpresionList.php +++ b/ci4/app/Views/themes/backend/vuexy/form/configuracion/papel/viewPapelImpresionList.php @@ -66,8 +66,7 @@ lengthMenu: [ 5, 10, 25, 50, 75, 100, 250, 500, 1000, 2500 ], pageLength: 10, lengthChange: true, - "dom": 'lfBrtip', // 'lfBrtip', // you can try different layout combinations by uncommenting one or the other - // "dom": '<"top"lf><"clear">rt<"bottom"ipB><"clear">', // remember to comment this line if you uncomment the above + "dom": 'lfBrtip', "buttons": [ 'copy', 'csv', 'excel', 'print', { extend: 'pdfHtml5', diff --git a/ci4/app/Views/themes/backend/vuexy/form/tarifas/acabado/viewTarifaAcabadoList.php b/ci4/app/Views/themes/backend/vuexy/form/tarifas/acabado/viewTarifaAcabadoList.php index 86307c6e..0ab800ae 100644 --- a/ci4/app/Views/themes/backend/vuexy/form/tarifas/acabado/viewTarifaAcabadoList.php +++ b/ci4/app/Views/themes/backend/vuexy/form/tarifas/acabado/viewTarifaAcabadoList.php @@ -125,7 +125,7 @@ theTable.row($(row)).invalidate().draw(); popSuccessAlert(data.msg ?? jqXHR.statusText); }).fail((jqXHR, textStatus, errorThrown) => { - popErrorAlert(jqXHR.responseJSON.messages.error) + popErrorAlert(jqXHR.responseJSON.messages.error); }) } }); diff --git a/ci4/app/Views/themes/backend/vuexy/login/header.php b/ci4/app/Views/themes/backend/vuexy/login/header.php index fec3e52d..7b8eb5f5 100644 --- a/ci4/app/Views/themes/backend/vuexy/login/header.php +++ b/ci4/app/Views/themes/backend/vuexy/login/header.php @@ -73,7 +73,7 @@ if (!empty($token) && $tfa == false) { - + diff --git a/ci4/app/Views/themes/backend/vuexy/main/activities_layout.php b/ci4/app/Views/themes/backend/vuexy/main/activities_layout.php index fb37147c..f1925adf 100644 --- a/ci4/app/Views/themes/backend/vuexy/main/activities_layout.php +++ b/ci4/app/Views/themes/backend/vuexy/main/activities_layout.php @@ -77,7 +77,7 @@ if (!empty($token) && $tfa == false) { - + diff --git a/ci4/app/Views/themes/backend/vuexy/main/all.php b/ci4/app/Views/themes/backend/vuexy/main/all.php index c7127724..bdc0b785 100644 --- a/ci4/app/Views/themes/backend/vuexy/main/all.php +++ b/ci4/app/Views/themes/backend/vuexy/main/all.php @@ -77,7 +77,7 @@ if (!empty($token) && $tfa == false) { - + diff --git a/ci4/app/Views/themes/backend/vuexy/main/defaultlayout.php b/ci4/app/Views/themes/backend/vuexy/main/defaultlayout.php index 7a225272..bd145fa5 100644 --- a/ci4/app/Views/themes/backend/vuexy/main/defaultlayout.php +++ b/ci4/app/Views/themes/backend/vuexy/main/defaultlayout.php @@ -77,7 +77,7 @@ if (!empty($token) && $tfa == false) { - + @@ -86,6 +86,8 @@ if (!empty($token) && $tfa == false) { renderSection('css') ?> + + diff --git a/ci4/app/Views/themes/backend/vuexy/main/demo_view.php b/ci4/app/Views/themes/backend/vuexy/main/demo_view.php index 5c96ceb5..5efa5c48 100644 --- a/ci4/app/Views/themes/backend/vuexy/main/demo_view.php +++ b/ci4/app/Views/themes/backend/vuexy/main/demo_view.php @@ -76,7 +76,7 @@ if (!empty($token) && $tfa == false) { - + diff --git a/ci4/app/Views/themes/backend/vuexy/main/general_settings_layout.php b/ci4/app/Views/themes/backend/vuexy/main/general_settings_layout.php index 67d418c0..c2ae8a35 100644 --- a/ci4/app/Views/themes/backend/vuexy/main/general_settings_layout.php +++ b/ci4/app/Views/themes/backend/vuexy/main/general_settings_layout.php @@ -77,7 +77,7 @@ if (!empty($token) && $tfa == false) { - + diff --git a/ci4/app/Views/themes/backend/vuexy/main/header.php b/ci4/app/Views/themes/backend/vuexy/main/header.php index ff069297..5edbb201 100644 --- a/ci4/app/Views/themes/backend/vuexy/main/header.php +++ b/ci4/app/Views/themes/backend/vuexy/main/header.php @@ -79,7 +79,7 @@ if (!empty($token) && $tfa == false) { - + diff --git a/ci4/app/Views/themes/backend/vuexy/main/presupuestos_layout.php b/ci4/app/Views/themes/backend/vuexy/main/presupuestos_layout.php index ae5a4b4d..bbefab79 100644 --- a/ci4/app/Views/themes/backend/vuexy/main/presupuestos_layout.php +++ b/ci4/app/Views/themes/backend/vuexy/main/presupuestos_layout.php @@ -77,7 +77,7 @@ if (!empty($token) && $tfa == false) { - + diff --git a/httpdocs/themes/vuexy/css/demo.css b/httpdocs/themes/vuexy/css/safekat.css similarity index 99% rename from httpdocs/themes/vuexy/css/demo.css rename to httpdocs/themes/vuexy/css/safekat.css index 277097b9..4914d797 100644 --- a/httpdocs/themes/vuexy/css/demo.css +++ b/httpdocs/themes/vuexy/css/safekat.css @@ -1,5 +1,5 @@ /* -* demo.css +* safekat.css * File include item demo only specific css only ******************************************************************************/ diff --git a/httpdocs/themes/vuexy/css/sk-datatables.css b/httpdocs/themes/vuexy/css/sk-datatables.css new file mode 100644 index 00000000..6f1342e2 --- /dev/null +++ b/httpdocs/themes/vuexy/css/sk-datatables.css @@ -0,0 +1,15 @@ + +/* Overwrite datatables styles */ + +table.dataTable.table-striped > tbody > tr.odd.selected > * { + box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.5); +} + +table.dataTable > tbody > tr.selected > * { + box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.5); + color: white; +} + +table.dataTable.table-hover > tbody > tr.selected:hover > * { + box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.65); +} \ No newline at end of file