thgrerf955's picture
Non, recommence à zéro, tiens le html: "<body>
1435fb1 verified
Raw History Blame Contribute Delete
4.2 kB
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>UserWatch Admin Dashboard</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<link rel="stylesheet" href="style.css">
</head>
<body class="bg-gray-100">
<!-- Admin Header Component -->
<admin-header></admin-header>
<main class="container mx-auto px-4 py-8">
<!-- Search and Filter Bar -->
<div class="bg-white rounded-lg shadow p-4 mb-6">
<div class="flex flex-col md:flex-row gap-4">
<div class="flex-1">
<div class="relative">
<input type="text" placeholder="Rechercher un utilisateur..."
class="w-full pl-10 pr-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
<i data-feather="search" class="absolute left-3 top-3 text-gray-400"></i>
</div>
</div>
<div class="flex gap-2">
<button class="px-4 py-2 bg-blue-500 text-white rounded-lg hover:bg-blue-600 transition">
<i data-feather="filter" class="mr-2"></i> Filtrer
</button>
<button class="px-4 py-2 bg-green-500 text-white rounded-lg hover:bg-green-600 transition">
<i data-feather="plus" class="mr-2"></i> Nouveau
</button>
</div>
</div>
</div>
<!-- User Cards -->
<div class="grid grid-cols-1 gap-6">
<!-- User 1 -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="flex justify-between items-center p-4 border-b">
<h2 class="text-xl font-bold">@ssktrz</h2>
<div class="flex gap-2">
<button class="px-3 py-1 bg-red-500 text-white rounded hover:bg-red-600 transition action-ban">
<i data-feather="slash" class="w-4 h-4"></i>
</button>
<button class="px-3 py-1 bg-yellow-500 text-white rounded hover:bg-yellow-600 transition action-suspend">
<i data-feather="pause" class="w-4 h-4"></i>
</button>
<button class="px-3 py-1 bg-blue-500 text-white rounded hover:bg-blue-600 transition action-view">
<i data-feather="eye" class="w-4 h-4"></i>
</button>
<button class="px-3 py-1 bg-gray-300 text-gray-500 rounded cursor-not-allowed action-reactivate" disabled>
<i data-feather="refresh-cw" class="w-4 h-4"></i>
</button>
</div>
</div>
<div class="p-4 user-details">
<!-- User details content from your HTML -->
<p><strong>Pseudo :</strong> ssktrz</p>
<p><strong>Date de création :</strong> 2024-09-16 22:30:58</p>
<!-- Rest of user details -->
</div>
</div>
<!-- Repeat for other users -->
<!-- User 2 -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="flex justify-between items-center p-4 border-b">
<h2 class="text-xl font-bold">@es.33k</h2>
<div class="flex gap-2">
<!-- Action buttons -->
</div>
</div>
<div class="p-4 user-details">
<!-- User details -->
</div>
</div>
<!-- Add more users as needed -->
</div>
</main>
<script src="components/admin-header.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>