Rev 16822 | AutorÃa | Comparar con el anterior | Ultima modificación | Ver Log |
<?php
$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>
<?php
echo $this->headTitle();
?>
<link rel="shortcut icon" href="<?php echo $this->networkFavicoHelper(); ?>">
<?php
echo $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.cs') ?>">
<!-- 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 -->
<!-- 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'); ?>">
<?php
echo $this->headStyle();
echo $this->networkStylesAndColorsHelper();
echo $this->headLink();
echo $this->headScript();
?>
</head>
<body>
<div class="main-wrapper">
<div class="page-wrapper full-page">
<div class="page-content d-flex align-items-center justify-content-center">
<div class="row w-100 mx-0 auth-page">
<div class="col-md-8 col-xl-6 mx-auto">
<?php echo $this->content ?>
</div>
</div>
</div>
</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>
<!-- Custom js for this page -->
<!-- End custom js for this page -->
<?php
echo $this->inlineScript();
?>
</body>
</html>