File size: 12,133 Bytes
131bbbf | 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 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dashboard - SafeHost Pro</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>
</head>
<body class="bg-gray-50 min-h-screen">
<custom-navbar></custom-navbar>
<div class="container mx-auto px-4 py-8">
<div class="grid grid-cols-1 lg:grid-cols-4 gap-6">
<!-- Sidebar -->
<aside class="lg:col-span-1">
<div class="bg-white rounded-xl shadow-lg p-6 sticky top-24">
<div class="flex items-center gap-4 mb-6">
<div class="w-12 h-12 bg-gradient-to-r from-blue-500 to-purple-500 rounded-full flex items-center justify-center text-white font-semibold">
JD
</div>
<div>
<h3 class="font-semibold text-gray-900">John Doe</h3>
<p class="text-sm text-gray-500">Pro Plan</p>
</div>
</div>
<nav class="space-y-2">
<a href="/dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-blue-50 text-blue-600 rounded-lg font-medium">
<i data-feather="layout" class="w-5 h-5"></i>
Overview
</a>
<a href="/sites.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-lg transition-colors">
<i data-feather="globe" class="w-5 h-5"></i>
Sites
</a>
<a href="/file-manager.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-lg transition-colors">
<i data-feather="folder" class="w-5 h-5"></i>
File Manager
</a>
<a href="/databases.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-lg transition-colors">
<i data-feather="database" class="w-5 h-5"></i>
Databases
</a>
<a href="/domains.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-lg transition-colors">
<i data-feather="link" class="w-5 h-5"></i>
Domains
</a>
<a href="/settings.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-lg transition-colors">
<i data-feather="settings" class="w-5 h-5"></i>
Settings
</a>
</nav>
<div class="mt-8 pt-6 border-t border-gray-200">
<div class="flex items-center justify-between text-sm text-gray-500 mb-2">
<span>Storage</span>
<span>2.3/10 GB</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-blue-500 h-2 rounded-full" style="width: 23%"></div>
</div>
</div>
</div>
</aside>
<!-- Main Content -->
<main class="lg:col-span-3">
<div class="bg-white rounded-xl shadow-lg p-6 mb-6">
<div class="flex justify-between items-center mb-6">
<h1 class="text-2xl font-bold text-gray-900">Dashboard Overview</h1>
<button class="bg-blue-600 text-white px-4 py-2 rounded-lg flex items-center gap-2 hover:bg-blue-700 transition-colors">
<i data-feather="plus" class="w-4 h-4"></i>
New Site
</button>
</div>
<!-- Stats Grid -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-8">
<div class="bg-blue-50 p-4 rounded-lg">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-blue-600">Active Sites</p>
<p class="text-2xl font-bold text-gray-900">3</p>
</div>
<i data-feather="globe" class="w-8 h-8 text-blue-400"></i>
</div>
</div>
<div class="bg-green-50 p-4 rounded-lg">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-green-600">Databases</p>
<p class="text-2xl font-bold text-gray-900">2</p>
</div>
<i data-feather="database" class="w-8 h-8 text-green-400"></i>
</div>
</div>
<div class="bg-purple-50 p-4 rounded-lg">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-purple-600">Domains</p>
<p class="text-2xl font-bold text-gray-900">1</p>
</div>
<i data-feather="link" class="w-8 h-8 text-purple-400"></i>
</div>
</div>
<div class="bg-orange-50 p-4 rounded-lg">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-orange-600">Storage Used</p>
<p class="text-2xl font-bold text-gray-900">2.3 GB</p>
</div>
<i data-feather="hard-drive" class="w-8 h-8 text-orange-400"></i>
</div>
</div>
</div>
<!-- Recent Activity -->
<div>
<h2 class="text-lg font-semibold text-gray-900 mb-4">Recent Activity</h2>
<div class="space-y-3">
<div class="flex items-center gap-4 p-3 bg-gray-50 rounded-lg">
<div class="w-8 h-8 bg-green-100 rounded-full flex items-center justify-center">
<i data-feather="check-circle" class="w-4 h-4 text-green-600"></i>
</div>
<div class="flex-1">
<p class="text-sm font-medium">Site deployed successfully</p>
<p class="text-xs text-gray-500">my-app.safehost.pro • 2 minutes ago</p>
</div>
</div>
<div class="flex items-center gap-4 p-3 bg-gray-50 rounded-lg">
<div class="w-8 h-8 bg-blue-100 rounded-full flex items-center justify-center">
<i data-feather="database" class="w-4 h-4 text-blue-600"></i>
</div>
<div class="flex-1">
<p class="text-sm font-medium">Database backup completed</p>
<p class="text-xs text-gray-500">production_db • 1 hour ago</p>
</div>
</div>
<div class="flex items-center gap-4 p-3 bg-gray-50 rounded-lg">
<div class="w-8 h-8 bg-purple-100 rounded-full flex items-center justify-center">
<i data-feather="shield" class="w-4 h-4 text-purple-600"></i>
</div>
<div class="flex-1">
<p class="text-sm font-medium">SSL certificate renewed</p>
<p class="text-xs text-gray-500">example.com • 3 hours ago</p>
</div>
</div>
</div>
</div>
</div>
<!-- Quick Actions -->
<div class="bg-white rounded-xl shadow-lg p-6">
<h2 class="text-lg font-semibold text-gray-900 mb-4">Quick Actions</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
<a href="/file-manager.html" class="p-4 border-2 border-gray-200 rounded-lg hover:border-blue-300 hover:bg-blue-50 transition-colors group">
<div class="flex items-center gap-3">
<div class="w-10 h-10 bg-blue-100 rounded-lg flex items-center justify-center group-hover:bg-blue-200 transition-colors">
<i data-feather="folder" class="text-blue-600"></i>
</div>
<div>
<p class="font-medium">File Manager</p>
<p class="text-sm text-gray-500">Manage your files</p>
</div>
</div>
</a>
<a href="/databases.html" class="p-4 border-2 border-gray-200 rounded-lg hover:border-green-300 hover:bg-green-50 transition-colors group">
<div class="flex items-center gap-3">
<div class="w-10 h-10 bg-green-100 rounded-lg flex items-center justify-center group-hover:bg-green-200 transition-colors">
<i data-feather="database" class="text-green-600"></i>
</div>
<div>
<p class="font-medium">Databases</p>
<p class="text-sm text-gray-500">Manage databases</p>
</div>
</div>
</a>
<a href="/domains.html" class="p-4 border-2 border-gray-200 rounded-lg hover:border-purple-300 hover:bg-purple-50 transition-colors group">
<div class="flex items-center gap-3">
<div class="w-10 h-10 bg-purple-100 rounded-lg flex items-center justify-center group-hover:bg-purple-200 transition-colors">
<i data-feather="link" class="text-purple-600"></i>
</div>
<div>
<p class="font-medium">Domains</p>
<p class="text-sm text-gray-500">Configure domains</p>
</div>
</div>
</a>
</div>
</div>
</main>
</div>
</div>
<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> |