Download admin.html from Dorinha/undefined: direct link, hf CLI and curl.
- Browser
- Download file 8.68 kB
-
https://huggingface.co/spaces/Dorinha/undefined/resolve/main/admin.html
- Command line
-
hf download hf://spaces/Dorinha/undefined/admin.html
-
curl -L -o admin.html https://huggingface.co/spaces/Dorinha/undefined/resolve/main/admin.html
8.68 kB
| <html lang="pt-BR"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Área do Fotógrafo - EncantaLente</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Poppins:wght@300;400;500&display=swap" rel="stylesheet"> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| fontFamily: { | |
| 'serif': ['Playfair Display', 'serif'], | |
| 'sans': ['Poppins', 'sans-serif'], | |
| }, | |
| colors: { | |
| primary: { | |
| 50: '#faf6f0', | |
| 100: '#f4ece0', | |
| 200: '#e8d9c1', | |
| 300: '#d9be99', | |
| 400: '#c79b6d', | |
| 500: '#b8855a', | |
| 600: '#a5714e', | |
| 700: '#895842', | |
| 800: '#6f4a3a', | |
| 900: '#5b3e33', | |
| }, | |
| secondary: { | |
| 50: '#f8f5f0', | |
| 100: '#eee6d9', | |
| 200: '#ddceb6', | |
| 300: '#c7ae8a', | |
| 400: '#b38f64', | |
| 500: '#a07d54', | |
| 600: '#8b6949', | |
| 700: '#72543d', | |
| 800: '#5e4535', | |
| 900: '#4e3a2e', | |
| } | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| .dashboard-card { | |
| transition: all 0.3s ease; | |
| } | |
| .dashboard-card:hover { | |
| transform: translateY(-4px); | |
| box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); | |
| } | |
| .file-upload { | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .file-upload input { | |
| position: absolute; | |
| top: 0; | |
| right: 0; | |
| margin: 0; | |
| padding: 0; | |
| font-size: 20px; | |
| cursor: pointer; | |
| opacity: 0; | |
| height: 100%; | |
| } | |
| </style> | |
| </head> | |
| <body class="font-sans bg-primary-50 text-secondary-900 min-h-screen"> | |
| <!-- Admin Navigation --> | |
| <nav class="bg-white shadow-sm"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex justify-between h-16"> | |
| <div class="flex items-center"> | |
| <a href="#" class="text-xl font-serif font-medium text-secondary-700">EncantaLente Admin 📸</a> | |
| </div> | |
| <div class="hidden md:flex items-center space-x-8"> | |
| <a href="#results" class="text-secondary-600 hover:text-primary-500 transition">Resultados</a> | |
| <a href="#upload" class="text-secondary-600 hover:text-primary-500 transition">Upload</a> | |
| <a href="/" class="text-secondary-600 hover:text-primary-500 transition">Voltar ao Site</a> | |
| <a href="quiz.html" class="text-secondary-600 hover:text-primary-500 transition">Ver Quiz</a> | |
| <a href="horoscopo.html" class="text-secondary-600 hover:text-primary-500 transition">Ver Horóscopo</a> | |
| <a href="index.html#philosophy" class="text-secondary-600 hover:text-primary-500 transition">Nossa Filosofia</a> | |
| </div> | |
| <div class="md:hidden flex items-center"> | |
| <button id="admin-mobile-menu-button" class="text-secondary-500"> | |
| <i data-feather="menu"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Admin Mobile Menu --> | |
| <div id="admin-mobile-menu" class="hidden md:hidden bg-white shadow-lg"> | |
| <div class="px-2 pt-2 pb-3 space-y-1 sm:px-3"> | |
| <a href="#results" class="block px-3 py-2 rounded-md text-base font-medium text-secondary-600 hover:text-primary-500">Resultados</a> | |
| <a href="#upload" class="block px-3 py-2 rounded-md text-base font-medium text-secondary-600 hover:text-primary-500">Upload</a> | |
| <a href="/" class="block px-3 py-2 rounded-md text-base font-medium text-secondary-600 hover:text-primary-500">Voltar ao Site</a> | |
| <a href="quiz.html" class="block px-3 py-2 rounded-md text-base font-medium text-secondary-600 hover:text-primary-500">Ver Quiz</a> | |
| <a href="horoscopo.html" class="block px-3 py-2 rounded-md text-base font-medium text-secondary-600 hover:text-primary-500">Ver Horóscopo</a> | |
| </div> | |
| </div> | |
| <!-- Admin Login --> | |
| <div id="adminLogin" class="max-w-md mx-auto px-4 py-12 sm:px-6 lg:px-8"> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden p-8 text-center"> | |
| <i data-feather="lock" class="mx-auto h-12 w-12 text-primary-500"></i> | |
| <h2 class="text-2xl font-serif font-bold text-secondary-800 mt-4">Área Restrita</h2> | |
| <p class="mt-2 text-secondary-600">Acesse o painel do fotógrafo</p> | |
| <form id="adminLoginForm" class="mt-8 space-y-6"> | |
| <div> | |
| <label for="password" class="block text-sm font-medium text-secondary-700">Senha</label> | |
| <input type="password" id="password" name="password" required class="mt-1 block w-full border border-secondary-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-primary-500 focus:border-primary-500"> | |
| </div> | |
| <div> | |
| <button type="submit" class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-primary-500 hover:bg-primary-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500"> | |
| Entrar | |
| </button> | |
| </div> | |
| </form> | |
| </div> | |
| </div> | |
| <!-- Admin Dashboard --> | |
| <div id="adminDashboard" class="hidden max-w-7xl mx-auto px-4 py-8 sm:px-6 lg:px-8"> | |
| <div class="mb-8"> | |
| <h1 class="text-3xl font-serif font-bold text-secondary-800">Painel do Fotógrafo</h1> | |
| <p class="mt-2 text-secondary-600">Gerencie seus clientes e envie seus trabalhos</p> | |
| </div> | |
| <!-- Stats Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-12"> | |
| <div class="dashboard-card bg-white rounded-xl shadow-md p-6"> | |
| <div class="flex items-center"> | |
| <div class="p-3 rounded-full bg-primary-100 text-primary-600"> | |
| <i data-feather="users"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <p class="text-sm font-medium text-secondary-500">Clientes</p> | |
| <p class="text-2xl font-bold text-secondary-800" id="clientCount">24</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="dashboard-card bg-white rounded-xl shadow-md p-6"> | |
| <div class="flex items-center"> | |
| <div class="p-3 rounded-full bg-green-100 text-green-600"> | |
| <i data-feather="check-circle"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <p class="text-sm font-medium text-secondary-500">Álbuns Entregues</p> | |
| <p class="text-2xl font-bold text-secondary-800" id="deliveredCount">18</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="dashboard-card bg-white rounded-xl shadow-md p-6"> | |
| <div class="flex items-center"> | |
| <div class="p-3 rounded-full bg-yellow-100 text-yellow-600"> | |
| <i data-feather="star"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <p class="text-sm font-medium text-secondary-500">Avaliação Média</p> | |
| <p class="text-2xl font-bold text-secondary-800" id="rating{"ok":false,"message":"terminated"} | |
| </body> | |
| </html> |