1 |
www |
1 |
<?php
|
11565 |
efrain |
2 |
$currentUserHelper = $this->currentUserHelper();
|
|
|
3 |
$user = $currentUserHelper->getUser();
|
|
|
4 |
$company = $currentUserHelper->getCompany();
|
1 |
www |
5 |
|
|
|
6 |
$notify = '';
|
|
|
7 |
$messages = $this->flashMessenger()->getInfoMessages();
|
4686 |
stevensc |
8 |
foreach ($messages as $message) {
|
|
|
9 |
$notify .= "$.fn.showInfo('$message')";
|
1 |
www |
10 |
}
|
|
|
11 |
|
|
|
12 |
$messages = $this->flashMessenger()->getSuccessMessages();
|
4686 |
stevensc |
13 |
foreach ($messages as $message) {
|
|
|
14 |
$notify .= "$.fn.showSuccess('$message')";
|
1 |
www |
15 |
}
|
|
|
16 |
|
|
|
17 |
$messages = $this->flashMessenger()->getWarningMessages();
|
4686 |
stevensc |
18 |
foreach ($messages as $message) {
|
|
|
19 |
$notify .= " $.fn.showWarning('$message')";
|
1 |
www |
20 |
}
|
|
|
21 |
|
|
|
22 |
$messages = $this->flashMessenger()->getErrorMessages();
|
4686 |
stevensc |
23 |
foreach ($messages as $message) {
|
|
|
24 |
$notify .= " $.fn.showError('$message')";
|
1 |
www |
25 |
}
|
|
|
26 |
|
4686 |
stevensc |
27 |
if ($notify) {
|
|
|
28 |
$this->inlineScript()->captureStart();
|
|
|
29 |
echo " jQuery( document ).ready(function( $ ) { $notify }); ";
|
|
|
30 |
$this->inlineScript()->captureEnd();
|
1 |
www |
31 |
}
|
|
|
32 |
|
15089 |
efrain |
33 |
|
|
|
34 |
|
8922 |
stevensc |
35 |
|
|
|
36 |
|
1 |
www |
37 |
?>
|
|
|
38 |
<!DOCTYPE html>
|
|
|
39 |
<html lang="es">
|
|
|
40 |
|
4686 |
stevensc |
41 |
<head>
|
15762 |
stevensc |
42 |
<?php
|
|
|
43 |
echo $this->headTitle();
|
|
|
44 |
?>
|
|
|
45 |
<link rel="icon" href="<?php echo $this->networkFavicoHelper(); ?>">
|
|
|
46 |
<?php
|
4686 |
stevensc |
47 |
echo $this->headMeta()->appendHttpEquiv('X-UA-Compatible', 'IE=edge')
|
|
|
48 |
->appendHttpEquiv('expires', '0')
|
|
|
49 |
->appendHttpEquiv('expires', 'Tue, 01 Jan 1980 1:00:00 GMT')
|
|
|
50 |
->appendHttpEquiv('pragma', 'no-cache')
|
|
|
51 |
->appendHttpEquiv('Cache-Control', 'no-store')
|
|
|
52 |
->appendHttpEquiv('Cache-Control', 'max-age=0')
|
|
|
53 |
->appendHttpEquiv('Cache-Control', 'no-cache')
|
|
|
54 |
->appendHttpEquiv('charset', 'UTF-8')
|
|
|
55 |
->appendName('viewport', 'width=device-width, initial-scale=1.0');
|
|
|
56 |
?>
|
1 |
www |
57 |
|
14575 |
stevensc |
58 |
<!-- Google Font: Source Sans Pro -->
|
|
|
59 |
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
|
|
|
60 |
<!-- Font Awesome -->
|
|
|
61 |
<link rel="stylesheet" href="<?php echo $this->basePath('plugins/font-awesome/css/font-awesome.css') ?>">
|
4686 |
stevensc |
62 |
<!-- Theme style -->
|
|
|
63 |
<link rel="stylesheet" href="<?php echo $this->basePath('css/adminlte.min.css') ?>">
|
1 |
www |
64 |
|
16806 |
efrain |
65 |
|
11578 |
nelberth |
66 |
<?php if ($currentUserHelper->hasIdentity()) : ?>
|
14575 |
stevensc |
67 |
<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/icons.css') ?>" />
|
|
|
68 |
<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/smiley/assets/sprites/emojione.sprites.css') ?>" />
|
|
|
69 |
<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/uploader/jquery.ui.plupload/css/jquery-ui.css') ?>" />
|
|
|
70 |
<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('vendors/uploader/jquery.ui.plupload/css/jquery.ui.plupload.css') ?>" />
|
|
|
71 |
|
15762 |
stevensc |
72 |
|
15768 |
stevensc |
73 |
<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/chat.css') ?>" />
|
16811 |
stevensc |
74 |
|
14575 |
stevensc |
75 |
<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/style-cesa.css') ?>" />
|
14900 |
stevensc |
76 |
<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('css/responsive-cesa.css') ?>" />
|
16811 |
stevensc |
77 |
|
|
|
78 |
|
15158 |
stevensc |
79 |
<link rel="stylesheet" href="<?php echo $this->basePath('css/main.css') ?>">
|
15762 |
stevensc |
80 |
|
16811 |
stevensc |
81 |
|
11565 |
efrain |
82 |
<?php endif; ?>
|
11578 |
nelberth |
83 |
<?php
|
|
|
84 |
echo $this->headStyle();
|
15337 |
efrain |
85 |
echo $this->networkStylesAndColorsHelper();
|
11578 |
nelberth |
86 |
echo $this->headLink();
|
|
|
87 |
echo $this->headScript();
|
|
|
88 |
?>
|
15202 |
stevensc |
89 |
|
4686 |
stevensc |
90 |
</head>
|
|
|
91 |
|
16806 |
efrain |
92 |
<body class="hold-transition layout-top-nav">
|
4686 |
stevensc |
93 |
<!-- Site wrapper -->
|
14150 |
stevensc |
94 |
<div class="wrapper">
|
14575 |
stevensc |
95 |
|
8759 |
stevensc |
96 |
|
16807 |
stevensc |
97 |
<nav class="main-header navbar navbar-expand-md navbar-light navbar-white">
|
|
|
98 |
<div class="container">
|
|
|
99 |
<a href="<?php echo $this->url('dashboard') ?>" class="navbar-brand">
|
|
|
100 |
<?php if ($company) : ?>
|
|
|
101 |
<img src="<?php echo $this->url('storage', ['type' => 'company', 'code' => $company->uuid, 'filename' => $company->image]) ?>" alt="LABEL_ADMINISTRATION" class="brand-image img-circle elevation-3" style="opacity: .8">
|
|
|
102 |
<?php else : ?>
|
|
|
103 |
<img src="img/ll-logo.png" alt="LABEL_ADMINISTRATION" class="brand-image img-circle elevation-3" style="opacity: .8">
|
|
|
104 |
<?php endif; ?>
|
16805 |
efrain |
105 |
|
16807 |
stevensc |
106 |
<span class="brand-text font-weight-light"> </span>
|
16806 |
efrain |
107 |
|
16807 |
stevensc |
108 |
</a>
|
|
|
109 |
|
|
|
110 |
<div class="collapse navbar-collapse order-3" id="navbarCollapse">
|
|
|
111 |
|
|
|
112 |
<ul class="navbar-nav">
|
|
|
113 |
<?php echo $this->menuHelper() ?>
|
|
|
114 |
</ul>
|
|
|
115 |
</div>
|
|
|
116 |
</div>
|
|
|
117 |
</nav>
|
|
|
118 |
|
|
|
119 |
|
4686 |
stevensc |
120 |
<!-- Content Wrapper. Contains page content -->
|
14143 |
stevensc |
121 |
<div class="content-wrapper">
|
4686 |
stevensc |
122 |
<section class="content">
|
|
|
123 |
<?php echo $this->content ?>
|
|
|
124 |
</section>
|
14575 |
stevensc |
125 |
|
|
|
126 |
|
|
|
127 |
<?php
|
11565 |
efrain |
128 |
if ($currentUserHelper->hasIdentity()) {
|
14575 |
stevensc |
129 |
echo $this->chatHelper($user->id);
|
11565 |
efrain |
130 |
}
|
|
|
131 |
?>
|
14575 |
stevensc |
132 |
|
4686 |
stevensc |
133 |
<!-- /.content -->
|
|
|
134 |
</div>
|
|
|
135 |
<!-- /.content-wrapper -->
|
|
|
136 |
</div>
|
|
|
137 |
<!-- jQuery -->
|
|
|
138 |
<script src="<?php echo $this->basePath('plugins/jquery/jquery.js') ?>"></script>
|
|
|
139 |
<!-- Bootstrap 4 -->
|
|
|
140 |
<script src="<?php echo $this->basePath('plugins/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
|
|
|
141 |
<!-- AdminLTE App -->
|
8906 |
stevensc |
142 |
<script src="<?php echo $this->basePath('js/adminlte.min.js') ?>"></script>
|
4686 |
stevensc |
143 |
<!-- Aplicacion -->
|
|
|
144 |
<script src="<?php echo $this->basePath('plugins/bootstrap-notify/bootstrap-notify.min.js') ?>"></script>
|
|
|
145 |
<script src="<?php echo $this->basePath('js/app.js') ?>"></script>
|
11577 |
nelberth |
146 |
<?php if ($currentUserHelper->hasIdentity()) : ?>
|
|
|
147 |
<script type="text/javascript" src="<?php echo $this->basePath('vendors/smiley/smiley.js') ?>"></script>
|
|
|
148 |
<script type="text/javascript" src="<?php echo $this->basePath('vendors/smiley/js/emojione.min.js') ?>"></script>
|
|
|
149 |
<?php endif; ?>
|
4686 |
stevensc |
150 |
<?php
|
|
|
151 |
echo $this->inlineScript();
|
|
|
152 |
?>
|
14575 |
stevensc |
153 |
|
|
|
154 |
|
4686 |
stevensc |
155 |
</body>
|
|
|
156 |
|
1 |
www |
157 |
</html>
|