Download index.html from moosee/testeee: direct link, hf CLI and curl.
- Browser
- Download file 21.3 kB
-
https://huggingface.co/spaces/moosee/testeee/resolve/main/index.html
- Command line
-
hf download hf://spaces/moosee/testeee/index.html
-
curl -L -o index.html https://huggingface.co/spaces/moosee/testeee/resolve/main/index.html
21.3 kB
| <html lang="pt-br"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>AgroFácil - Dashboard para Pequenos Produtores</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| .dashboard-bg { | |
| background: linear-gradient(to bottom, #f7faf7, #e6f2e6); | |
| } | |
| .card-hover:hover { | |
| transform: translateY(-3px); | |
| transition: all 0.3s ease; | |
| } | |
| .simple-input { | |
| border: 1px solid #d1d5db; | |
| border-radius: 0.375rem; | |
| padding: 0.5rem 0.75rem; | |
| width: 100%; | |
| } | |
| .simple-input:focus { | |
| outline: none; | |
| border-color: #4ade80; | |
| box-shadow: 0 0 0 1px #4ade80; | |
| } | |
| .btn-primary { | |
| background-color: #4ade80; | |
| color: white; | |
| padding: 0.5rem 1rem; | |
| border-radius: 0.375rem; | |
| font-weight: 500; | |
| } | |
| .btn-primary:hover { | |
| background-color: #22c55e; | |
| } | |
| </style> | |
| </head> | |
| <body class="dashboard-bg min-h-screen"> | |
| <div class="container mx-auto px-4 py-6"> | |
| <!-- Header Simples --> | |
| <header class="flex justify-between items-center mb-8"> | |
| <div class="flex items-center space-x-3"> | |
| <i class="fas fa-leaf text-3xl text-green-600"></i> | |
| <h1 class="text-2xl font-bold text-green-800">AgroFácil</h1> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <div class="h-10 w-10 rounded-full bg-green-600 flex items-center justify-center text-white"> | |
| <i class="fas fa-user"></i> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Seção de Boas-vindas --> | |
| <div class="bg-white rounded-lg shadow p-6 mb-8 text-center"> | |
| <h2 class="text-xl font-semibold text-gray-800 mb-2">Olá, Seu João!</h2> | |
| <p class="text-gray-600">Hoje é um bom dia para cuidar da sua produção!</p> | |
| <div class="mt-4 flex justify-center space-x-2"> | |
| <div class="text-sm bg-green-100 text-green-800 px-3 py-1 rounded-full"> | |
| <i class="fas fa-sun mr-1"></i> Ensolarado | |
| </div> | |
| <div class="text-sm bg-blue-100 text-blue-800 px-3 py-1 rounded-full"> | |
| <i class="fas fa-temperature-high mr-1"></i> 28°C | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Atalhos Rápidos --> | |
| <div class="grid grid-cols-2 md:grid-cols-4 gap-4 mb-8"> | |
| <button onclick="openModal('plantio')" class="bg-white rounded-lg shadow p-4 flex flex-col items-center card-hover"> | |
| <div class="h-12 w-12 bg-green-100 rounded-full flex items-center justify-center text-green-600 mb-2"> | |
| <i class="fas fa-seedling text-xl"></i> | |
| </div> | |
| <span class="text-sm font-medium text-center">Registrar Plantio</span> | |
| </button> | |
| <button onclick="openModal('colheita')" class="bg-white rounded-lg shadow p-4 flex flex-col items-center card-hover"> | |
| <div class="h-12 w-12 bg-yellow-100 rounded-full flex items-center justify-center text-yellow-600 mb-2"> | |
| <i class="fas fa-apple-alt text-xl"></i> | |
| </div> | |
| <span class="text-sm font-medium text-center">Registrar Colheita</span> | |
| </button> | |
| <button onclick="openModal('gasto')" class="bg-white rounded-lg shadow p-4 flex flex-col items-center card-hover"> | |
| <div class="h-12 w-12 bg-red-100 rounded-full flex items-center justify-center text-red-600 mb-2"> | |
| <i class="fas fa-money-bill-wave text-xl"></i> | |
| </div> | |
| <span class="text-sm font-medium text-center">Anotar Gasto</span> | |
| </button> | |
| <button onclick="openModal('venda')" class="bg-white rounded-lg shadow p-4 flex flex-col items-center card-hover"> | |
| <div class="h-12 w-12 bg-blue-100 rounded-full flex items-center justify-center text-blue-600 mb-2"> | |
| <i class="fas fa-shopping-cart text-xl"></i> | |
| </div> | |
| <span class="text-sm font-medium text-center">Registrar Venda</span> | |
| </button> | |
| </div> | |
| <!-- Resumo da Produção --> | |
| <div class="bg-white rounded-lg shadow p-6 mb-8"> | |
| <h2 class="text-lg font-semibold text-gray-800 mb-4">Resumo da Produção</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-4"> | |
| <div class="border rounded-lg p-4"> | |
| <h3 class="text-sm font-medium text-gray-500 mb-1">Plantado este mês</h3> | |
| <p class="text-xl font-bold">2,5 ha</p> | |
| <p class="text-xs text-gray-500 mt-1">Milho e Feijão</p> | |
| </div> | |
| <div class="border rounded-lg p-4"> | |
| <h3 class="text-sm font-medium text-gray-500 mb-1">Colhido este mês</h3> | |
| <p class="text-xl font-bold">180 sacas</p> | |
| <p class="text-xs text-gray-500 mt-1">Valor estimado: R$ 9.000</p> | |
| </div> | |
| <div class="border rounded-lg p-4"> | |
| <h3 class="text-sm font-medium text-gray-500 mb-1">Próxima colheita</h3> | |
| <p class="text-xl font-bold">15 dias</p> | |
| <p class="text-xs text-gray-500 mt-1">Talhão 3 - Feijão</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Tarefas Pendentes --> | |
| <div class="bg-white rounded-lg shadow p-6 mb-8"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-lg font-semibold text-gray-800">Tarefas Pendentes</h2> | |
| <button onclick="openModal('tarefa')" class="text-sm text-green-600 hover:text-green-800"> | |
| <i class="fas fa-plus mr-1"></i> Adicionar | |
| </button> | |
| </div> | |
| <div class="space-y-3"> | |
| <div class="flex items-center justify-between p-3 border rounded-lg"> | |
| <div class="flex items-center space-x-3"> | |
| <input type="checkbox" class="h-5 w-5 text-green-600 rounded"> | |
| <div> | |
| <p class="font-medium">Aplicar adubo</p> | |
| <p class="text-xs text-gray-500">Talhão 2 - Amanhã</p> | |
| </div> | |
| </div> | |
| <button class="text-red-400 hover:text-red-600"> | |
| <i class="fas fa-trash-alt"></i> | |
| </button> | |
| </div> | |
| <div class="flex items-center justify-between p-3 border rounded-lg"> | |
| <div class="flex items-center space-x-3"> | |
| <input type="checkbox" class="h-5 w-5 text-green-600 rounded"> | |
| <div> | |
| <p class="font-medium">Irrigação noturna</p> | |
| <p class="text-xs text-gray-500">Todos os talhões - Hoje</p> | |
| </div> | |
| </div> | |
| <button class="text-red-400 hover:text-red-600"> | |
| <i class="fas fa-trash-alt"></i> | |
| </button> | |
| </div> | |
| <div class="flex items-center justify-between p-3 border rounded-lg"> | |
| <div class="flex items-center space-x-3"> | |
| <input type="checkbox" class="h-5 w-5 text-green-600 rounded"> | |
| <div> | |
| <p class="font-medium">Comprar sementes</p> | |
| <p class="text-xs text-gray-500">Até sexta-feira</p> | |
| </div> | |
| </div> | |
| <button class="text-red-400 hover:text-red-600"> | |
| <i class="fas fa-trash-alt"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Dicas do Dia --> | |
| <div class="bg-green-50 rounded-lg shadow p-6 border border-green-100"> | |
| <div class="flex items-center mb-3"> | |
| <i class="fas fa-lightbulb text-xl text-green-600 mr-3"></i> | |
| <h2 class="text-lg font-semibold text-green-800">Dica do Dia</h2> | |
| </div> | |
| <p class="text-gray-700 mb-3">Para economizar água, faça a irrigação no início da manhã ou no final da tarde, quando a evaporação é menor.</p> | |
| <button class="text-sm text-green-600 hover:text-green-800"> | |
| <i class="fas fa-book mr-1"></i> Ver mais dicas | |
| </button> | |
| </div> | |
| <!-- Modal --> | |
| <div id="modal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center hidden"> | |
| <div class="bg-white rounded-lg shadow-lg p-6 w-full max-w-md"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 id="modal-title" class="text-lg font-semibold"></h3> | |
| <button onclick="closeModal()" class="text-gray-500 hover:text-gray-700"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| </div> | |
| <div id="modal-content"> | |
| <!-- Conteúdo será preenchido pelo JavaScript --> | |
| </div> | |
| <div class="mt-6 flex justify-end space-x-3"> | |
| <button onclick="closeModal()" class="px-4 py-2 border rounded-lg text-gray-700 hover:bg-gray-100"> | |
| Cancelar | |
| </button> | |
| <button id="modal-confirm" class="px-4 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700"> | |
| Salvar | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=moosee/testeee" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |