Spaces:
Running

workspaceia2 / equipe.html
diego1carmo's picture
Contrua as outras paginas do menu:
2b58251 verified
Raw History Blame Contribute Delete
9.99 kB
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Equipe | AI Workspace</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">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#4361ee',
secondary: '#3f37c9',
accent: '#4895ef',
dark: '#1d3557',
light: '#f8f9fa'
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
background-color: #f5f7fb;
}
.sidebar {
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
</style>
</head>
<body class="bg-gray-50">
<div class="flex h-screen">
<!-- Sidebar (same as index.html) -->
<div class="sidebar w-64 bg-white shadow-lg flex flex-col">
<!-- Sidebar content from index.html -->
</div>
<!-- Main Content -->
<div class="flex-1 flex flex-col overflow-hidden">
<!-- Top Bar (same as index.html) -->
<header class="bg-white shadow-sm">
<!-- Header content from index.html -->
</header>
<!-- Team Content -->
<main class="flex-1 overflow-y-auto p-6">
<div class="mb-6">
<h1 class="text-2xl font-bold text-gray-800">Nossa Equipe</h1>
<p class="text-gray-600">Gerencie membros da equipe e suas permissões no workspace.</p>
</div>
<div class="mb-8">
<div class="flex justify-between items-center mb-6">
<h2 class="text-xl font-semibold text-gray-800">Todos os Membros</h2>
<button class="bg-primary text-white px-4 py-2 rounded-lg flex items-center">
<i class="fas fa-plus mr-2"></i> Convidar Membro
</button>
</div>
<div class="bg-white rounded-xl shadow-sm overflow-hidden">
<table class="w-full">
<thead>
<tr class="text-left text-gray-500 text-sm border-b">
<th class="py-4 px-6">Membro</th>
<th class="py-4 px-6">Cargo</th>
<th class="py-4 px-6">Status</th>
<th class="py-4 px-6">Última Atividade</th>
<th class="py-4 px-6">Ações</th>
</tr>
</thead>
<tbody class="text-gray-700">
<tr class="border-b hover:bg-gray-50">
<td class="py-4 px-6">
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-gray-200 flex items-center justify-center mr-3">
<i class="fas fa-user text-gray-600"></i>
</div>
<div>
<p class="font-medium">Sarah Johnson</p>
<p class="text-sm text-gray-500">sarah@empresa.com</p>
</div>
</div>
</td>
<td class="py-4 px-6">Gerente de Marketing</td>
<td class="py-4 px-6"><span class="px-2 py-1 bg-green-100 text-green-800 rounded-full text-xs">Ativo</span></td>
<td class="py-4 px-6">Hoje, 09:42</td>
<td class="py-4 px-6">
<button class="text-primary text-sm font-medium">Editar</button>
</td>
</tr>
<tr class="border-b hover:bg-gray-50">
<td class="py-4 px-6">
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-gray-200 flex items-center justify-center mr-3">
<i class="fas fa-user text-gray-600"></i>
</div>
<div>
<p class="font-medium">Michael Chen</p>
<p class="text-sm text-gray-500">michael@empresa.com</p>
</div>
</div>
</td>
<td class="py-4 px-6">Engenheiro de Software</td>
<td class="py-4 px-6"><span class="px-2 py-1 bg-green-100 text-green-800 rounded-full text-xs">Ativo</span></td>
<td class="py-4 px-6">Hoje, 10:15</td>
<td class="py-4 px-6">
<button class="text-primary text-sm font-medium">Editar</button>
</td>
</tr>
<tr class="border-b hover:bg-gray-50">
<td class="py-4 px-6">
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-gray-200 flex items-center justify-center mr-3">
<i class="fas fa-user text-gray-600"></i>
</div>
<div>
<p class="font-medium">Emma Rodriguez</p>
<p class="text-sm text-gray-500">emma@empresa.com</p>
</div>
</div>
</td>
<td class="py-4 px-6">Cientista de Dados</td>
<td class="py-4 px-6"><span class="px-2 py-1 bg-yellow-100 text-yellow-800 rounded-full text-xs">Pendente</span></td>
<td class="py-4 px-6">-</td>
<td class="py-4 px-6">
<button class="text-primary text-sm font-medium">Editar</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="bg-white rounded-xl shadow-sm p-6">
<h2 class="text-xl font-semibold text-gray-800 mb-6">Adicionar Novo Membro</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
<div>
<label class="block text-gray-700 mb-2">Nome Completo</label>
<input type="text" class="w-full border rounded-lg p-3 focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent">
</div>
<div>
<label class="block text-gray-700 mb-2">Email</label>
<input type="email" class="w-full border rounded-lg p-3 focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent">
</div>
<div>
<label class="block text-gray-700 mb-2">Cargo</label>
<input type="text" class="w-full border rounded-lg p-3 focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent">
</div>
<div>
<label class="block text-gray-700 mb-2">Permissões</label>
<select class="w-full border rounded-lg p-3 focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent">
<option>Membro</option>
<option>Admin</option>
<option>Editor</option>
<option>Visualizador</option>
</select>
</div>
</div>
<div class="flex justify-end">
<button class="bg-gray-200 text-gray-800 px-6 py-2 rounded-lg mr-3">Cancelar</button>
<button class="bg-primary text-white px-6 py-2 rounded-lg">Convidar Membro</button>
</div>
</div>
</main>
</div>
</div>
<script>
// Same theme toggle and sidebar functionality as index.html
</script>
</body>
</html>