base.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <!DOCTYPE html>
  2. <html lang="es">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <title>{{ page_title or 'Dashboard Squid' }}</title>
  7. <!-- Favicon dinámico -->
  8. <link
  9. rel="icon"
  10. href="{{ url_for('static', filename=page_icon) }}"
  11. type="image/x-icon"
  12. />
  13. <!-- Hojas de estilo -->
  14. <link
  15. rel="stylesheet"
  16. href="{{ url_for('static', filename='styles.css') }}"
  17. />
  18. <link
  19. rel="stylesheet"
  20. href="{{url_for('static',filename='dist/output.css')}}"
  21. />
  22. <link
  23. rel="stylesheet"
  24. href="{{ url_for('static', filename='all.min.css') }}"
  25. />
  26. <!-- Font Awesome -->
  27. <link
  28. rel="stylesheet"
  29. href="{{ url_for('static', filename='logs.css') }}"
  30. />
  31. </head>
  32. <body
  33. class="overflow-x-hidden overflow-auto"
  34. style="visibility: hidden"
  35. onload="document.body.style.visibility='visible';"
  36. >
  37. <!-- Barra de navegación común -->
  38. <div class="relative">
  39. {% include 'components/navbar.html' %}
  40. <!-- Dropdown de notificaciones -->
  41. <div class="absolute top-4 right-8 z-50">
  42. <div class="relative inline-block text-left"></div>
  43. </div>
  44. <main>
  45. {% block content %}{% endblock %}
  46. <!-- Contenido específico de cada página -->
  47. </main>
  48. </div>
  49. <!-- Scripts de Flowbite (UI components) -->
  50. <script src="{{ url_for('static', filename='src/flowbite.min.js') }}"></script>
  51. </body>
  52. </html>