Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

152 lignes
6.2KB

  1. <!DOCTYPE html>
  2. <!--
  3. This is a starter template page. Use this page to start your new project from
  4. scratch. This page gets rid of all links and provides the needed markup only.
  5. -->
  6. <html lang="en">
  7. <head>
  8. <meta charset="utf-8">
  9. <meta name="viewport" content="width=device-width, initial-scale=1">
  10. <title><?= isset($title) ? $title : 'Administrador' ?></title>
  11. <base href="/">
  12. <!-- Google Font: Source Sans Pro -->
  13. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
  14. <!-- Font Awesome Icons -->
  15. <link rel="stylesheet" href="plugins/fontawesome-free/css/all.min.css">
  16. <!-- Theme style -->
  17. <link rel="stylesheet" href="dist/css/adminlte.min.css">
  18. </head>
  19. <body class="hold-transition sidebar-mini">
  20. <div class="wrapper">
  21. <!-- Main Sidebar Container -->
  22. <aside class="main-sidebar sidebar-dark-primary elevation-4">
  23. <!-- Brand Logo -->
  24. <a href="<?= route_to('admin_home') ?>" class="brand-link">
  25. <img src="dist/img/AdminLTELogo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3" style="opacity: .8">
  26. <span class="brand-text font-weight-light">COPARMEX</span>
  27. </a>
  28. <!-- Sidebar -->
  29. <div class="sidebar">
  30. <!-- Sidebar user panel (optional) -->
  31. <!-- Sidebar Menu -->
  32. <nav class="mt-2">
  33. <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
  34. <!-- Add icons to the links using the .nav-icon class
  35. with font-awesome or any other icon font library -->
  36. <li class="nav-item menu-open">
  37. <a href="" class="nav-link">
  38. <i class="nav-icon fas fa-users"></i>
  39. Prestadores
  40. <i class="right fas fa-angle-left"></i>
  41. </a>
  42. <ul class="nav nav-treeview">
  43. <li class="nav-item">
  44. <a href="#" class="nav-link">
  45. <i class="far fa-circle nav-icon"></i>
  46. Activos
  47. </a>
  48. </li>
  49. <li class="nav-item">
  50. <a href="<?= route_to('admin_solicitudes') ?>" class="nav-link">
  51. <i class="far fa-circle nav-icon"></i>
  52. Solicitudes
  53. </a>
  54. </li>
  55. </ul>
  56. </li>
  57. <li class="nav-item menu-open">
  58. <a href="#" class="nav-link">
  59. <i class="nav-icon fas fa-chart-bar"></i>
  60. <p>
  61. Encuestas
  62. <i class="right fas fa-angle-left"></i>
  63. </p>
  64. </a>
  65. <ul class="nav nav-treeview">
  66. <li class="nav-item">
  67. <a href="<?= route_to('admin_encuesta_nueva') ?>" class="nav-link">
  68. <i class="far fa-circle nav-icon"></i>
  69. <p>Nueva encuesta</p>
  70. </a>
  71. </li>
  72. <li class="nav-item">
  73. <a href="<?= route_to('admin_encuestas') ?>" class="nav-link">
  74. <i class="far fa-circle nav-icon"></i>
  75. <p>Lista</p>
  76. </a>
  77. </li>
  78. </ul>
  79. </li>
  80. </ul>
  81. </nav>
  82. <!-- /.sidebar-menu -->
  83. </div>
  84. <!-- /.sidebar -->
  85. </aside>
  86. <!-- Content Wrapper. Contains page content -->
  87. <div class="content-wrapper">
  88. <?php if (session('msg')) : ?>
  89. <div class="alert alert-<?= session('msg')['type'] ?> alert-dismissible fade show" role="alert">
  90. <?= session('msg')['body'] ?>
  91. <button type="button" class="close" data-dismiss="alert" aria-label="Close">
  92. <span aria-hidden="true">&times;</span>
  93. </button>
  94. </div>
  95. <?php endif ?>
  96. <!-- Content Header (Page header) -->
  97. <div class="content-header">
  98. <div class="container-fluid">
  99. <div class="row mb-2">
  100. <div class="col-sm-6">
  101. <h1 class="m-0"><?= isset($title) ? $title : '' ?></h1>
  102. </div><!-- /.col -->
  103. </div><!-- /.row -->
  104. </div><!-- /.container-fluid -->
  105. </div>
  106. <!-- /.content-header -->
  107. <!-- Main content -->
  108. <div class="content pb-5">
  109. <div class="container-fluid">
  110. <?= $this->renderSection('content') ?>
  111. </div><!-- /.container-fluid -->
  112. </div>
  113. <!-- /.content -->
  114. </div>
  115. <!-- /.content-wrapper -->
  116. <!-- Control Sidebar -->
  117. <aside class="control-sidebar control-sidebar-dark">
  118. <!-- Control sidebar content goes here -->
  119. <div class="p-3">
  120. <h5>Title</h5>
  121. <p>Sidebar content</p>
  122. </div>
  123. </aside>
  124. <!-- /.control-sidebar -->
  125. </div>
  126. <!-- ./wrapper -->
  127. <!-- REQUIRED SCRIPTS -->
  128. <!-- jQuery -->
  129. <script src="plugins/jquery/jquery.min.js"></script>
  130. <!-- Bootstrap 4 -->
  131. <script src="plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
  132. <!-- AdminLTE App -->
  133. <script src="dist/js/adminlte.min.js"></script>
  134. </body>
  135. </html>