base.html 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <base href="./">
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
  8. <title>FlaskSample</title>
  9. <link rel="icon" type="image/ico" href="{{ url_for('static', filename='img/favicon.ico') }}" sizes="any" />
  10. <link href="{{ url_for('static', filename='css/font-awesome.min.css') }}" rel="stylesheet">
  11. <link href="{{ url_for('static', filename='css/flag-icon.min.css') }}" rel="stylesheet">
  12. <link href="{{ url_for('static', filename='css/icons.min.css') }}" rel="stylesheet">
  13. <link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet">
  14. <link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet">
  15. <link href="{{ url_for('static', filename='vendors/pace-progress/css/pace.min.css') }}" rel="stylesheet">
  16. {% block head %}{% endblock %}
  17. </head>
  18. <body class="app header-fixed sidebar-fixed aside-menu-fixed sidebar-lg-show">
  19. <header class="app-header navbar">
  20. <button class="navbar-toggler sidebar-toggler d-lg-none mr-auto" type="button" data-toggle="sidebar-show">
  21. <span class="navbar-toggler-icon"></span>
  22. </button>
  23. <a class="navbar-brand" href="/">
  24. FlaskSample
  25. </a>
  26. <button class="navbar-toggler sidebar-toggler d-md-down-none" type="button" data-toggle="sidebar-lg-show">
  27. <span class="navbar-toggler-icon"></span>
  28. </button>
  29. <ul class="nav navbar-nav ml-auto">
  30. <li class="nav-item dropdown">
  31. <a class="nav-link" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
  32. <i class="fa fa-user"></i>
  33. </a>
  34. <div class="dropdown-menu dropdown-menu-right">
  35. <div class="dropdown-header text-center">
  36. <strong>Sesión</strong>
  37. </div>
  38. <a class="dropdown-item" href="#">
  39. <i class="fa fa-user"></i> Mi cuenta</a>
  40. <a class="dropdown-item" href="#">
  41. <i class="fa fa-lock"></i> Salir</a>
  42. </div>
  43. </li>
  44. </ul>
  45. </header>
  46. <div class="app-body">
  47. <div class="sidebar">
  48. <nav class="sidebar-nav">
  49. <ul class="nav">
  50. <li class="nav-title"></li>
  51. <li class="nav-title">Administración</li>
  52. <li class="nav-item">
  53. <a class="nav-link" href="{{ url_for('mainController.main') }}">
  54. <i class="nav-icon fa fa-tachometer"></i> Estado</a>
  55. </li>
  56. <li class="nav-item nav-dropdown">
  57. <a class="nav-link nav-dropdown-toggle" href="#">
  58. <i class="nav-icon fa fa-users"></i> Usuarios</a>
  59. <ul class="nav-dropdown-items">
  60. <li class="nav-item">
  61. <a class="nav-link" href="#">
  62. <i class="nav-icon icon-bell"></i> Administradores</a>
  63. </li>
  64. <li class="nav-item">
  65. <a class="nav-link" href="#">
  66. <i class="nav-icon icon-bell"></i> Alumnos</a>
  67. </li>
  68. </ul>
  69. </li>
  70. </ul>
  71. </nav>
  72. </div>
  73. <main class="main">
  74. <div class="container-fluid">
  75. {% block content %}{% endblock %}
  76. </div>
  77. </main>
  78. </div>
  79. <footer class="app-footer">
  80. <div>
  81. FlaskSample <span>&copy; 2019 </span>
  82. </div>
  83. </footer>
  84. {% block modals %}{% endblock %}
  85. <script src="{{ url_for('static', filename='js/jquery.min.js') }}"></script>
  86. <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
  87. <script src="{{ url_for('static', filename='js/popper.min.js') }}"></script>
  88. <script src="{{ url_for('static', filename='js/pace.min.js') }}"></script>
  89. <script src="{{ url_for('static', filename='js/perfect-scrollbar.min.js') }}"></script>
  90. <script src="{{ url_for('static', filename='js/core.min.js') }}"></script>
  91. <script src="{{ url_for('static', filename='js/main.js') }}"></script>
  92. {% block scripts %}{% endblock %}
  93. </body>
  94. </html>