Spaces:
Running
Running
File size: 7,468 Bytes
6fb6601 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | <!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CondoComm Manager | Dashboard</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#4F46E5',
secondary: '#10B981',
}
}
}
}
</script>
</head>
<body class="bg-gray-50">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-6">
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<!-- Resident Summary Card -->
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center justify-between">
<h3 class="text-lg font-medium text-gray-900">Moradores</h3>
<span class="bg-primary-100 text-primary-800 text-xs font-medium px-2.5 py-0.5 rounded">Total</span>
</div>
<div class="mt-4 flex items-center justify-between">
<div>
<p class="text-3xl font-bold text-gray-900">368</p>
<p class="text-sm text-gray-500">2 torres</p>
</div>
<i data-feather="users" class="text-primary-500 w-8 h-8"></i>
</div>
</div>
<!-- Packages Card -->
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center justify-between">
<h3 class="text-lg font-medium text-gray-900">Encomendas</h3>
<span class="bg-secondary-100 text-secondary-800 text-xs font-medium px-2.5 py-0.5 rounded">Hoje</span>
</div>
<div class="mt-4 flex items-center justify-between">
<div>
<p class="text-3xl font-bold text-gray-900">12</p>
<p class="text-sm text-gray-500">2 pendentes</p>
</div>
<i data-feather="package" class="text-secondary-500 w-8 h-8"></i>
</div>
</div>
<!-- Staff Card -->
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center justify-between">
<h3 class="text-lg font-medium text-gray-900">Colaboradores</h3>
<span class="bg-yellow-100 text-yellow-800 text-xs font-medium px-2.5 py-0.5 rounded">Ativos</span>
</div>
<div class="mt-4 flex items-center justify-between">
<div>
<p class="text-3xl font-bold text-gray-900">8</p>
<p class="text-sm text-gray-500">4 turnos</p>
</div>
<i data-feather="briefcase" class="text-yellow-500 w-8 h-8"></i>
</div>
</div>
</div>
<div class="mt-8 grid grid-cols-1 lg:grid-cols-2 gap-6">
<!-- Recent Packages -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="px-6 py-4 border-b border-gray-200">
<h3 class="text-lg font-medium text-gray-900">Encomendas Recentes</h3>
</div>
<div class="divide-y divide-gray-200">
<div class="px-6 py-4 flex items-center justify-between hover:bg-gray-50">
<div class="flex items-center space-x-4">
<img src="http://static.photos/package/200x200/1" alt="Package" class="w-12 h-12 rounded-md object-cover">
<div>
<p class="text-sm font-medium text-gray-900">Caixa pequena</p>
<p class="text-sm text-gray-500">Torre A - 1204</p>
</div>
</div>
<span class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded-full">Entregue</span>
</div>
<div class="px-6 py-4 flex items-center justify-between hover:bg-gray-50">
<div class="flex items-center space-x-4">
<img src="http://static.photos/package/200x200/2" alt="Package" class="w-12 h-12 rounded-md object-cover">
<div>
<p class="text-sm font-medium text-gray-900">Envelope</p>
<p class="text-sm text-gray-500">Torre B - 504</p>
</div>
</div>
<span class="text-xs bg-yellow-100 text-yellow-800 px-2 py-1 rounded-full">Pendente</span>
</div>
</div>
<div class="px-6 py-3 bg-gray-50 text-right">
<a href="/packages" class="text-sm font-medium text-primary-600 hover:text-primary-500">Ver todos</a>
</div>
</div>
<!-- Quick Actions -->
<div class="bg-white rounded-lg shadow p-6">
<h3 class="text-lg font-medium text-gray-900 mb-4">Ações Rápidas</h3>
<div class="grid grid-cols-2 gap-4">
<a href="/register-package" class="p-4 bg-secondary-50 rounded-lg flex flex-col items-center justify-center hover:bg-secondary-100 transition-colors">
<i data-feather="package" class="text-secondary-500 w-6 h-6 mb-2"></i>
<span class="text-sm font-medium text-gray-900">Nova Encomenda</span>
</a>
<a href="/register-resident" class="p-4 bg-primary-50 rounded-lg flex flex-col items-center justify-center hover:bg-primary-100 transition-colors">
<i data-feather="user-plus" class="text-primary-500 w-6 h-6 mb-2"></i>
<span class="text-sm font-medium text-gray-900">Novo Morador</span>
</a>
<a href="/staff" class="p-4 bg-yellow-50 rounded-lg flex flex-col items-center justify-center hover:bg-yellow-100 transition-colors">
<i data-feather="users" class="text-yellow-500 w-6 h-6 mb-2"></i>
<span class="text-sm font-medium text-gray-900">Colaboradores</span>
</a>
<a href="/notifications" class="p-4 bg-purple-50 rounded-lg flex flex-col items-center justify-center hover:bg-purple-100 transition-colors">
<i data-feather="bell" class="text-purple-500 w-6 h-6 mb-2"></i>
<span class="text-sm font-medium text-gray-900">Notificações</span>
</a>
</div>
</div>
</div>
</main>
<custom-footer></custom-footer>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html> |