redbot-manager / servers.html
FDxMinh's picture
Tạo cogs và webs cho redbot discord như webs dyno của bot dyno trong discord để quản lý redbot với tất cả chức năng của nó có và cóg của nó, chỉnh sửa cấu hình, quản lý server và nhiều chức năng khác như của dyno bit
b154756 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Servers - RedBot Manager</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<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>
</head>
<body class="bg-gray-900 text-white min-h-screen flex flex-col">
<custom-navbar></custom-navbar>
<!-- Header -->
<header class="bg-gray-800 border-b border-gray-700 py-6">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row md:items-center md:justify-between gap-4">
<div>
<h1 class="text-2xl font-bold">Server Management</h1>
<p class="text-gray-400">Manage your RedBot across multiple Discord servers</p>
</div>
<div class="flex gap-3">
<button class="bg-indigo-600 hover:bg-indigo-700 px-4 py-2 rounded-lg flex items-center gap-2">
<i data-feather="plus"></i>
<span>Add Server</span>
</button>
<button class="bg-gray-700 hover:bg-gray-600 px-4 py-2 rounded-lg flex items-center gap-2">
<i data-feather="refresh-cw"></i>
<span>Refresh</span>
</button>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="flex-grow container mx-auto px-4 py-8">
<!-- Search and Filters -->
<div class="bg-gray-800 rounded-xl p-5 mb-6">
<div class="flex flex-col md:flex-row gap-4">
<div class="flex-grow">
<div class="relative">
<input type="text" placeholder="Search servers..." class="w-full bg-gray-700 border border-gray-600 rounded-lg pl-10 pr-4 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500">
<i data-feather="search" class="absolute left-3 top-2.5 text-gray-400"></i>
</div>
</div>
<div class="flex gap-3">
<select class="bg-gray-700 border border-gray-600 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500">
<option>All Statuses</option>
<option>Online</option>
<option>Offline</option>
<option>Error</option>
</select>
<select class="bg-gray-700 border border-gray-600 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500">
<option>Sort by Name</option>
<option>Sort by Members</option>
<option>Sort by Activity</option>
</select>
</div>
</div>
</div>
<!-- Servers Grid -->
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
<!-- Server Card 1 -->
<div class="bg-gray-800 rounded-xl p-5 hover:bg-gray-750 transition duration-300">
<div class="flex items-start gap-4 mb-4">
<img src="http://static.photos/technology/128x128/1" alt="Gaming Community" class="w-16 h-16 rounded-lg object-cover">
<div class="flex-grow">
<div class="flex justify-between items-start">
<h3 class="text-xl font-bold">Gaming Community</h3>
<div class="bg-green-500 w-3 h-3 rounded-full"></div>
</div>
<p class="text-gray-400 text-sm">ID: 789456123456789456</p>
</div>
</div>
<div class="grid grid-cols-2 gap-4 mb-4">
<div class="bg-gray-700 rounded-lg p-3">
<p class="text-gray-400 text-sm">Members</p>
<p class="text-lg font-bold">2,841</p>
</div>
<div class="bg-gray-700 rounded-lg p-3">
<p class="text-gray-400 text-sm">Active Cogs</p>
<p class="text-lg font-bold">12</p>
</div>
</div>
<p class="text-gray-300 mb-4">A vibrant community for gamers with active discussions, game nights, and tournaments.</p>
<div class="flex gap-2">
<button class="flex-grow bg-indigo-600 hover:bg-indigo-700 py-2 rounded-lg flex items-center justify-center gap-2">
<i data-feather="settings"></i>
<span>Configure</span>
</button>
<button class="w-10 h-10 bg-gray-700 hover:bg-gray-600 rounded-lg flex items-center justify-center">
<i data-feather="more-vertical"></i>
</button>
</div>
</div>
<!-- Server Card 2 -->
<div class="bg-gray-800 rounded-xl p-5 hover:bg-gray-750 transition duration-300">
<div class="flex items-start gap-4 mb-4">
<img src="http://static.photos/people/128x128/2" alt="Tech Enthusiasts" class="w-16 h-16 rounded-lg object-cover">
<div class="flex-grow">
<div class="flex justify-between items-start">
<h3 class="text-xl font-bold">Tech Enthusiasts</h3>
<div class="bg-green-500 w-3 h-3 rounded-full"></div>
</div>
<p class="text-gray-400 text-sm">ID: 456789123456789456</p>
</div>
</div>
<div class="grid grid-cols-2 gap-4 mb-4">
<div class="bg-gray-700 rounded-lg p-3">
<p class="text-gray-400 text-sm">Members</p>
<p class="text-lg font-bold">1,205</p>
</div>
<div class="bg-gray-700 rounded-lg p-3">
<p class="text-gray-400 text-sm">Active Cogs</p>
<p class="text-lg font-bold">8</p>
</div>
</div>
<p class="text-gray-300 mb-4">Community for tech lovers discussing latest gadgets, programming, and innovations.</p>
<div class="flex gap-2">
<button class="flex-grow bg-indigo-600 hover:bg-indigo-700 py-2 rounded-lg flex items-center justify-center gap-2">
<i data-feather="settings"></i>
<span>Configure</span>
</button>
<button class="w-10 h-10 bg-gray-700 hover:bg-gray-600 rounded-lg flex items-center justify-center">
<i data-feather="more-vertical"></i>
</button>
</div>
</div>
<!-- Server Card 3 -->
<div class="bg-gray-800 rounded-xl p-5 hover:bg-gray-750 transition duration-300">
<div class="flex items-start gap-4 mb-4">
<img src="http://static.photos/nature/128x128/3" alt="Nature Lovers" class="w-16 h-16 rounded-lg object-cover">
<div class="flex-grow">
<div class="flex justify-between items-start">
<h3 class="text-xl font-bold">Nature Lovers</h3>
<div class="bg-yellow-500 w-3 h-3 rounded-full"></div>
</div>
<p class="text-gray-400 text-sm">ID: 321654987321654987</p>
</div>
</div>
<div class="grid grid-cols-2 gap-4 mb-4">
<div class="bg-gray-700 rounded-lg p-3">
<p class="text-gray-400 text-sm">Members</p>
<p class="text-lg font-bold">876</p>
</div>
<div class="bg-gray-700 rounded-lg p-3">
<p class="text-gray-400 text-sm">Active Cogs</p>
<p class="text-lg font-bold">5</p>
</div>
</div>
<p class="text-gray-300 mb-4">Community for nature photographers and outdoor enthusiasts sharing experiences.</p>
<div class="flex gap-2">
<button class="flex-grow bg-indigo-600 hover:bg-indigo-700 py-2 rounded-lg flex items-center justify-center gap-2">
<i data-feather="settings"></i>
<span>Configure</span>
</button>
<button class="w-10 h-10 bg-gray-700 hover:bg-gray-600 rounded-lg flex items-center justify-center">
<i data-feather="more-vertical"></i>
</button>
</div>
</div>
<!-- Server Card 4 -->
<div class="bg-gray-800 rounded-xl p-5 hover:bg-gray-750 transition duration-300">
<div class="flex items-start gap-4 mb-4">
<img src="http://static.photos/office/128x128/4" alt="Professional Network" class="w-16 h-16 rounded-lg object-cover">
<div class="flex-grow">
<div class="flex justify-between items-start">
<h3 class="text-xl font-bold">Professional Network</h3>
<div class="bg-red-500 w-3 h-3 rounded-full"></div>
</div>
<p class="text-gray-400 text-sm">ID: 987654321987654321</p>
</div>
</div>
<div class="grid grid-cols-2 gap-4 mb-4">
<div class="bg-gray-700 rounded-lg p-3">
<p class="text-gray-400 text-sm">Members</p>
<p class="text-lg font-bold">3,421</p>
</div>
<div class="bg-gray-700 rounded-lg p-3">
<p class="text-gray-400 text-sm">Active Cogs</p>
<p class="text-lg font-bold">15</p>
</div>
</div>
<p class="text-gray-300 mb-4">Business professionals networking and sharing industry insights and opportunities.</p>
<div class="flex gap-2">
<button class="flex-grow bg-indigo-600 hover:bg-indigo-700 py-2 rounded-lg flex items-center justify-center gap-2">
<i data-feather="settings"></i>
<span>Configure</span>
</button>
<button class="w-10 h-10 bg-gray-700 hover:bg-gray-600 rounded-lg flex items-center justify-center">
<i data-feather="more-vertical"></i>
</button>
</div>
</div>
</div>
<!-- Pagination -->
<div class="mt-8 flex justify-center">
<div class="flex gap-2">
<button class="w-10 h-10 bg-gray-800 rounded-lg flex items-center justify-center">
<i data-feather="chevron-left"></i>
</button>
<button class="w-10 h-10 bg-indigo-600 rounded-lg flex items-center justify-center">1</button>
<button class="w-10 h-10 bg-gray-800 rounded-lg flex items-center justify-center">2</button>
<button class="w-10 h-10 bg-gray-800 rounded-lg flex items-center justify-center">
<i data-feather="chevron-right"></i>
</button>
</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>
</body>
</html>