auth_layout.html 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>ILS Password Manager</title>
  6. <link rel="stylesheet" href="{{ url_for('static', filename='bootstrap-5.3.0-alpha1-dist/css/bootstrap.css') }}">
  7. <link rel="stylesheet" href="{{ url_for('static', filename='RemixIcon_Fonts_v2.5.0/fonts/remixicon.css') }}">
  8. <link rel="stylesheet" href="{{ url_for('static', filename='app.css') }}">
  9. <script src="{{ url_for('static', filename='bootstrap-5.3.0-alpha1-dist/js/bootstrap.bundle.js') }}"></script>
  10. <script src="{{ url_for('static', filename='bootstrap-5.3.0-alpha1-dist/js/popper.min.js') }}"></script>
  11. </head>
  12. <body>
  13. <div class="container mb-5">
  14. <div class="row mt-5">
  15. <div class="col-4 text-start">
  16. </div>
  17. <div class="col-4 text-center">
  18. <h1>ILS Password Manager</h1>
  19. </div>
  20. <div class="col-4 text-end">
  21. <a class="btn btn-danger text-white" href="{{ url_for('logout') }}"><i class="ri-logout-box-line"></i> Logout</a>
  22. </div>
  23. </div>
  24. <div class="row mt-5 g-0 shadow bg-white">
  25. <div class="col-2 border" style="min-height:50vh;">
  26. <ul class="nav flex-column">
  27. <li class="nav-item">
  28. <a class="nav-link bg-light text-dark border-bottom" href="{{ url_for('admin') }}"><i class="ri-dashboard-fill"></i> Admin Dashboard</a>
  29. </li>
  30. <li class="nav-item">
  31. <a class="nav-link bg-light text-dark border-bottom" href="{{ url_for('admin_users') }}"><i class="ri-shield-user-line"></i> Admin Users</a>
  32. </li>
  33. <li class="nav-item">
  34. <a class="nav-link bg-light text-dark border-bottom" href="{{ url_for('admin_ils_users') }}"><i class="ri-shield-user-fill"></i> ILS Users</a>
  35. </li>
  36. <li class="nav-item">
  37. <a class="nav-link bg-light text-dark border-bottom" href="{{ url_for('schedule') }}"><i class="ri-time-line"></i> Schedule</a>
  38. </li>
  39. <li class="nav-item">
  40. <a class="nav-link bg-light text-dark border-bottom" href="{{ url_for('system_log') }}"><i class="ri-file-list-3-line"></i> System Log</a>
  41. </li>
  42. <li class="nav-item">
  43. <a class="nav-link bg-light text-dark border-bottom" href="{{ url_for('password_reset_log') }}"><i class="ri-file-list-3-line"></i> Password Reset Log</a>
  44. </li>
  45. <li class="nav-item">
  46. <a class="nav-link bg-light text-dark border-bottom" href="{{ url_for('settings') }}"><i class="ri-settings-5-line"></i> Settings</a>
  47. </li>
  48. </ul>
  49. </div>
  50. <div class="col-10 border-top border-end border-bottom p-3">
  51. {% block content %}{% endblock %}
  52. </div>
  53. </div>
  54. </div>
  55. <script>
  56. const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]')
  57. const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl))
  58. </script>
  59. </body>
  60. </html>