Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 16846 | Rev 16893 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 16846 Rev 16848
Línea 35... Línea 35...
35
 
35
 
36
 
36
 
37
?>
37
?>
-
 
38
<!DOCTYPE html>
38
<!DOCTYPE html>
39
<html lang="en">
39
<html lang="en">
40
 
40
	<head>
41
<head>
41
		<?php 
42
	<?php
42
        echo $this->headTitle();
43
	echo $this->headTitle();
43
        ?>
44
	?>
44
    	<link rel="shortcut icon" href="<?php echo $this->networkFavicoHelper(); ?>">
45
	<link rel="shortcut icon" href="<?php echo $this->networkFavicoHelper(); ?>">
45
       	<?php
46
	<?php
46
        echo $this->headMeta()->appendHttpEquiv('X-UA-Compatible', 'IE=edge')
47
	echo $this->headMeta()->appendHttpEquiv('X-UA-Compatible', 'IE=edge')
47
            ->appendHttpEquiv('expires','0')
48
		->appendHttpEquiv('expires', '0')
48
            ->appendHttpEquiv('expires','Tue, 01 Jan 1980 1:00:00 GMT')
49
		->appendHttpEquiv('expires', 'Tue, 01 Jan 1980 1:00:00 GMT')
49
            ->appendHttpEquiv('pragma', 'no-cache')
50
		->appendHttpEquiv('pragma', 'no-cache')
50
            ->appendHttpEquiv('Cache-Control', 'no-store')
51
		->appendHttpEquiv('Cache-Control', 'no-store')
51
            ->appendHttpEquiv('Cache-Control', 'max-age=0')
52
		->appendHttpEquiv('Cache-Control', 'max-age=0')
52
            ->appendHttpEquiv('Cache-Control', 'no-cache')
53
		->appendHttpEquiv('Cache-Control', 'no-cache')
53
            ->appendHttpEquiv('charset', 'UTF-8')
54
		->appendHttpEquiv('charset', 'UTF-8')
54
            ->appendName('viewport', 'width=device-width, initial-scale=1.0');
55
		->appendName('viewport', 'width=device-width, initial-scale=1.0');
55
        ?>
56
	?>
56
 
57
 
57
      <!-- Fonts -->
58
	<!-- Fonts -->
58
      <link rel="preconnect" href="https://fonts.googleapis.com">
59
	<link rel="preconnect" href="https://fonts.googleapis.com">
59
      <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
60
	<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
60
      <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet">
61
	<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet">
61
      <!-- End fonts -->
62
	<!-- End fonts -->
62
 
63
 
63
    	<!-- core:css -->
64
	<!-- core:css -->
64
    	<link rel="stylesheet" href="<?php echo $this->basePath('assets/vendors/core/core.css') ?>">
65
	<link rel="stylesheet" href="<?php echo $this->basePath('assets/vendors/core/core.css') ?>">
65
    	<!-- endinject -->
66
	<!-- endinject -->
66
    
67
 
67
    	<!-- Plugin css for this page -->
68
	<!-- Plugin css for this page -->
68
    	<!-- End plugin css for this page -->
69
	<!-- End plugin css for this page -->
69
    
70
 
70
    	<!-- inject:css -->
71
	<!-- inject:css -->
71
    	<link rel="stylesheet" href="<?php echo $this->basePath('assets/fonts/feather-font/css/iconfont.css') ?>">
72
	<link rel="stylesheet" href="<?php echo $this->basePath('assets/fonts/feather-font/css/iconfont.css') ?>">
72
    	<link rel="stylesheet" href="<?php echo $this->basePath('assets/vendors/flag-icon-css/css/flag-icon.min.css') ?>">
73
	<link rel="stylesheet" href="<?php echo $this->basePath('assets/vendors/flag-icon-css/css/flag-icon.min.css') ?>">
73
    	<!-- endinject -->
74
	<!-- endinject -->
74
    
75
 
75
      	<link rel="stylesheet" href="<?php echo $this->basePath('assets/vendors/perfect-scrollbar/perfect-scrollbar.css') ?>" />
76
	<link rel="stylesheet" href="<?php echo $this->basePath('assets/vendors/perfect-scrollbar/perfect-scrollbar.css') ?>" />
76
		<link rel="stylesheet" href="<?php echo $this->basePath('assets/vendors/toastr/toastr.min.css') ?>" />
77
	<link rel="stylesheet" href="<?php echo $this->basePath('assets/vendors/toastr/toastr.min.css') ?>" />
77
		
78
 
78
 
79
 
79
		<link rel="stylesheet" href="<?php echo $this->basePath('assets/vendors/font-awesome/css/all.css') ?>">
80
	<link rel="stylesheet" href="<?php echo $this->basePath('assets/vendors/font-awesome/css/all.css') ?>">
80
 
81
 
81
        <!-- Layout styles -->  
82
	<!-- Layout styles -->
82
    	<link rel="stylesheet" href="<?php echo $this->basePath('assets/css/style.css') ?>">
83
	<link rel="stylesheet" href="<?php echo $this->basePath('assets/css/style.css') ?>">
83
        <!-- End layout styles -->
84
	<!-- End layout styles -->
84
 
85
 
85
 
86
 
86
      	<link rel="stylesheet" href="<?php echo $this->basePath('assets/css/cesa.css'); ?>">
87
	<link rel="stylesheet" href="<?php echo $this->basePath('assets/css/cesa.css'); ?>">
87
      	
88
 
88
      	      	<!-- 
89
	<!-- 
89
      	<link rel="stylesheet" href="<?php echo $this->basePath('assets/css/old/style.css') ?>">
90
      	<link rel="stylesheet" href="<?php echo $this->basePath('assets/css/old/style.css') ?>">
90
      	<link rel="stylesheet" href="<?php echo $this->basePath('assets/css/old/style-cesa.css') ?>">
91
      	<link rel="stylesheet" href="<?php echo $this->basePath('assets/css/old/style-cesa.css') ?>">
91
      	 -->
92
      	 -->
92
      	
93
 
93
      
94
 
94
    	<?php if ($currentUserHelper->hasIdentity()) :  ?>
95
	<?php if ($currentUserHelper->hasIdentity()) :  ?>
95
    	<!-- 
96
		<!-- 
96
		<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('assets/css/icons.css') ?>" />
97
		<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('assets/css/icons.css') ?>" />
97
		<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('assets/vendors/smiley/assets/sprites/emojione.sprites.css') ?>" />
98
		<link rel="stylesheet" type="text/css" href="<?php echo $this->basePath('assets/vendors/smiley/assets/sprites/emojione.sprites.css') ?>" />
Línea 107... Línea 108...
107
 
108
 
108
		<link rel="stylesheet" href="<?php echo $this->basePath('css/main.css') ?>">
109
		<link rel="stylesheet" href="<?php echo $this->basePath('css/main.css') ?>">
Línea 109... Línea 110...
109
		-->
110
		-->
110
 
111
 
111
 
112
 
112
		<?php endif; ?>
113
	<?php endif; ?>
113
            
114
 
114
    	<?php 
115
	<?php
115
        echo $this->headStyle();
116
	echo $this->headStyle();
116
        echo $this->networkStylesAndColorsHelper();
117
	echo $this->networkStylesAndColorsHelper();
117
        echo $this->headLink();
118
	echo $this->headLink();
-
 
119
	echo $this->headScript();
118
        echo $this->headScript();
120
	?>
119
        ?>
121
</head>
120
    </head>
122
 
121
	<body>
123
<body>
122
		<div class="main-wrapper">
124
	<div class="main-wrapper">
123
			<div class="page-wrapper">
125
		<div class="page-wrapper">
124
 
126
 
125
     			<nav class="sidebar">
127
			<nav class="sidebar">
126
              		<div class="sidebar-header">
128
				<div class="sidebar-header">
127
						<a href="<?php echo $this->url('dashboard') ?>" class="sidebar-brand">
129
					<a href="<?php echo $this->url('dashboard') ?>" class="sidebar-brand">
128
            				<?php if ($company) : ?>
130
						<?php if ($company) : ?>
129
            					<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">
131
							<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">
130
            				<?php else : ?>
132
						<?php else : ?>
131
            					<img src="/assets/images/ll-logo.png" alt="LABEL_ADMINISTRATION" class="wd-auto ht-50" style="opacity: .8">
133
							<img src="/assets/images/ll-logo.png" alt="LABEL_ADMINISTRATION" class="wd-auto ht-50" style="opacity: .8">
132
            				<?php endif; ?>
134
						<?php endif; ?>
133
						</a>
135
					</a>
134
                    	
136
 
135
                    	<!-- 
137
					<!-- 
136
                    	<div class="sidebar-toggler not-active">
138
                    	<div class="sidebar-toggler not-active">
137
                      		<span></span>
139
                      		<span></span>
138
                      		<span></span>
140
                      		<span></span>
139
                      		<span></span>
-
 
140
                    	</div>
-
 
141
                    	 -->
-
 
142
                  	</div>
-
 
143
                  	<div class="sidebar-body ps ps--active-y">
-
 
144
                    	<ul class="nav">
-
 
145
                      		<?php echo $this->menuHelper() ?>
-
 
146
                    	</ul>
-
 
147
                  		<div class="ps__rail-x" style="left: 0px; bottom: 0px;">
-
 
148
                  			<div class="ps__thumb-x" tabindex="0" style="left: 0px; width: 0px;"></div>
-
 
149
                  		</div>
-
 
150
                  		<div class="ps__rail-y" style="top: 0px; height: 497px; right: 0px;">
-
 
151
                  			<div class="ps__thumb-y" tabindex="0" style="top: 0px; height: 301px;"></div>
-
 
152
                  		</div>
-
 
153
                  	</div>
-
 
154
                </nav>
-
 
155
		
-
 
156
				<nav class="navbar">
-
 
157
					<a href="#" class="sidebar-toggler">
-
 
158
						<i data-feather="menu"></i>
-
 
159
					</a>
-
 
160
					
-
 
161
					
-
 
162
					<div class="navbar-content">
-
 
163
 
-
 
164
						<ul class="navbar-nav">
-
 
165
					
-
 
166
						
-
 
167
						
-
 
168
						
-
 
169
    						<li class="nav-item dropdown">
-
 
170
    							<a class="nav-link dropdown-toggle" href="#" id="profileDropdown" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
-
 
171
    								<img class="wd-30 ht-30 rounded-circle" src="<?php echo $this->url('storage', ['type' => 'user', 'code' => $user->uuid, 'filename' => $user->image]) ?>" alt="profile">
-
 
172
    							</a>
-
 
173
    							<div class="dropdown-menu p-0" aria-labelledby="profileDropdown">
-
 
174
    								<div class="d-flex flex-column align-items-center border-bottom px-5 py-3">
-
 
175
    									<div class="">
-
 
176
    										<img class="wd-80 ht-80 rounded-circle" src="<?php echo $this->url('storage', ['type' => 'user', 'code' => $user->uuid, 'filename' => $user->image]) ?>" alt="">
-
 
177
    									</div>
-
 
178
    									<div class="text-center">
-
 
179
    										<p class="tx-16 fw-bolder"><?php echo $user->first_name . ' ' . $user->last_name ?></p>
-
 
180
    										<p class="tx-12 text-muted"><?php echo $user->email ?></p>
-
 
181
    									</div>
-
 
182
    								</div>
-
 
183
                					<ul class="list-unstyled p-1">
-
 
184
              
-
 
185
                                  		<li class="dropdown-item py-2">
-
 
186
                                    		<a href="<?php echo $this->url('signout')?>" class="text-body ms-0">
-
 
187
                                          		<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>
-
 
188
                                          		<span>LABEL_LOGOUT</span>
-
 
189
                                    		</a>
-
 
190
                                  		</li>
-
 
191
                                	</ul>
-
 
192
    							</div>
-
 
193
    						</li>
-
 
194
    					</ul>
-
 
195
    				</div>
-
 
196
							
-
 
197
	
-
 
198
				</nav>
141
                      		<span></span>
-
 
142
                    	</div>
-
 
143
                    	 -->
-
 
144
				</div>
-
 
145
				<div class="sidebar-body ps ps--active-y">
-
 
146
					<ul class="nav">
-
 
147
						<?php echo $this->menuHelper() ?>
-
 
148
					</ul>
-
 
149
					<div class="ps__rail-x" style="left: 0px; bottom: 0px;">
-
 
150
						<div class="ps__thumb-x" tabindex="0" style="left: 0px; width: 0px;"></div>
-
 
151
					</div>
-
 
152
					<div class="ps__rail-y" style="top: 0px; height: 497px; right: 0px;">
-
 
153
						<div class="ps__thumb-y" tabindex="0" style="top: 0px; height: 301px;"></div>
-
 
154
					</div>
-
 
155
				</div>
-
 
156
			</nav>
-
 
157
 
-
 
158
			<nav class="navbar">
-
 
159
				<a href="#" class="sidebar-toggler">
-
 
160
					<i data-feather="menu"></i>
-
 
161
				</a>
-
 
162
 
-
 
163
 
Línea 199... Línea -...
199
				<div class="page-content">
-
 
200
					<?php echo $this->content ?>
-
 
201
				</div>
-
 
Línea 202... Línea -...
202
 
-
 
Línea -... Línea 164...
-
 
164
				<div class="navbar-content">
-
 
165
 
-
 
166
					<ul class="navbar-nav">
-
 
167
 
-
 
168
 
-
 
169
 
-
 
170
 
-
 
171
						<li class="nav-item dropdown">
-
 
172
							<a class="nav-link dropdown-toggle" href="#" id="profileDropdown" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
-
 
173
								<img class="wd-30 ht-30 rounded-circle" src="<?php echo $this->url('storage', ['type' => 'user', 'code' => $user->uuid, 'filename' => $user->image]) ?>" alt="profile">
-
 
174
							</a>
-
 
175
							<div class="dropdown-menu p-0" aria-labelledby="profileDropdown">
-
 
176
								<div class="d-flex flex-column align-items-center border-bottom px-5 py-3">
-
 
177
									<div class="">
-
 
178
										<img class="wd-80 ht-80 rounded-circle" src="<?php echo $this->url('storage', ['type' => 'user', 'code' => $user->uuid, 'filename' => $user->image]) ?>" alt="">
-
 
179
									</div>
-
 
180
									<div class="text-center">
-
 
181
										<p class="tx-16 fw-bolder"><?php echo $user->first_name . ' ' . $user->last_name ?></p>
-
 
182
										<p class="tx-12 text-muted"><?php echo $user->email ?></p>
-
 
183
									</div>
-
 
184
								</div>
-
 
185
								<ul class="list-unstyled p-1">
-
 
186
 
-
 
187
									<li class="dropdown-item py-2">
-
 
188
										<a href="<?php echo $this->url('signout') ?>" class="text-body ms-0">
-
 
189
											<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">
-
 
190
												<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path>
-
 
191
												<polyline points="16 17 21 12 16 7"></polyline>
-
 
192
												<line x1="21" y1="12" x2="9" y2="12"></line>
-
 
193
											</svg>
-
 
194
											<span>LABEL_LOGOUT</span>
-
 
195
										</a>
-
 
196
									</li>
-
 
197
								</ul>
-
 
198
							</div>
-
 
199
						</li>
-
 
200
					</ul>
203
    			
201
				</div>
-
 
202
 
204
        		<footer class="footer d-flex flex-column flex-md-row align-items-center justify-content-between px-4 py-3 border-top small">
203
 
-
 
204
			</nav>
-
 
205
			<div class="page-content">
-
 
206
				<?php echo $this->content ?>
-
 
207
			</div>
-
 
208
 
205
            		<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>
209
 
Línea -... Línea 210...
-
 
210
			<footer class="footer d-flex flex-column flex-md-row align-items-center justify-content-between px-4 py-3 border-top small">
-
 
211
				<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>
206
 
212
 
207
        		</footer>
213
			</footer>
208
 
214
 
209
			</div>
215
		</div>
210
			
216
 
211
		</div>
217
	</div>
212
 
218
 
213
    	<!-- core:js -->
219
	<!-- core:js -->
214
    	<script src="<?php echo $this->basePath('assets/vendors/core/core.js') ?>"></script>
220
	<script src="<?php echo $this->basePath('assets/vendors/core/core.js') ?>"></script>
215
    	<!-- endinject -->
221
	<!-- endinject -->
216
    
222
 
217
    	<!-- Plugin js for this page -->
223
	<!-- Plugin js for this page -->
218
    	<!-- End plugin js for this page -->
224
	<!-- End plugin js for this page -->
219
    
225
 
220
    	<!-- inject:js -->
226
	<!-- inject:js -->
221
    	<script src="<?php echo $this->basePath('assets/vendors/feather-icons/feather.min.js') ?>"></script>
227
	<script src="<?php echo $this->basePath('assets/vendors/feather-icons/feather.min.js') ?>"></script>
222
    	<script src="<?php echo $this->basePath('assets/js/template.js') ?>"></script>
228
	<script src="<?php echo $this->basePath('assets/js/template.js') ?>"></script>
223
    	<!-- endinject -->
229
	<!-- endinject -->
224
	
230
 
225
	
231
 
226
	    <script src="<?php echo $this->basePath('assets/vendors/jquery/jquery.js') ?>"></script>
232
	<script src="<?php echo $this->basePath('assets/vendors/jquery/jquery.js') ?>"></script>
227
	    <script src="<?php echo $this->basePath('assets/vendors/popper/popper.js') ?>"></script>
233
	<script src="<?php echo $this->basePath('assets/vendors/popper/popper.js') ?>"></script>
228
	
234
 
229
	    <script src="<?php echo $this->basePath('assets/vendors/perfect-scrollbar/perfect-scrollbar.js') ?>"></script>
235
	<script src="<?php echo $this->basePath('assets/vendors/perfect-scrollbar/perfect-scrollbar.js') ?>"></script>
230
    	<script src="<?php echo $this->basePath('assets/vendors/sweetalert2/sweetalert2.all.js') ?>"></script>
236
	<script src="<?php echo $this->basePath('assets/vendors/sweetalert2/sweetalert2.all.js') ?>"></script>
231
    	<script src="<?php echo $this->basePath('assets/vendors/toastr/toastr.min.js') ?>"></script>
237
	<script src="<?php echo $this->basePath('assets/vendors/toastr/toastr.min.js') ?>"></script>
232
    	
238
 
233
 		<script src="<?php echo $this->basePath('assets/js/cesa.js') ?>"></script>
239
	<script src="<?php echo $this->basePath('assets/js/cesa.js') ?>"></script>
234
	
240
 
-
 
241
	<?php if ($currentUserHelper->hasIdentity()) :  ?>
-
 
242
		<script type="text/javascript" src="<?php echo $this->basePath('assets/vendors/smiley/smiley.js') ?>"></script>
Línea 235... Línea -...
235
	  	<?php if ($currentUserHelper->hasIdentity()) :  ?>
-
 
236
    		<script type="text/javascript" src="<?php echo $this->basePath('assets/vendors/smiley/smiley.js') ?>"></script>
243
		<script type="text/javascript" src="<?php echo $this->basePath('assets/vendors/smiley/js/emojione.min.js') ?>"></script>
237
    		<script type="text/javascript" src="<?php echo $this->basePath('assets/vendors/smiley/js/emojione.min.js') ?>"></script>
244
	<?php endif; ?>