Spaces:
Running
Running
deixe o valor da reserva por hora ser um valor, por dia ser outro valor, fazendo o calculo quando selecionado - Initial Deployment
b9a2193 verified Download dashboard.html from DarthVader7/reserva: direct link, hf CLI and curl.
- Browser
- Download file 7.73 kB
-
https://huggingface.co/spaces/DarthVader7/reserva/resolve/main/dashboard.html
- Command line
-
hf download hf://spaces/DarthVader7/reserva/dashboard.html
-
curl -L -o dashboard.html https://huggingface.co/spaces/DarthVader7/reserva/resolve/main/dashboard.html
7.73 kB
| <html lang="pt-BR"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Dashboard - Woba</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet"> | |
| <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <style> | |
| .sidebar { | |
| transition: all 0.3s; | |
| } | |
| .sidebar-collapsed { | |
| width: 5rem; | |
| } | |
| .sidebar-expanded { | |
| width: 16rem; | |
| } | |
| .main-content { | |
| transition: margin-left 0.3s; | |
| } | |
| .content-expanded { | |
| margin-left: 16rem; | |
| } | |
| .content-collapsed { | |
| margin-left: 5rem; | |
| } | |
| .active-nav-item { | |
| background-color: #f3f4f6; | |
| border-left: 4px solid #7c3aed; | |
| } | |
| .chart-container { | |
| height: 300px; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-100 font-sans antialiased"> | |
| <div class="flex h-screen overflow-hidden"> | |
| <!-- Sidebar --> | |
| <div id="sidebar" class="sidebar sidebar-expanded bg-white shadow-md fixed h-full"> | |
| <div class="flex items-center justify-center h-16 px-4 border-b border-gray-200"> | |
| <div class="flex items-center"> | |
| <i data-feather="home" class="h-8 w-8 text-purple-600"></i> | |
| <span id="logo-text" class="ml-2 text-xl font-bold text-purple-600">Woba</span> | |
| </div> | |
| </div> | |
| <div class="flex flex-col h-full py-4"> | |
| <div class="flex-1 overflow-y-auto"> | |
| <nav class="px-2 space-y-1"> | |
| <a href="#" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md active-nav-item"> | |
| <i data-feather="home" class="mr-3 h-5 w-5 text-gray-500"></i> | |
| <span id="dashboard-text">Dashboard</span> | |
| </a> | |
| <a href="#" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-50"> | |
| <i data-feather="calendar" class="mr-3 h-5 w-5 text-gray-500"></i> | |
| <span id="reservas-text">Minhas Reservas</span> | |
| </a> | |
| <a href="#" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-50"> | |
| <i data-feather="heart" class="mr-3 h-5 w-5 text-gray-500"></i> | |
| <span id="favoritos-text">Favoritos</span> | |
| </a> | |
| <a href="#" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-50"> | |
| <i data-feather="credit-card" class="mr-3 h-5 w-5 text-gray-500"></i> | |
| <span id="pagamentos-text">Pagamentos</span> | |
| </a> | |
| <a href="#" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-50"> | |
| <i data-feather="settings" class="mr-3 h-5 w-5 text-gray-500"></i> | |
| <span id="configuracoes-text">Configurações</span> | |
| </a> | |
| </nav> | |
| </div> | |
| <div class="px-2 py-4 border-t border-gray-200"> | |
| <button onclick="toggleSidebar()" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-50 w-full"> | |
| <i data-feather="chevron-left" class="mr-3 h-5 w-5 text-gray-500" id="toggle-icon"></i> | |
| <span id="recolher-text">Recolher menu</span> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main content --> | |
| <div id="main-content" class="content-expanded flex-1 flex flex-col overflow-hidden"> | |
| <!-- Top navigation --> | |
| <header class="bg-white shadow-sm z-10"> | |
| <div class="flex items-center justify-between h-16 px-4 sm:px-6 lg:px-8"> | |
| <div class="flex items-center"> | |
| <button class="md:hidden mr-2 text-gray-500"> | |
| <i data-feather="menu" class="h-6 w-6"></i> | |
| </button> | |
| <h1 class="text-lg font-semibold text-gray-900">Dashboard</h1> | |
| </div> | |
| <div class="flex items-center"> | |
| <button class="p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-purple-500"> | |
| <i data-feather="bell" class="h-6 w-6"></i> | |
| </button> | |
| <div class="ml-3 relative"> | |
| <div> | |
| <button type="button" class="flex items-center max-w-xs rounded-full focus:outline-none focus:ring-2 focus:ring-purple-500" id="user-menu-button" aria-expanded="false" aria-haspopup="true"> | |
| <img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/1" alt="User profile"> | |
| <span class="ml-2 text-sm font-medium text-gray-700 hidden md:inline">Ana Carolina</span> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main content area --> | |
| <main class="flex-1 overflow-y-auto p-4 sm:p-6 lg:p-8 bg-gray-50"> | |
| <div class="max-w-7xl mx-auto"> | |
| <!-- Stats --> | |
| <div class="grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4"> | |
| <div class="bg-white overflow-hidden shadow rounded-lg"> | |
| <div class="px-4 py-5 sm:p-6"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-purple-100 rounded-md p-3"> | |
| <i data-feather="calendar" class="h-6 w-6 text-purple-600"></i> | |
| </div> | |
| <div class="ml-5 w-0 flex-1"> | |
| <dl> | |
| <dt class="text-sm font-medium text-gray-500 truncate">Reservas ativas</dt> | |
| <dd class="flex items-baseline"> | |
| <div class="text-2xl font-semibold text-gray-900">3</div> | |
| <div class="ml-2 flex items-baseline text-sm font-semibold text-green-600"> | |
| <i data-feather="arrow-up" class="h-4 w-4"></i> | |
| <span class="sr-only">Increased by</span> | |
| 12% | |
| </div> | |
| </dd> | |
| </dl> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white overflow-hidden shadow rounded-lg"> | |
| </body> | |
| </html> |