| 
									
										
										
										
											2024-06-28 17:05:32 +00:00
										 |  |  | <!DOCTYPE html> | 
					
						
							| 
									
										
										
										
											2024-07-24 14:08:13 +00:00
										 |  |  | <html lang="en"> | 
					
						
							| 
									
										
										
										
											2024-06-28 17:05:32 +00:00
										 |  |  | <head> | 
					
						
							|  |  |  |     <meta charset="UTF-8"> | 
					
						
							| 
									
										
										
										
											2024-10-04 11:18:28 +00:00
										 |  |  |     <link rel="stylesheet" type="text/css" href="<?= htmlspecialchars($app_root) ?>static/bootstrap/bootstrap.min.css"> | 
					
						
							|  |  |  |     <link rel="stylesheet" type="text/css" href="<?= htmlspecialchars($app_root) ?>static/css/main.css"> | 
					
						
							| 
									
										
										
										
											2025-01-23 12:06:36 +00:00
										 |  |  |     <link rel="stylesheet" type="text/css" href="<?= htmlspecialchars($app_root) ?>static/css/messages.css"> | 
					
						
							| 
									
										
										
										
											2024-09-17 10:07:10 +00:00
										 |  |  | <?php if ($page === 'logs') { ?>
 | 
					
						
							| 
									
										
										
										
											2024-10-04 11:18:28 +00:00
										 |  |  |     <link rel="stylesheet" type="text/css" href="<?= htmlspecialchars($app_root) ?>static/css/logs.css"> | 
					
						
							| 
									
										
										
										
											2024-09-17 10:07:10 +00:00
										 |  |  | <?php } ?>
 | 
					
						
							|  |  |  | <?php if ($page === 'profile') { ?>
 | 
					
						
							| 
									
										
										
										
											2024-10-04 11:18:28 +00:00
										 |  |  |     <link rel="stylesheet" type="text/css" href="<?= htmlspecialchars($app_root) ?>static/css/profile.css"> | 
					
						
							| 
									
										
										
										
											2024-09-17 10:07:10 +00:00
										 |  |  | <?php } ?>
 | 
					
						
							| 
									
										
										
										
											2025-01-26 15:32:37 +00:00
										 |  |  | <script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script> | 
					
						
							| 
									
										
										
										
											2024-08-03 13:25:42 +00:00
										 |  |  | <script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> | 
					
						
							|  |  |  | <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> | 
					
						
							| 
									
										
										
										
											2024-08-07 14:41:56 +00:00
										 |  |  |     <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css" integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous"> | 
					
						
							|  |  |  |     <script> | 
					
						
							|  |  |  |     // restore sidebar state before the page is rendered
 | 
					
						
							|  |  |  |         (function () { | 
					
						
							|  |  |  |             var savedState = localStorage.getItem('sidebarState'); | 
					
						
							|  |  |  |             if (savedState === 'collapsed') { | 
					
						
							|  |  |  |                 document.documentElement.classList.add('sidebar-collapsed'); | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |         })(); | 
					
						
							|  |  |  |     </script> | 
					
						
							| 
									
										
										
										
											2025-01-26 16:05:29 +00:00
										 |  |  |     <script src="<?= htmlspecialchars($app_root) ?>static/js/messages.js"></script> | 
					
						
							| 
									
										
										
										
											2024-09-27 06:49:50 +00:00
										 |  |  | <?php if ($page === 'agents') { ?>
 | 
					
						
							| 
									
										
										
										
											2025-01-26 16:05:29 +00:00
										 |  |  |     <script src="<?= htmlspecialchars($app_root) ?>static/js/agents.js"></script> | 
					
						
							| 
									
										
										
										
											2024-10-09 11:53:57 +00:00
										 |  |  | <?php } ?>
 | 
					
						
							| 
									
										
										
										
											2024-11-05 16:26:25 +00:00
										 |  |  | <?php if ($page === 'data' && $item === 'graphs') { ?>
 | 
					
						
							| 
									
										
										
										
											2024-10-09 11:53:57 +00:00
										 |  |  |     <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | 
					
						
							|  |  |  |     <script src="https://cdn.jsdelivr.net/npm/moment@2.29.1"></script> | 
					
						
							|  |  |  |     <script src="https://cdn.jsdelivr.net/npm/chartjs-adapter-moment@1.0.0"></script> | 
					
						
							| 
									
										
										
										
											2024-10-10 08:31:05 +00:00
										 |  |  |     <script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-zoom@1.2.1/dist/chartjs-plugin-zoom.min.js"></script> | 
					
						
							| 
									
										
										
										
											2024-09-27 06:49:50 +00:00
										 |  |  | <?php } ?>
 | 
					
						
							| 
									
										
										
										
											2024-06-28 17:05:32 +00:00
										 |  |  |     <title>Jilo Web</title> | 
					
						
							| 
									
										
										
										
											2024-10-04 11:18:28 +00:00
										 |  |  |     <link rel="icon" type="image/x-icon" href="<?= htmlspecialchars($app_root) ?>static/favicon.ico"> | 
					
						
							| 
									
										
										
										
											2024-06-28 17:05:32 +00:00
										 |  |  | </head> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <body> | 
					
						
							| 
									
										
										
										
											2025-01-26 16:05:29 +00:00
										 |  |  |     <div id="messages-container" class="container-fluid mt-2"></div> | 
					
						
							| 
									
										
										
										
											2025-01-24 09:48:37 +00:00
										 |  |  |     <div class="container-fluid"> | 
					
						
							|  |  |  |         <div class="row"> | 
					
						
							|  |  |  |             <div class="col"> | 
					
						
							|  |  |  |                 <?php if (isset($messages) && is_array($messages)): ?>
 | 
					
						
							|  |  |  |                     <?php foreach ($messages as $msg): ?>
 | 
					
						
							|  |  |  |                         <?= Messages::render($msg['category'], $msg['key'], $msg['custom_message'] ?? null) ?>
 | 
					
						
							|  |  |  |                     <?php endforeach; ?>
 | 
					
						
							|  |  |  |                 <?php endif; ?>
 | 
					
						
							| 
									
										
										
										
											2025-01-06 09:13:28 +00:00
										 |  |  |             </div> | 
					
						
							| 
									
										
										
										
											2025-01-24 09:48:37 +00:00
										 |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2025-01-26 17:07:07 +00:00
										 |  |  |     </div> |