Rev 16894 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
<?php$currentUserHelper = $this->currentUserHelper();$user = $currentUserHelper->getUser();$company = $currentUserHelper->getCompany();$notify = '';$messages = $this->flashMessenger()->getInfoMessages();foreach ($messages as $message) {$notify .= "$.fn.showInfo('$message')";}$messages = $this->flashMessenger()->getSuccessMessages();foreach ($messages as $message) {$notify .= "$.fn.showSuccess('$message')";}$messages = $this->flashMessenger()->getWarningMessages();foreach ($messages as $message) {$notify .= " $.fn.showWarning('$message')";}$messages = $this->flashMessenger()->getErrorMessages();foreach ($messages as $message) {$notify .= " $.fn.showError('$message')";}if ($notify) {$this->inlineScript()->captureStart();echo " jQuery( document ).ready(function( $ ) { $notify }); ";$this->inlineScript()->captureEnd();}?><!DOCTYPE html><html lang="en"><head><?phpecho $this->headTitle();?><link rel="shortcut icon" href="<?php echo $this->networkFavicoHelper(); ?>"><?phpecho $this->headMeta()->appendHttpEquiv('X-UA-Compatible', 'IE=edge')->appendHttpEquiv('expires', '0')->appendHttpEquiv('expires', 'Tue, 01 Jan 1980 1:00:00 GMT')->appendHttpEquiv('pragma', 'no-cache')->appendHttpEquiv('Cache-Control', 'no-store')->appendHttpEquiv('Cache-Control', 'max-age=0')->appendHttpEquiv('Cache-Control', 'no-cache')->appendHttpEquiv('charset', 'UTF-8')->appendName('viewport', 'width=device-width, initial-scale=1.0');?><!-- Fonts --><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet"><!-- End fonts --><!-- core:css --><link rel="stylesheet" href="<?php echo $this->basePath('assets/vendors/core/core.css') ?>"><!-- endinject --><!-- Plugin css for this page --><!-- End plugin css for this page --><!-- inject:css --><link rel="stylesheet" href="<?php echo $this->basePath('assets/fonts/feather-font/css/iconfont.css') ?>"><link rel="stylesheet" href="<?php echo $this->basePath('assets/vendors/flag-icon-css/css/flag-icon.min.css') ?>"><!-- endinject --><link rel="stylesheet" href="<?php echo $this->basePath('assets/vendors/perfect-scrollbar/perfect-scrollbar.css') ?>" /><link rel="stylesheet" href="<?php echo $this->basePath('assets/vendors/toastr/toastr.min.css') ?>" /><link rel="stylesheet" href="<?php echo $this->basePath('assets/vendors/font-awesome/css/all.css') ?>"><!-- Layout styles --><link rel="stylesheet" href="<?php echo $this->basePath('assets/css/style.css') ?>"><!-- End layout styles --><link rel="stylesheet" href="<?php echo $this->basePath('assets/css/cesa.css'); ?>"><!--<link rel="stylesheet" href="<?php echo $this->basePath('assets/css/old/style.css') ?>"><link rel="stylesheet" href="<?php echo $this->basePath('assets/css/old/style-cesa.css') ?>">--><?php if ($currentUserHelper->hasIdentity()) : ?><!--<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('assets/css/icons.css') ?>" /><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('assets/vendors/smiley/assets/sprites/emojione.sprites.css') ?>" /><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('assets/vendors/uploader/jquery.ui.plupload/css/jquery-ui.css') ?>" /><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('assets/vendors/uploader/jquery.ui.plupload/css/jquery.ui.plupload.css') ?>" /><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('assets/css/chat.css') ?>" /><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('assets/css/style-cesa.css') ?>" /><link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('assets/css/responsive-cesa.css') ?>" /><link rel="stylesheet" href="<?php echo $this->basePath('css/main.css') ?>">--><?php endif; ?><?phpecho $this->headStyle();echo $this->networkStylesAndColorsHelper();echo $this->headLink();echo $this->headScript();?></head><body><div class="main-wrapper"><div class="page-wrapper"><nav class="sidebar"><div class="sidebar-header"><a href="<?php echo $this->url('dashboard') ?>" class="sidebar-brand"><?php if ($company) : ?><img src="<?php echo $this->url('storage', ['type' => 'company', 'code' => $company->uuid, 'filename' => $company->image]) ?>" alt="LABEL_ADMINISTRATION" class="wd-auto ht-50" style="opacity: .8"><?php else : ?><img src="/assets/images/ll-logo.png" alt="LABEL_ADMINISTRATION" class="wd-auto ht-50" style="opacity: .8"><?php endif; ?></a><!--<div class="sidebar-toggler not-active"><span></span><span></span><span></span></div>--></div><div class="sidebar-body ps ps--active-y"><ul class="nav"><?php echo $this->menuHelper() ?></ul><div class="ps__rail-x" style="left: 0px; bottom: 0px;"><div class="ps__thumb-x" tabindex="0" style="left: 0px; width: 0px;"></div></div><div class="ps__rail-y" style="top: 0px; height: 497px; right: 0px;"><div class="ps__thumb-y" tabindex="0" style="top: 0px; height: 301px;"></div></div></div></nav><nav class="navbar"><a href="#" class="sidebar-toggler"><i data-feather="menu"></i></a><div class="navbar-content"><ul class="navbar-nav"><li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="#" id="profileDropdown" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><img class="wd-30 ht-30 rounded-circle" src="<?php echo $this->url('storage', ['type' => 'user', 'code' => $user->uuid, 'filename' => $user->image]) ?>" alt="profile"></a><div class="dropdown-menu p-0" aria-labelledby="profileDropdown"><div class="d-flex flex-column align-items-center border-bottom px-5 py-3"><div class=""><img class="wd-80 ht-80 rounded-circle" src="<?php echo $this->url('storage', ['type' => 'user', 'code' => $user->uuid, 'filename' => $user->image]) ?>" alt=""></div><div class="text-center"><p class="tx-16 fw-bolder"><?php echo $user->first_name . ' ' . $user->last_name ?></p><p class="tx-12 text-muted"><?php echo $user->email ?></p></div></div><ul class="list-unstyled p-1"><li class="dropdown-item py-2"><a href="<?php echo $this->url('signout') ?>" class="text-body ms-0"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-log-out me-2 icon-md"><path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path><polyline points="16 17 21 12 16 7"></polyline><line x1="21" y1="12" x2="9" y2="12"></line></svg><span>LABEL_LOGOUT</span></a></li></ul></div></li></ul></div></nav><div class="page-content"><?php echo $this->content ?></div><footer class="footer d-flex flex-column flex-md-row align-items-center justify-content-between px-4 py-3 border-top small"><p class="text-muted mb-1 mb-md-0">Copyright © <?php echo date('Y') ?> <a href="https://www.cesams.com" target="_blank">CESA Management Solutions</a>.</p></footer></div></div><!-- core:js --><script src="<?php echo $this->basePath('assets/vendors/core/core.js') ?>"></script><!-- endinject --><!-- Plugin js for this page --><!-- End plugin js for this page --><!-- inject:js --><script src="<?php echo $this->basePath('assets/vendors/feather-icons/feather.min.js') ?>"></script><script src="<?php echo $this->basePath('assets/js/template.js') ?>"></script><!-- endinject --><script src="<?php echo $this->basePath('assets/vendors/jquery/jquery.js') ?>"></script><script src="<?php echo $this->basePath('assets/vendors/popper/popper.js') ?>"></script><script src="<?php echo $this->basePath('assets/vendors/perfect-scrollbar/perfect-scrollbar.js') ?>"></script><script src="<?php echo $this->basePath('assets/vendors/sweetalert2/sweetalert2.all.js') ?>"></script><script src="<?php echo $this->basePath('assets/vendors/toastr/toastr.min.js') ?>"></script><script src="<?php echo $this->basePath('assets/vendors/jquery-validation/jquery.validate.js') ?>"></script><script src="<?php echo $this->basePath('assets/vendors/jquery-validation/additional-methods.js') ?>"></script><script src="<?php echo $this->basePath('assets/vendors/jquery-validation/localization/messages_es.js') ?>"></script><script src="<?php echo $this->basePath('assets/js/cesa.js') ?>"></script><?php if ($currentUserHelper->hasIdentity()) : ?><script type="text/javascript" src="<?php echo $this->basePath('assets/vendors/smiley/smiley.js') ?>"></script><script type="text/javascript" src="<?php echo $this->basePath('assets/vendors/smiley/js/emojione.min.js') ?>"></script><?php endif; ?><?phpecho $this->inlineScript();?></body></html>