Spaces:
Running
Running
File size: 42,737 Bytes
6bdf102 | 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 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Access-Scrape | Operations Dashboard</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: {
'dark-bg': '#180E12',
'light-bg': '#DEDEDE',
'accent-blue': '#3F9BFF',
'accent-green': '#00D860',
'accent-yellow': '#FFFF00',
'accent-orange': '#FE3B03',
'accent-pink': '#FF00D9',
},
animation: {
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'slide-in': 'slideIn 0.3s ease-out forwards',
'tilt': 'tilt 10s infinite linear'
},
keyframes: {
slideIn: {
'0%': { transform: 'translateX(100%)', opacity: '0' },
'100%': { transform: 'translateX(0)', opacity: '1' }
},
tilt: {
'0%, 100%': { transform: 'rotate(-3deg)' },
'50%': { transform: 'rotate(3deg)' }
}
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400&display=swap');
body {
font-family: 'Inter', sans-serif;
transition: background-color 0.3s ease;
}
.mono {
font-family: 'JetBrains Mono', monospace;
}
.card-tilt {
transform: rotate(-1deg);
transition: transform 0.3s ease;
}
.card-tilt:hover {
transform: rotate(1deg);
}
.neon-blue {
box-shadow: 0 0 10px rgba(63, 155, 255, 0.7);
}
.neon-green {
box-shadow: 0 0 10px rgba(0, 216, 96, 0.7);
}
.neon-yellow {
box-shadow: 0 0 10px rgba(255, 255, 0, 0.7);
}
.neon-orange {
box-shadow: 0 0 10px rgba(254, 59, 3, 0.7);
}
.neon-pink {
box-shadow: 0 0 10px rgba(255, 0, 217, 0.7);
}
.pulse-success {
animation: pulse-slow 2s infinite;
}
.sidebar-item:hover {
background: linear-gradient(90deg, transparent, rgba(63, 155, 255, 0.1), transparent);
}
.kpi-card {
transition: all 0.3s ease;
}
.kpi-card:hover {
transform: translateY(-5px);
}
.progress-bar {
height: 8px;
border-radius: 4px;
overflow: hidden;
}
.heatmap-cell {
transition: transform 0.2s ease;
}
.heatmap-cell:hover {
transform: scale(1.2);
z-index: 10;
}
.data-grid-cell {
border-bottom: 1px solid rgba(255,255,255,0.1);
}
.dark .data-grid-cell {
border-bottom: 1px solid rgba(0,0,0,0.1);
}
.stat-badge {
font-size: 0.7rem;
padding: 2px 8px;
border-radius: 12px;
}
.slide-in-panel {
animation: slideIn 0.4s forwards;
}
.rotate-3d {
transform: perspective(1000px) rotateY(5deg) rotateX(5deg);
}
.grid-stack {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1.5rem;
}
@media (max-width: 768px) {
.grid-stack {
grid-template-columns: 1fr;
}
}
</style>
</head>
<body class="bg-light-bg dark:bg-dark-bg text-gray-800 dark:text-gray-200 transition-colors duration-300">
<!-- Theme Toggle -->
<div class="fixed top-4 right-4 z-50">
<button id="themeToggle" class="bg-accent-blue text-white p-3 rounded-full shadow-lg hover:bg-accent-green transition-colors">
<i class="fas fa-moon dark:hidden"></i>
<i class="fas fa-sun hidden dark:block"></i>
</button>
</div>
<!-- Main Layout -->
<div class="flex flex-col h-screen">
<!-- Top Bar -->
<header class="bg-white dark:bg-gray-900 shadow-md py-3 px-6 flex items-center justify-between">
<div class="flex items-center">
<button id="sidebarToggle" class="mr-4 lg:hidden">
<i class="fas fa-bars text-xl text-accent-blue"></i>
</button>
<div class="flex items-center">
<div class="bg-accent-blue w-10 h-10 rounded-lg flex items-center justify-center mr-3">
<i class="fas fa-database text-white text-xl"></i>
</div>
<h1 class="text-2xl font-bold text-accent-blue">Access-<span class="text-accent-green">Scrape</span></h1>
</div>
</div>
<div class="flex items-center space-x-4">
<div class="relative">
<input type="text" placeholder="Search..." class="bg-gray-100 dark:bg-gray-800 rounded-full py-2 px-4 pl-10 w-64 focus:outline-none focus:ring-2 focus:ring-accent-blue">
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
</div>
<button class="relative p-2">
<i class="fas fa-bell text-xl text-accent-yellow"></i>
<span class="absolute top-0 right-0 bg-accent-orange text-white text-xs rounded-full w-5 h-5 flex items-center justify-center">3</span>
</button>
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-gradient-to-r from-accent-blue to-accent-green flex items-center justify-center text-white font-bold mr-2">AS</div>
<span class="hidden md:block">Admin User</span>
</div>
</div>
</header>
<div class="flex flex-1 overflow-hidden">
<!-- Sidebar -->
<aside id="sidebar" class="bg-gray-800 dark:bg-gray-900 w-64 py-6 px-4 flex flex-col transform -translate-x-full lg:transform-none fixed lg:static h-full z-40 transition-transform duration-300">
<nav class="flex-1">
<ul class="space-y-2">
<li class="sidebar-item">
<a href="#" class="flex items-center p-3 rounded-lg bg-accent-blue text-white">
<i class="fas fa-chart-line mr-3"></i>
<span>Dashboard</span>
</a>
</li>
<li class="sidebar-item">
<a href="#" class="flex items-center p-3 rounded-lg text-gray-300 hover:bg-gray-700">
<i class="fas fa-tasks mr-3"></i>
<span>Scrape Jobs</span>
</a>
</li>
<li class="sidebar-item">
<a href="#" class="flex items-center p-3 rounded-lg text-gray-300 hover:bg-gray-700">
<i class="fas fa-plug mr-3"></i>
<span>Plugins & Sources</span>
</a>
</li>
<li class="sidebar-item">
<a href="#" class="flex items-center p-3 rounded-lg text-gray-300 hover:bg-gray-700">
<i class="fas fa-stream mr-3"></i>
<span>Data Pipeline</span>
</a>
</li>
<li class="sidebar-item">
<a href="#" class="flex items-center p-3 rounded-lg text-gray-300 hover:bg-gray-700">
<i class="fas fa-chart-pie mr-3"></i>
<span>Analytics</span>
</a>
</li>
<li class="sidebar-item">
<a href="#" class="flex items-center p-3 rounded-lg text-gray-300 hover:bg-gray-700">
<i class="fas fa-file-alt mr-3"></i>
<span>Logs & Alerts</span>
</a>
</li>
<li class="sidebar-item">
<a href="#" class="flex items-center p-3 rounded-lg text-gray-300 hover:bg-gray-700">
<i class="fas fa-cog mr-3"></i>
<span>Admin</span>
</a>
</li>
</ul>
</nav>
<div class="mt-auto pt-4 border-t border-gray-700">
<div class="flex items-center justify-between mb-2">
<span class="text-gray-400 text-sm">System Status</span>
<span class="bg-accent-green text-white text-xs px-2 py-1 rounded">Operational</span>
</div>
<div class="flex items-center">
<div class="w-3 h-3 rounded-full bg-accent-green mr-2"></div>
<span class="text-sm text-gray-300">All systems normal</span>
</div>
</div>
</aside>
<!-- Main Content -->
<main class="flex-1 overflow-auto p-6">
<!-- KPI Header -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-4 mb-8">
<div class="kpi-card neon-green bg-gradient-to-br from-gray-800 to-gray-900 p-5 rounded-xl shadow-lg">
<div class="flex justify-between items-start">
<div>
<p class="text-gray-400">Success Rate</p>
<h3 class="text-3xl font-bold text-accent-green mt-2">98.7%</h3>
</div>
<div class="bg-accent-green bg-opacity-20 p-3 rounded-full">
<i class="fas fa-check-circle text-accent-green text-xl"></i>
</div>
</div>
<div class="mt-3">
<div class="flex justify-between text-sm text-gray-400">
<span>Target: 95%</span>
<span>+3.7%</span>
</div>
<div class="progress-bar bg-gray-700 mt-1">
<div class="h-full bg-accent-green" style="width: 98.7%"></div>
</div>
</div>
</div>
<div class="kpi-card neon-blue bg-gradient-to-br from-gray-800 to-gray-900 p-5 rounded-xl shadow-lg">
<div class="flex justify-between items-start">
<div>
<p class="text-gray-400">Avg Req/Sec</p>
<h3 class="text-3xl font-bold text-accent-blue mt-2">42.3</h3>
</div>
<div class="bg-accent-blue bg-opacity-20 p-3 rounded-full">
<i class="fas fa-bolt text-accent-blue text-xl"></i>
</div>
</div>
<div class="mt-3">
<div class="flex justify-between text-sm text-gray-400">
<span>Target: 30</span>
<span>+12.3</span>
</div>
<div class="progress-bar bg-gray-700 mt-1">
<div class="h-full bg-accent-blue" style="width: 80%"></div>
</div>
</div>
</div>
<div class="kpi-card neon-yellow bg-gradient-to-br from-gray-800 to-gray-900 p-5 rounded-xl shadow-lg">
<div class="flex justify-between items-start">
<div>
<p class="text-gray-400">Active Jobs</p>
<h3 class="text-3xl font-bold text-accent-yellow mt-2">18</h3>
</div>
<div class="bg-accent-yellow bg-opacity-20 p-3 rounded-full">
<i class="fas fa-sync-alt text-accent-yellow text-xl"></i>
</div>
</div>
<div class="mt-3">
<div class="flex justify-between text-sm text-gray-400">
<span>Completed: 24</span>
<span>Failed: 2</span>
</div>
</div>
</div>
<div class="kpi-card neon-orange bg-gradient-to-br from-gray-800 to-gray-900 p-5 rounded-xl shadow-lg">
<div class="flex justify-between items-start">
<div>
<p class="text-gray-400">Error Rate</p>
<h3 class="text-3xl font-bold text-accent-orange mt-2">1.3%</h3>
</div>
<div class="bg-accent-orange bg-opacity-20 p-3 rounded-full">
<i class="fas fa-exclamation-triangle text-accent-orange text-xl"></i>
</div>
</div>
<div class="mt-3">
<div class="flex justify-between text-sm text-gray-400">
<span>Target: <5%</span>
<span>-3.7%</span>
</div>
<div class="progress-bar bg-gray-700 mt-1">
<div class="h-full bg-accent-orange" style="width: 1.3%"></div>
</div>
</div>
</div>
<div class="kpi-card neon-pink bg-gradient-to-br from-gray-800 to-gray-900 p-5 rounded-xl shadow-lg">
<div class="flex justify-between items-start">
<div>
<p class="text-gray-400">Data Volume</p>
<h3 class="text-3xl font-bold text-accent-pink mt-2">4.2TB</h3>
</div>
<div class="bg-accent-pink bg-opacity-20 p-3 rounded-full">
<i class="fas fa-database text-accent-pink text-xl"></i>
</div>
</div>
<div class="mt-3">
<div class="flex justify-between text-sm text-gray-400">
<span>Daily: 120GB</span>
<span>+14%</span>
</div>
</div>
</div>
</div>
<!-- Main Panels -->
<div class="flex flex-col lg:flex-row gap-6 mb-8">
<!-- Left Pane -->
<div class="lg:w-7/12">
<!-- Jobs Panel -->
<div class="bg-gray-800 rounded-xl shadow-lg overflow-hidden mb-6">
<div class="bg-gradient-to-r from-accent-blue to-accent-green p-4">
<h2 class="text-xl font-bold text-white">Active Scrape Jobs</h2>
</div>
<div class="p-4">
<div class="overflow-x-auto">
<table class="w-full">
<thead>
<tr class="text-left text-gray-400 text-sm">
<th class="pb-3">Job Name</th>
<th class="pb-3">Source</th>
<th class="pb-3">Progress</th>
<th class="pb-3">Status</th>
</tr>
</thead>
<tbody>
<tr class="border-b border-gray-700 hover:bg-gray-750 transition-colors">
<td class="py-3">E-commerce Product Scrape</td>
<td class="py-3">amazon.com</td>
<td class="py-3">
<div class="w-full bg-gray-700 rounded-full h-2.5">
<div class="bg-accent-green h-2.5 rounded-full" style="width: 75%"></div>
</div>
</td>
<td class="py-3">
<span class="stat-badge bg-accent-green bg-opacity-20 text-accent-green">Running</span>
</td>
</tr>
<tr class="border-b border-gray-700 hover:bg-gray-750 transition-colors">
<td class="py-3">Social Media Profiles</td>
<td class="py-3">twitter.com</td>
<td class="py-3">
<div class="w-full bg-gray-700 rounded-full h-2.5">
<div class="bg-accent-blue h-2.5 rounded-full" style="width: 42%"></div>
</div>
</td>
<td class="py-3">
<span class="stat-badge bg-accent-blue bg-opacity-20 text-accent-blue">Active</span>
</td>
</tr>
<tr class="border-b border-gray-700 hover:bg-gray-750 transition-colors">
<td class="py-3">News Aggregation</td>
<td class="py-3">nytimes.com</td>
<td class="py-3">
<div class="w-full bg-gray-700 rounded-full h-2.5">
<div class="bg-accent-yellow h-2.5 rounded-full" style="width: 15%"></div>
</div>
</td>
<td class="py-3">
<span class="stat-badge bg-accent-yellow bg-opacity-20 text-accent-yellow">Starting</span>
</td>
</tr>
<tr class="border-b border-gray-700 hover:bg-gray-750 transition-colors">
<td class="py-3">Real Estate Listings</td>
<td class="py-3">zillow.com</td>
<td class="py-3">
<div class="w-full bg-gray-700 rounded-full h-2.5">
<div class="bg-accent-orange h-2.5 rounded-full" style="width: 90%"></div>
</div>
</td>
<td class="py-3">
<span class="stat-badge bg-accent-orange bg-opacity-20 text-accent-orange">Finishing</span>
</td>
</tr>
</tbody>
</table>
</div>
<div class="mt-4 flex justify-end">
<button class="bg-accent-blue hover:bg-accent-green text-white px-4 py-2 rounded-lg transition-colors">
View All Jobs
</button>
</div>
</div>
</div>
<!-- Data Pipeline -->
<div class="bg-gray-800 rounded-xl shadow-lg overflow-hidden">
<div class="bg-gradient-to-r from-accent-pink to-accent-blue p-4">
<h2 class="text-xl font-bold text-white">Data Pipeline Overview</h2>
</div>
<div class="p-4">
<div class="flex mb-4">
<button class="px-4 py-2 bg-accent-blue text-white rounded-l-lg">Raw</button>
<button class="px-4 py-2 bg-gray-700 text-gray-300">Cleaned</button>
<button class="px-4 py-2 bg-gray-700 text-gray-300 rounded-r-lg">Merged</button>
</div>
<div class="grid grid-cols-3 gap-4 mb-4">
<div class="bg-gray-750 p-4 rounded-lg text-center">
<div class="text-2xl font-bold text-accent-pink">1.2M</div>
<div class="text-gray-400 text-sm">Raw Records</div>
</div>
<div class="bg-gray-750 p-4 rounded-lg text-center">
<div class="text-2xl font-bold text-accent-green">980K</div>
<div class="text-gray-400 text-sm">Cleaned</div>
</div>
<div class="bg-gray-750 p-4 rounded-lg text-center">
<div class="text-2xl font-bold text-accent-blue">850K</div>
<div class="text-gray-400 text-sm">Merged</div>
</div>
</div>
<div class="bg-gray-750 rounded-lg p-4">
<h3 class="font-bold mb-2">Field Completeness</h3>
<div class="space-y-3">
<div>
<div class="flex justify-between text-sm mb-1">
<span>Product Name</span>
<span>98%</span>
</div>
<div class="w-full bg-gray-700 rounded-full h-2.5">
<div class="bg-accent-green h-2.5 rounded-full" style="width: 98%"></div>
</div>
</div>
<div>
<div class="flex justify-between text-sm mb-1">
<span>Price</span>
<span>92%</span>
</div>
<div class="w-full bg-gray-700 rounded-full h-2.5">
<div class="bg-accent-green h-2.5 rounded-full" style="width: 92%"></div>
</div>
</div>
<div>
<div class="flex justify-between text-sm mb-1">
<span>Description</span>
<span>78%</span>
</div>
<div class="w-full bg-gray-700 rounded-full h-2.5">
<div class="bg-accent-yellow h-2.5 rounded-full" style="width: 78%"></div>
</div>
</div>
<div>
<div class="flex justify-between text-sm mb-1">
<span>Image URL</span>
<span>65%</span>
</div>
<div class="w-full bg-gray-700 rounded-full h-2.5">
<div class="bg-accent-orange h-2.5 rounded-full" style="width: 65%"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Right Pane -->
<div class="lg:w-5/12">
<!-- Plugins Panel -->
<div class="bg-gray-800 rounded-xl shadow-lg overflow-hidden mb-6">
<div class="bg-gradient-to-r from-accent-green to-accent-yellow p-4">
<h2 class="text-xl font-bold text-gray-900">Plugin Management</h2>
</div>
<div class="p-4">
<div class="mb-4">
<h3 class="font-bold mb-2">Recently Updated</h3>
<div class="space-y-3">
<div class="card-tilt bg-gray-750 p-3 rounded-lg border-l-4 border-accent-blue">
<div class="flex justify-between">
<span class="font-medium">Amazon Product Scraper</span>
<span class="text-xs bg-accent-blue text-white px-2 py-1 rounded">v2.1</span>
</div>
<div class="text-sm text-gray-400 mt-1">Updated 2 hours ago</div>
</div>
<div class="card-tilt bg-gray-750 p-3 rounded-lg border-l-4 border-accent-green">
<div class="flex justify-between">
<span class="font-medium">Twitter Profile Parser</span>
<span class="text-xs bg-accent-green text-white px-2 py-1 rounded">v1.4</span>
</div>
<div class="text-sm text-gray-400 mt-1">Updated yesterday</div>
</div>
</div>
</div>
<div class="mb-4">
<h3 class="font-bold mb-2">Create New Plugin</h3>
<div class="flex space-x-3">
<button class="flex-1 bg-accent-blue hover:bg-accent-blue-dark text-white py-2 rounded-lg transition-colors">
From Template
</button>
<button class="flex-1 bg-gray-700 hover:bg-gray-600 text-white py-2 rounded-lg transition-colors">
Custom Build
</button>
</div>
</div>
<div>
<h3 class="font-bold mb-2">Validation Status</h3>
<div class="bg-gray-750 rounded-lg p-4">
<div class="flex items-center mb-3">
<div class="w-8 h-8 rounded-full bg-accent-green bg-opacity-20 flex items-center justify-center mr-3">
<i class="fas fa-check text-accent-green"></i>
</div>
<div>
<div class="font-medium">Syntax Check</div>
<div class="text-sm text-gray-400">No errors found</div>
</div>
</div>
<div class="flex items-center mb-3">
<div class="w-8 h-8 rounded-full bg-accent-green bg-opacity-20 flex items-center justify-center mr-3">
<i class="fas fa-check text-accent-green"></i>
</div>
<div>
<div class="font-medium">Field Mapping</div>
<div class="text-sm text-gray-400">All fields validated</div>
</div>
</div>
<div class="flex items-center">
<div class="w-8 h-8 rounded-full bg-accent-orange bg-opacity-20 flex items-center justify-center mr-3">
<i class="fas fa-exclamation-triangle text-accent-orange"></i>
</div>
<div>
<div class="font-medium">Pagination Rules</div>
<div class="text-sm text-gray-400">Needs review</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- System Health -->
<div class="bg-gray-800 rounded-xl shadow-lg overflow-hidden">
<div class="bg-gradient-to-r from-accent-orange to-accent-pink p-4">
<h2 class="text-xl font-bold text-white">System Health</h2>
</div>
<div class="p-4">
<div class="grid grid-cols-2 gap-4 mb-4">
<div class="bg-gray-750 p-4 rounded-lg">
<div class="flex items-center mb-2">
<div class="w-3 h-3 rounded-full bg-accent-green mr-2"></div>
<span class="font-medium">Proxy Pool</span>
</div>
<div class="text-2xl font-bold text-accent-green">98%</div>
<div class="text-sm text-gray-400">Active: 248/250</div>
</div>
<div class="bg-gray-750 p-4 rounded-lg">
<div class="flex items-center mb-2">
<div class="w-3 h-3 rounded-full bg-accent-green mr-2"></div>
<span class="font-medium">API Nodes</span>
</div>
<div class="text-2xl font-bold text-accent-green">100%</div>
<div class="text-sm text-gray-400">All systems operational</div>
</div>
<div class="bg-gray-750 p-4 rounded-lg">
<div class="flex items-center mb-2">
<div class="w-3 h-3 rounded-full bg-accent-yellow mr-2"></div>
<span class="font-medium">Database</span>
</div>
<div class="text-2xl font-bold text-accent-yellow">87%</div>
<div class="text-sm text-gray-400">Load: 4.2/5.0</div>
</div>
<div class="bg-gray-750 p-4 rounded-lg">
<div class="flex items-center mb-2">
<div class="w-3 h-3 rounded-full bg-accent-green mr-2"></div>
<span class="font-medium">Storage</span>
</div>
<div class="text-2xl font-bold text-accent-green">64%</div>
<div class="text-sm text-gray-400">4.2TB/6.5TB used</div>
</div>
</div>
<div class="bg-gray-750 rounded-lg p-4">
<h3 class="font-bold mb-3">Recent Alerts</h3>
<div class="space-y-3">
<div class="flex">
<div class="w-2 bg-accent-yellow mr-3 rounded"></div>
<div>
<div class="font-medium">High DB Load</div>
<div class="text-sm text-gray-400">Database load exceeded 85% at 14:32</div>
</div>
</div>
<div class="flex">
<div class="w-2 bg-accent-orange mr-3 rounded"></div>
<div>
<div class="font-medium">Proxy Failure</div>
<div class="text-sm text-gray-400">2 proxies marked as failed</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Recent Activity -->
<div class="bg-gray-800 rounded-xl shadow-lg overflow-hidden">
<div class="bg-gradient-to-r from-accent-blue to-accent-pink p-4">
<h2 class="text-xl font-bold text-white">Recent Activity</h2>
</div>
<div class="p-4">
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<div class="card-tilt bg-gray-750 p-4 rounded-lg neon-green">
<div class="flex items-start">
<div class="bg-accent-green bg-opacity-20 p-2 rounded-full mr-3">
<i class="fas fa-check-circle text-accent-green"></i>
</div>
<div>
<div class="font-medium">Job Completed</div>
<div class="text-sm text-gray-400">E-commerce scrape finished successfully</div>
<div class="text-xs text-gray-500 mt-1">5 minutes ago</div>
</div>
</div>
</div>
<div class="card-tilt bg-gray-750 p-4 rounded-lg neon-blue">
<div class="flex items-start">
<div class="bg-accent-blue bg-opacity-20 p-2 rounded-full mr-3">
<i class="fas fa-plus-circle text-accent-blue"></i>
</div>
<div>
<div class="font-medium">New Plugin Added</div>
<div class="text-sm text-gray-400">"Zillow Property Scraper" created</div>
<div class="text-xs text-gray-500 mt-1">1 hour ago</div>
</div>
</div>
</div>
<div class="card-tilt bg-gray-750 p-4 rounded-lg neon-yellow">
<div class="flex items-start">
<div class="bg-accent-yellow bg-opacity-20 p-2 rounded-full mr-3">
<i class="fas fa-exclamation-triangle text-accent-yellow"></i>
</div>
<div>
<div class="font-medium">Data Anomaly</div>
<div class="text-sm text-gray-400">Unusual pattern detected in Twitter data</div>
<div class="text-xs text-gray-500 mt-1">2 hours ago</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
<script>
// Theme Toggle
const themeToggle = document.getElementById('themeToggle');
const htmlElement = document.documentElement;
// Check for saved theme preference or use OS preference
const savedTheme = localStorage.getItem('theme');
const osDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
if (savedTheme) {
htmlElement.classList.toggle('dark', savedTheme === 'dark');
} else {
htmlElement.classList.toggle('dark', osDark);
}
themeToggle.addEventListener('click', () => {
htmlElement.classList.toggle('dark');
const isDark = htmlElement.classList.contains('dark');
localStorage.setItem('theme', isDark ? 'dark' : 'light');
});
// Sidebar Toggle for Mobile
const sidebarToggle = document.getElementById('sidebarToggle');
const sidebar = document.getElementById('sidebar');
sidebarToggle.addEventListener('click', () => {
sidebar.classList.toggle('-translate-x-full');
});
// Card animations
document.querySelectorAll('.kpi-card').forEach(card => {
card.addEventListener('mouseenter', () => {
card.classList.add('shadow-lg');
});
card.addEventListener('mouseleave', () => {
card.classList.remove('shadow-lg');
});
});
// Simulate pulse effect on success
setTimeout(() => {
document.querySelector('.neon-green').classList.add('pulse-success');
}, 2000);
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=cyrilsnare/data-tweakaz" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |