mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Cambios en menus y correccion de error en login (consola error cambiador de estilo dark/light)
This commit is contained in:
@ -381,7 +381,7 @@ if (!empty($token) && $tfa == false) {
|
||||
data-bs-auto-close="outside"
|
||||
aria-expanded="false"
|
||||
>
|
||||
<i class="ti ti-eye ti-md"></i>
|
||||
<i class="ti ti-building ti-md"></i>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-end py-0">
|
||||
<div class="dropdown-menu-header border-bottom">
|
||||
|
||||
@ -148,7 +148,7 @@ if (!empty($token) && $tfa == false) {
|
||||
data-bs-auto-close="outside"
|
||||
aria-expanded="false"
|
||||
>
|
||||
<i class="ti ti-eye ti-md"></i>
|
||||
<i class="ti ti-building ti-md"></i>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-end py-0">
|
||||
<div class="dropdown-menu-header border-bottom">
|
||||
|
||||
@ -148,7 +148,7 @@ if (!empty($token) && $tfa == false) {
|
||||
data-bs-auto-close="outside"
|
||||
aria-expanded="false"
|
||||
>
|
||||
<i class="ti ti-eye ti-md"></i>
|
||||
<i class="ti ti-building ti-md"></i>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-end py-0">
|
||||
<div class="dropdown-menu-header border-bottom">
|
||||
|
||||
@ -304,35 +304,6 @@
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php
|
||||
/**
|
||||
* MENU MAQUETACION
|
||||
*/
|
||||
if (count(getArrayItem($menus, 'name', 'Maquetacion')) > 0): ?>
|
||||
<!-- Maquetacion -->
|
||||
<li class="menu-item">
|
||||
<a href="<?= site_url("servicios/maquetacion") ?>" class="menu-link">
|
||||
<i class="menu-icon tf-icons ti ti-ruler-2"></i>
|
||||
<div data-i18n="<?= lang("App.menu_maquetacion") ?>"><?= lang("App.menu_maquetacion") ?></div>
|
||||
</a>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php
|
||||
/**
|
||||
* MENU IMPRESION
|
||||
*/
|
||||
if (count(getArrayItem($menus, 'name', 'Impresion')) > 0): ?>
|
||||
<!-- Printing -->
|
||||
<li class="menu-item">
|
||||
<a href="<?= site_url("servicios/impresion") ?>" class="menu-link">
|
||||
<i class="menu-icon tf-icons ti ti-printer"></i>
|
||||
<div data-i18n="<?= lang("App.menu_impresion") ?>"><?= lang("App.menu_impresion") ?></div>
|
||||
</a>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
|
||||
<li class="menu-header small text-uppercase">
|
||||
|
||||
@ -451,7 +451,7 @@
|
||||
* MENU CONFIGURACION
|
||||
*/
|
||||
if (allowMenuSection($menus,
|
||||
['Calendario', 'Paises', 'Users', 'Group'], 'index')): ?>
|
||||
['Calendario', 'Paises', 'Users', 'Group', 'Papelesgenericos', 'Papelesimpresion'], 'index')): ?>
|
||||
<li class="menu-item">
|
||||
<a href="javascript:void(0);" class="menu-link menu-toggle">
|
||||
<i class="menu-icon tf-icons ti ti-adjustments-horizontal"></i>
|
||||
@ -494,6 +494,24 @@
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if (count($temp = getArrayItem($menus, 'name', 'Papelesgenericos')) > 0): ?>
|
||||
<?php if (count(getArrayItem($temp, 'methods', 'index', true)) > 0): ?>
|
||||
<li class="menu-item">
|
||||
<a href="<?= site_url("configuracion/papelesgenericos") ?>" class="menu-link">
|
||||
<div data-i18n="<?= lang("App.menu_papelgenerico") ?>"><?= lang("App.menu_papelgenerico") ?></div>
|
||||
</a>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if (count($temp = getArrayItem($menus, 'name', 'Papelesimpresion')) > 0): ?>
|
||||
<?php if (count(getArrayItem($temp, 'methods', 'index', true)) > 0): ?>
|
||||
<li class="menu-item">
|
||||
<a href="<?= site_url("configuracion/papelesimpresion") ?>" class="menu-link">
|
||||
<div data-i18n="<?= lang("App.menu_papelimpresion") ?>"><?= lang("App.menu_papelimpresion") ?></div>
|
||||
</a>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
@ -514,37 +532,6 @@
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php
|
||||
/**
|
||||
* MENU MAQUETACION
|
||||
*/
|
||||
if (count(getArrayItem($menus, 'name', 'Maquetacion')) > 0): ?>
|
||||
<!-- Maquetacion -->
|
||||
<li class="menu-item">
|
||||
<a href="<?= site_url("servicios/maquetacion") ?>" class="menu-link">
|
||||
<i class="menu-icon tf-icons ti ti-ruler-2"></i>
|
||||
<div data-i18n="<?= lang("App.menu_maquetacion") ?>"><?= lang("App.menu_maquetacion") ?></div>
|
||||
</a>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php
|
||||
/**
|
||||
* MENU DIGITALIZACIÓN
|
||||
*/
|
||||
if (count(getArrayItem($menus, 'name', 'Digitalizacion')) > 0): ?>
|
||||
<!-- Digitalization -->
|
||||
<li class="menu-item">
|
||||
<a href="<?= site_url("servicios/digitalizacion") ?>" class="menu-link">
|
||||
<i class="menu-icon tf-icons ti ti-file-code-2"></i>
|
||||
<div data-i18n="<?= lang("App.menu_digitalizacion") ?>"><?= lang("App.menu_digitalizacion") ?></div>
|
||||
</a>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
|
||||
<li class="menu-header small text-uppercase">
|
||||
<span class="menu-header-text">Ajustes del Sistema</span>
|
||||
</li>
|
||||
|
||||
@ -327,36 +327,6 @@
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php
|
||||
/**
|
||||
* MENU IMPRESION
|
||||
*/
|
||||
if (count(getArrayItem($menus, 'name', 'Impresion')) > 0): ?>
|
||||
<!-- Printing -->
|
||||
<li class="menu-item">
|
||||
<a href="<?= site_url("servicios/impresion") ?>" class="menu-link">
|
||||
<i class="menu-icon tf-icons ti ti-printer"></i>
|
||||
<div data-i18n="<?= lang("App.menu_impresion") ?>"><?= lang("App.menu_impresion") ?></div>
|
||||
</a>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php
|
||||
/**
|
||||
* MENU DIGITALIZACIÓN
|
||||
*/
|
||||
if (count(getArrayItem($menus, 'name', 'Digitalizacion')) > 0): ?>
|
||||
<!-- Digitalization -->
|
||||
<li class="menu-item">
|
||||
<a href="<?= site_url("servicios/digitalizacion") ?>" class="menu-link">
|
||||
<i class="menu-icon tf-icons ti ti-file-code-2"></i>
|
||||
<div data-i18n="<?= lang("App.menu_digitalizacion") ?>"><?= lang("App.menu_digitalizacion") ?></div>
|
||||
</a>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
|
||||
<li class="menu-header small text-uppercase">
|
||||
<span class="menu-header-text">Ajustes del Sistema</span>
|
||||
|
||||
Reference in New Issue
Block a user