| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <!DOCTYPE html>
- <html lang="es">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta name="csrf-token" content="{{ csrf_token() }}">
- <title>{{ page_title or 'Dashboard Squid' }}</title>
- <!-- Dynamic favicon -->
- <link rel="icon" href="{{ url_for('static', filename=page_icon) }}" type="image/x-icon"/>
- <!-- Stylesheets -->
- <link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}"/>
- <link rel="stylesheet" href="{{url_for('static',filename='dist/output.css')}}"/> <!-- Tailwind CSS -->
- <link rel="stylesheet" href="{{ url_for('static', filename='all.min.css') }}"/> <!-- Font Awesome -->
- <!-- Logs CSS Custom-->
- <link rel="stylesheet" href="{{ url_for('static', filename='logs.css') }}"/>
- <!-- Toastr CSS -->
- <link rel="stylesheet" href="{{ url_for('static', filename='css/toastr.min.css') }}"/>
- <!-- Toastr Custom CSS -->
- <link rel="stylesheet" href="{{ url_for('static', filename='css/toastr-custom.css') }}"/>
- <!-- Page-specific styles -->
- {% block styles %}{% endblock styles %}
- </head>
- <body class="overflow-x-hidden overflow-auto" style="visibility: hidden" onload="document.body.style.visibility='visible';">
- <!-- Common navigation bar -->
- <div class="relative">
- {% include 'components/navbar.html' %}
- <!-- Main content with MORE SPACE for the navbar -->
- <main class="min-h-screen pt-16 lg:pt-20 pb-20">
- <!-- UNIFIED MAIN CONTAINER -->
- <div class="w-full px-4 sm:px-6 lg:px-8">
- {% block header %}
- <!-- Default header - IMPROVED FOR RESPONSIVE -->
- <div class="max-w-7xl mx-auto flex flex-col lg:flex-row lg:items-center lg:justify-between gap-4 mb-8">
- <!-- Title and subtitle -->
- <div class="flex items-center flex-shrink-0">
- {% if icon %}
- <i class="{{icon}} text-2xl sm:text-3xl text-blue-600 mr-3 sm:mr-4"></i>
- {% endif %}
- <div class="min-w-0">
- <h1 class="text-2xl sm:text-3xl font-bold text-gray-800 truncate">{{page_title}}</h1>
- <p class="text-gray-500 text-sm sm:text-base mt-1 line-clamp-2">
- {{subtitle}}
- </p>
- </div>
- </div>
-
- <!-- Header actions area - editable by pages -->
- <div class="flex items-center justify-start lg:justify-end flex-wrap gap-2 sm:gap-3 min-w-0">
- {% block header_actions %}
- <!-- Empty by default - pages can add content here -->
- {% endblock %}
- </div>
- </div>
- {% endblock %}
- <!-- Content area - editable by pages -->
- <div class="max-w-7xl mx-auto w-full">
- {% block content %}{% endblock %}
- </div>
- </div>
- </main>
- </div>
- <!-- Footer -->
- {% include 'components/footer.html' %}
- <!-- Socket.IO -->
- <script src="{{ url_for('static', filename='js/socket.io.min.js') }}"></script>
- <!-- Flowbite scripts (UI components) -->
- <script src="{{ url_for('static', filename='src/flowbite.min.js') }}"></script>
- <!-- jQuery (requerido por toastr) -->
- <script src="{{ url_for('static', filename='js/jquery-4.0.0.min.js') }}"></script>
- <!-- Toastr JS -->
- <script src="{{ url_for('static', filename='js/toastr.min.js') }}"></script>
- <!-- Configuración global de Toastr -->
- <script src="{{ url_for('static', filename='js/toastr-config.js') }}"></script>
- <!-- Page-specific scripts -->
- {% block scripts %}{% endblock scripts %}
- </body>
- </html>
|