45 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /**
 | |
|  * @var $content
 | |
|  * @var string $resources
 | |
|  */
 | |
| ?>
 | |
| <!doctype html>
 | |
| <html lang="en">
 | |
| <head>
 | |
|     <title>Sidebar 01</title>
 | |
|     <meta charset="utf-8">
 | |
|     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
 | |
| 
 | |
|     <link href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900" rel="stylesheet">
 | |
| 
 | |
|     <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
 | |
|     <link rel="stylesheet" href="<?= $resources ?>/css/bootstrap.min.css">
 | |
|     <link rel="stylesheet" href="<?= $resources ?>/css/style.css">
 | |
| </head>
 | |
| <body>
 | |
| <div class="wrapper d-flex align-items-stretch">
 | |
|     <?php if (\kernel\Flash::hasMessage("error")): ?>
 | |
|         <div class="alert alert-danger alert-dismissible mainAlert">
 | |
|             <?= \kernel\Flash::getMessage("error"); ?>
 | |
|             <button type="button" class="btn-close closeAlertBtn"></button>
 | |
|         </div>
 | |
|     <?php endif; ?>
 | |
|     <?php if (\kernel\Flash::hasMessage("success")): ?>
 | |
|         <div class="alert alert-success alert-dismissible">
 | |
|             <?= \kernel\Flash::getMessage("success"); ?>
 | |
|             <button type="button" class="btn-close closeAlertBtn" ></button>
 | |
|         </div>
 | |
|     <?php endif; ?>
 | |
|     <!-- Page Content  -->
 | |
|     <div id="content" class="p-4 p-md-5">
 | |
|         <?= $content ?>
 | |
|     </div>
 | |
| </div>
 | |
| 
 | |
| <script src="<?=$resources?>/js/jquery.min.js"></script>
 | |
| <script src="<?=$resources?>/js/popper.js"></script>
 | |
| <script src="<?=$resources?>/js/bootstrap.min.js"></script>
 | |
| <script src="<?=$resources?>/js/main.js"></script>
 | |
| </body>
 | |
| </html>
 |