Download index.html from zterry95/dsf: direct link, hf CLI and curl.
- Browser
- Download file 37.5 kB
-
https://huggingface.co/spaces/zterry95/dsf/resolve/main/index.html
- Command line
-
hf download hf://spaces/zterry95/dsf/index.html
-
curl -L -o index.html https://huggingface.co/spaces/zterry95/dsf/resolve/main/index.html
37.5 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>DrupalOps - Kubernetes-based Drupal Site Management</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"> | |
| <style> | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); | |
| } | |
| .site-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| .pipeline-stage { | |
| transition: all 0.3s ease; | |
| } | |
| .pipeline-stage:hover { | |
| background-color: #e9d5ff; | |
| } | |
| .kubernetes-node { | |
| border-left: 4px solid #7c3aed; | |
| } | |
| .drupal-version-badge { | |
| top: -10px; | |
| right: -10px; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 font-sans"> | |
| <!-- Navigation --> | |
| <nav class="gradient-bg text-white shadow-lg"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex justify-between h-16 items-center"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 flex items-center"> | |
| <i class="fab fa-drupal text-3xl mr-2"></i> | |
| <span class="text-xl font-bold">DrupalOps</span> | |
| </div> | |
| <div class="hidden md:block ml-10"> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="bg-indigo-700 text-white px-3 py-2 rounded-md text-sm font-medium">Dashboard</a> | |
| <a href="#" class="text-indigo-200 hover:bg-indigo-600 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Sites</a> | |
| <a href="#" class="text-indigo-200 hover:bg-indigo-600 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Pipelines</a> | |
| <a href="#" class="text-indigo-200 hover:bg-indigo-600 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Kubernetes</a> | |
| <a href="#" class="text-indigo-200 hover:bg-indigo-600 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Monitoring</a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex items-center"> | |
| <button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center"> | |
| <i class="fas fa-plus mr-2"></i> New Site | |
| </button> | |
| <div class="ml-4 relative"> | |
| <img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="User profile"> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Main Content --> | |
| <main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"> | |
| <!-- Stats Overview --> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-8"> | |
| <div class="bg-white rounded-lg shadow p-6"> | |
| <div class="flex items-center"> | |
| <div class="p-3 rounded-full bg-indigo-100 text-indigo-600 mr-4"> | |
| <i class="fas fa-globe text-xl"></i> | |
| </div> | |
| <div> | |
| <p class="text-gray-500 text-sm">Active Sites</p> | |
| <p class="text-2xl font-bold">24</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6"> | |
| <div class="flex items-center"> | |
| <div class="p-3 rounded-full bg-green-100 text-green-600 mr-4"> | |
| <i class="fas fa-server text-xl"></i> | |
| </div> | |
| <div> | |
| <p class="text-gray-500 text-sm">K8s Nodes</p> | |
| <p class="text-2xl font-bold">12</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6"> | |
| <div class="flex items-center"> | |
| <div class="p-3 rounded-full bg-blue-100 text-blue-600 mr-4"> | |
| <i class="fas fa-code-branch text-xl"></i> | |
| </div> | |
| <div> | |
| <p class="text-gray-500 text-sm">Active Pipelines</p> | |
| <p class="text-2xl font-bold">8</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6"> | |
| <div class="flex items-center"> | |
| <div class="p-3 rounded-full bg-purple-100 text-purple-600 mr-4"> | |
| <i class="fas fa-memory text-xl"></i> | |
| </div> | |
| <div> | |
| <p class="text-gray-500 text-sm">Cluster Usage</p> | |
| <p class="text-2xl font-bold">68%</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recent Activity and Cluster Status --> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8"> | |
| <!-- Recent Deployments --> | |
| <div class="lg:col-span-2 bg-white rounded-lg shadow overflow-hidden"> | |
| <div class="px-6 py-4 border-b border-gray-200"> | |
| <h3 class="text-lg font-medium text-gray-900">Recent Deployments</h3> | |
| </div> | |
| <div class="divide-y divide-gray-200"> | |
| <div class="px-6 py-4 flex items-center"> | |
| <div class="flex-shrink-0 bg-green-100 p-2 rounded-full text-green-600"> | |
| <i class="fas fa-check-circle"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <p class="text-sm font-medium text-gray-900">Drupal 10.1.2 deployed to production</p> | |
| <p class="text-sm text-gray-500">2 minutes ago via Tekton Pipeline #1245</p> | |
| </div> | |
| </div> | |
| <div class="px-6 py-4 flex items-center"> | |
| <div class="flex-shrink-0 bg-blue-100 p-2 rounded-full text-blue-600"> | |
| <i class="fas fa-sync-alt"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <p class="text-sm font-medium text-gray-900">Drupal 9.5.11 update in progress</p> | |
| <p class="text-sm text-gray-500">15 minutes ago via Tekton Pipeline #1244</p> | |
| </div> | |
| </div> | |
| <div class="px-6 py-4 flex items-center"> | |
| <div class="flex-shrink-0 bg-yellow-100 p-2 rounded-full text-yellow-600"> | |
| <i class="fas fa-exclamation-triangle"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <p class="text-sm font-medium text-gray-900">Drupal 7.98 security update failed</p> | |
| <p class="text-sm text-gray-500">1 hour ago via Tekton Pipeline #1243</p> | |
| </div> | |
| </div> | |
| <div class="px-6 py-4 flex items-center"> | |
| <div class="flex-shrink-0 bg-green-100 p-2 rounded-full text-green-600"> | |
| <i class="fas fa-check-circle"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <p class="text-sm font-medium text-gray-900">New Drupal 10 site created</p> | |
| <p class="text-sm text-gray-500">3 hours ago via Site Factory</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Cluster Health --> | |
| <div class="bg-white rounded-lg shadow overflow-hidden"> | |
| <div class="px-6 py-4 border-b border-gray-200"> | |
| <h3 class="text-lg font-medium text-gray-900">Cluster Health</h3> | |
| </div> | |
| <div class="p-6"> | |
| <div class="mb-4"> | |
| <div class="flex justify-between mb-1"> | |
| <span class="text-sm font-medium text-gray-700">CPU Usage</span> | |
| <span class="text-sm text-gray-500">62%</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5"> | |
| <div class="bg-blue-600 h-2.5 rounded-full" style="width: 62%"></div> | |
| </div> | |
| </div> | |
| <div class="mb-4"> | |
| <div class="flex justify-between mb-1"> | |
| <span class="text-sm font-medium text-gray-700">Memory</span> | |
| <span class="text-sm text-gray-500">45%</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5"> | |
| <div class="bg-purple-600 h-2.5 rounded-full" style="width: 45%"></div> | |
| </div> | |
| </div> | |
| <div class="mb-4"> | |
| <div class="flex justify-between mb-1"> | |
| <span class="text-sm font-medium text-gray-700">Storage</span> | |
| <span class="text-sm text-gray-500">78%</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5"> | |
| <div class="bg-green-600 h-2.5 rounded-full" style="width: 78%"></div> | |
| </div> | |
| </div> | |
| <div class="mt-6"> | |
| <div class="flex items-center text-sm text-gray-500 mb-2"> | |
| <i class="fas fa-circle text-green-500 mr-2"></i> | |
| <span>12 Nodes Operational</span> | |
| </div> | |
| <div class="flex items-center text-sm text-gray-500"> | |
| <i class="fas fa-circle text-yellow-500 mr-2"></i> | |
| <span>1 Node Under Maintenance</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Site Grid --> | |
| <div class="mb-8"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-xl font-bold text-gray-800">Managed Drupal Sites</h2> | |
| <div class="flex space-x-2"> | |
| <div class="relative"> | |
| <select class="block appearance-none bg-white border border-gray-300 text-gray-700 py-2 px-4 pr-8 rounded leading-tight focus:outline-none focus:border-indigo-500"> | |
| <option>All Versions</option> | |
| <option>Drupal 10</option> | |
| <option>Drupal 9</option> | |
| <option>Drupal 7</option> | |
| </select> | |
| <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"> | |
| <i class="fas fa-chevron-down"></i> | |
| </div> | |
| </div> | |
| <button class="bg-white border border-gray-300 text-gray-700 py-2 px-4 rounded flex items-center"> | |
| <i class="fas fa-filter mr-2"></i> Filter | |
| </button> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
| <!-- Site Card 1 --> | |
| <div class="site-card bg-white rounded-lg shadow overflow-hidden transition duration-300"> | |
| <div class="relative"> | |
| <img src="https://via.placeholder.com/600x300?text=University+Site" alt="University Site" class="w-full h-40 object-cover"> | |
| <span class="absolute drupal-version-badge bg-indigo-600 text-white text-xs font-semibold px-2 py-1 rounded-full">D10</span> | |
| </div> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start"> | |
| <h3 class="text-lg font-bold text-gray-900 mb-2">University Portal</h3> | |
| <span class="bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded">Running</span> | |
| </div> | |
| <p class="text-gray-600 text-sm mb-4">Main university website with student portal integration</p> | |
| <div class="flex flex-wrap gap-2 mb-4"> | |
| <span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded">PHP 8.2</span> | |
| <span class="bg-purple-100 text-purple-800 text-xs font-medium px-2.5 py-0.5 rounded">MariaDB</span> | |
| <span class="bg-yellow-100 text-yellow-800 text-xs font-medium px-2.5 py-0.5 rounded">3 Replicas</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex items-center text-sm text-gray-500"> | |
| <i class="fas fa-server mr-1"></i> | |
| <span>k8s-node-04</span> | |
| </div> | |
| <button class="text-indigo-600 hover:text-indigo-900 text-sm font-medium">Manage</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Site Card 2 --> | |
| <div class="site-card bg-white rounded-lg shadow overflow-hidden transition duration-300"> | |
| <div class="relative"> | |
| <img src="https://via.placeholder.com/600x300?text=E-commerce" alt="E-commerce" class="w-full h-40 object-cover"> | |
| <span class="absolute drupal-version-badge bg-purple-600 text-white text-xs font-semibold px-2 py-1 rounded-full">D9</span> | |
| </div> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start"> | |
| <h3 class="text-lg font-bold text-gray-900 mb-2">Online Store</h3> | |
| <span class="bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded">Running</span> | |
| </div> | |
| <p class="text-gray-600 text-sm mb-4">E-commerce platform with 500+ products</p> | |
| <div class="flex flex-wrap gap-2 mb-4"> | |
| <span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded">PHP 8.1</span> | |
| <span class="bg-purple-100 text-purple-800 text-xs font-medium px-2.5 py-0.5 rounded">MySQL</span> | |
| <span class="bg-yellow-100 text-yellow-800 text-xs font-medium px-2.5 py-0.5 rounded">5 Replicas</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex items-center text-sm text-gray-500"> | |
| <i class="fas fa-server mr-1"></i> | |
| <span>k8s-node-07</span> | |
| </div> | |
| <button class="text-indigo-600 hover:text-indigo-900 text-sm font-medium">Manage</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Site Card 3 --> | |
| <div class="site-card bg-white rounded-lg shadow overflow-hidden transition duration-300"> | |
| <div class="relative"> | |
| <img src="https://via.placeholder.com/600x300?text=Government+Portal" alt="Government Portal" class="w-full h-40 object-cover"> | |
| <span class="absolute drupal-version-badge bg-red-600 text-white text-xs font-semibold px-2 py-1 rounded-full">D7</span> | |
| </div> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start"> | |
| <h3 class="text-lg font-bold text-gray-900 mb-2">City Services</h3> | |
| <span class="bg-yellow-100 text-yellow-800 text-xs font-medium px-2.5 py-0.5 rounded">Updating</span> | |
| </div> | |
| <p class="text-gray-600 text-sm mb-4">Municipal services portal with payment processing</p> | |
| <div class="flex flex-wrap gap-2 mb-4"> | |
| <span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded">PHP 7.4</span> | |
| <span class="bg-purple-100 text-purple-800 text-xs font-medium px-2.5 py-0.5 rounded">PostgreSQL</span> | |
| <span class="bg-yellow-100 text-yellow-800 text-xs font-medium px-2.5 py-0.5 rounded">2 Replicas</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex items-center text-sm text-gray-500"> | |
| <i class="fas fa-server mr-1"></i> | |
| <span>k8s-node-12</span> | |
| </div> | |
| <button class="text-indigo-600 hover:text-indigo-900 text-sm font-medium">Manage</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Active Pipelines --> | |
| <div class="mb-8"> | |
| <h2 class="text-xl font-bold text-gray-800 mb-4">Active Tekton Pipelines</h2> | |
| <div class="bg-white shadow rounded-lg overflow-hidden"> | |
| <div class="px-6 py-4 border-b border-gray-200"> | |
| <div class="flex items-center justify-between"> | |
| <h3 class="text-lg font-medium">Current Pipeline Executions</h3> | |
| <button class="text-indigo-600 hover:text-indigo-900 text-sm font-medium">View All</button> | |
| </div> | |
| </div> | |
| <!-- Pipeline 1 --> | |
| <div class="border-b border-gray-200 last:border-b-0"> | |
| <div class="px-6 py-4"> | |
| <div class="flex items-center justify-between mb-3"> | |
| <div class="flex items-center"> | |
| <div class="bg-indigo-100 p-2 rounded-full text-indigo-600 mr-3"> | |
| <i class="fas fa-code-branch"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-900">Drupal 10.1.2 Security Update</h4> | |
| <p class="text-sm text-gray-500">Pipeline #1245</p> | |
| </div> | |
| </div> | |
| <span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded">Running</span> | |
| </div> | |
| <div class="flex overflow-x-auto py-2"> | |
| <div class="flex space-x-4"> | |
| <!-- Pipeline Stages --> | |
| <div class="pipeline-stage bg-green-100 text-green-800 px-4 py-2 rounded-lg flex items-center"> | |
| <i class="fas fa-check-circle mr-2"></i> | |
| <span>Code Checkout</span> | |
| </div> | |
| <div class="pipeline-stage bg-green-100 text-green-800 px-4 py-2 rounded-lg flex items-center"> | |
| <i class="fas fa-check-circle mr-2"></i> | |
| <span>Dependency Update</span> | |
| </div> | |
| <div class="pipeline-stage bg-blue-100 text-blue-800 px-4 py-2 rounded-lg flex items-center"> | |
| <i class="fas fa-sync-alt fa-spin mr-2"></i> | |
| <span>Security Scan</span> | |
| </div> | |
| <div class="pipeline-stage bg-gray-100 text-gray-800 px-4 py-2 rounded-lg flex items-center"> | |
| <i class="fas fa-clock mr-2"></i> | |
| <span>Build Image</span> | |
| </div> | |
| <div class="pipeline-stage bg-gray-100 text-gray-800 px-4 py-2 rounded-lg flex items-center"> | |
| <i class="fas fa-clock mr-2"></i> | |
| <span>Deploy to Stage</span> | |
| </div> | |
| <div class="pipeline-stage bg-gray-100 text-gray-800 px-4 py-2 rounded-lg flex items-center"> | |
| <i class="fas fa-clock mr-2"></i> | |
| <span>Smoke Tests</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-3 flex justify-between items-center text-sm text-gray-500"> | |
| <div> | |
| <i class="fas fa-calendar-alt mr-1"></i> | |
| <span>Started: 2023-07-15 14:30 UTC</span> | |
| </div> | |
| <div> | |
| <i class="fas fa-stopwatch mr-1"></i> | |
| <span>Duration: 12m 45s</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Pipeline 2 --> | |
| <div class="border-b border-gray-200 last:border-b-0"> | |
| <div class="px-6 py-4"> | |
| <div class="flex items-center justify-between mb-3"> | |
| <div class="flex items-center"> | |
| <div class="bg-purple-100 p-2 rounded-full text-purple-600 mr-3"> | |
| <i class="fas fa-plus-circle"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-900">New Drupal 9 Site Provisioning</h4> | |
| <p class="text-sm text-gray-500">Pipeline #1246</p> | |
| </div> | |
| </div> | |
| <span class="bg-yellow-100 text-yellow-800 text-xs font-medium px-2.5 py-0.5 rounded">Pending</span> | |
| </div> | |
| <div class="flex overflow-x-auto py-2"> | |
| <div class="flex space-x-4"> | |
| <!-- Pipeline Stages --> | |
| <div class="pipeline-stage bg-gray-100 text-gray-800 px-4 py-2 rounded-lg flex items-center"> | |
| <i class="fas fa-clock mr-2"></i> | |
| <span>Init Cluster</span> | |
| </div> | |
| <div class="pipeline-stage bg-gray-100 text-gray-800 px-4 py-2 rounded-lg flex items-center"> | |
| <i class="fas fa-clock mr-2"></i> | |
| <span>Create DB</span> | |
| </div> | |
| <div class="pipeline-stage bg-gray-100 text-gray-800 px-4 py-2 rounded-lg flex items-center"> | |
| <i class="fas fa-clock mr-2"></i> | |
| <span>Install Drupal</span> | |
| </div> | |
| <div class="pipeline-stage bg-gray-100 text-gray-800 px-4 py-2 rounded-lg flex items-center"> | |
| <i class="fas fa-clock mr-2"></i> | |
| <span>Configure</span> | |
| </div> | |
| <div class="pipeline-stage bg-gray-100 text-gray-800 px-4 py-2 rounded-lg flex items-center"> | |
| <i class="fas fa-clock mr-2"></i> | |
| <span>Deploy</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-3 flex justify-between items-center text-sm text-gray-500"> | |
| <div> | |
| <i class="fas fa-calendar-alt mr-1"></i> | |
| <span>Queued: 2023-07-15 15:15 UTC</span> | |
| </div> | |
| <div> | |
| <i class="fas fa-stopwatch mr-1"></i> | |
| <span>Estimated: 8m</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Kubernetes Cluster Overview --> | |
| <div> | |
| <h2 class="text-xl font-bold text-gray-800 mb-4">Kubernetes Cluster Overview</h2> | |
| <div class="bg-white shadow rounded-lg overflow-hidden"> | |
| <div class="px-6 py-4 border-b border-gray-200"> | |
| <div class="flex items-center justify-between"> | |
| <h3 class="text-lg font-medium">Drupal Cluster Nodes</h3> | |
| <button class="text-indigo-600 hover:text-indigo-900 text-sm font-medium">Cluster Metrics</button> | |
| </div> | |
| </div> | |
| <div class="divide-y divide-gray-200"> | |
| <!-- Node 1 --> | |
| <div class="kubernetes-node px-6 py-4"> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <div class="bg-green-100 p-2 rounded-full text-green-600 mr-3"> | |
| <i class="fas fa-server"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-900">k8s-node-01</h4> | |
| <p class="text-sm text-gray-500">4 vCPU, 16GB RAM, 100GB Storage</p> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <div class="text-center"> | |
| <div class="text-sm text-gray-500">CPU</div> | |
| <div class="font-medium">58%</div> | |
| </div> | |
| <div class="text-center"> | |
| <div class="text-sm text-gray-500">Memory</div> | |
| <div class="font-medium">42%</div> | |
| </div> | |
| <div class="text-center"> | |
| <div class="text-sm text-gray-500">Pods</div> | |
| <div class="font-medium">12/20</div> | |
| </div> | |
| <button class="text-indigo-600 hover:text-indigo-900 text-sm font-medium">Details</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Node 2 --> | |
| <div class="kubernetes-node px-6 py-4"> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <div class="bg-green-100 p-2 rounded-full text-green-600 mr-3"> | |
| <i class="fas fa-server"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-900">k8s-node-04</h4> | |
| <p class="text-sm text-gray-500">8 vCPU, 32GB RAM, 200GB Storage</p> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <div class="text-center"> | |
| <div class="text-sm text-gray-500">CPU</div> | |
| <div class="font-medium">72%</div> | |
| </div> | |
| <div class="text-center"> | |
| <div class="text-sm text-gray-500">Memory</div> | |
| <div class="font-medium">65%</div> | |
| </div> | |
| <div class="text-center"> | |
| <div class="text-sm text-gray-500">Pods</div> | |
| <div class="font-medium">18/30</div> | |
| </div> | |
| <button class="text-indigo-600 hover:text-indigo-900 text-sm font-medium">Details</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Node 3 --> | |
| <div class="kubernetes-node px-6 py-4"> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <div class="bg-yellow-100 p-2 rounded-full text-yellow-600 mr-3"> | |
| <i class="fas fa-server"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-900">k8s-node-07</h4> | |
| <p class="text-sm text-gray-500">4 vCPU, 16GB RAM, 100GB Storage</p> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <div class="text-center"> | |
| <div class="text-sm text-gray-500">CPU</div> | |
| <div class="font-medium">35%</div> | |
| </div> | |
| <div class="text-center"> | |
| <div class="text-sm text-gray-500">Memory</div> | |
| <div class="font-medium">28%</div> | |
| </div> | |
| <div class="text-center"> | |
| <div class="text-sm text-gray-500">Pods</div> | |
| <div class="font-medium">8/20</div> | |
| </div> | |
| <button class="text-indigo-600 hover:text-indigo-900 text-sm font-medium">Details</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Footer --> | |
| <footer class="gradient-bg text-white py-8 mt-12"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">DrupalOps</h3> | |
| <p class="text-indigo-200 text-sm">Enterprise-grade Drupal management platform powered by Kubernetes and Tekton pipelines.</p> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Quick Links</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-indigo-200 hover:text-white text-sm">Documentation</a></li> | |
| <li><a href="#" class="text-indigo-200 hover:text-white text-sm">API Reference</a></li> | |
| <li><a href="#" class="text-indigo-200 hover:text-white text-sm">Cluster Status</a></li> | |
| <li><a href="#" class="text-indigo-200 hover:text-white text-sm">Support</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Resources</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-indigo-200 hover:text-white text-sm">Drupal Kubernetes Operator</a></li> | |
| <li><a href="#" class="text-indigo-200 hover:text-white text-sm">Tekton Pipelines</a></li> | |
| <li><a href="#" class="text-indigo-200 hover:text-white text-sm">Helm Charts</a></li> | |
| <li><a href="#" class="text-indigo-200 hover:text-white text-sm">Terraform Modules</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Connect</h3> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-indigo-200 hover:text-white"><i class="fab fa-github"></i></a> | |
| <a href="#" class="text-indigo-200 hover:text-white"><i class="fab fa-twitter"></i></a> | |
| <a href="#" class="text-indigo-200 hover:text-white"><i class="fab fa-linkedin"></i></a> | |
| <a href="#" class="text-indigo-200 hover:text-white"><i class="fab fa-slack"></i></a> | |
| </div> | |
| <p class="text-indigo-200 text-sm mt-4">Subscribe to our newsletter</p> | |
| <div class="mt-2 flex"> | |
| <input type="email" placeholder="Your email" class="px-3 py-2 text-gray-800 rounded-l text-sm w-full"> | |
| <button class="bg-indigo-800 hover:bg-indigo-700 px-4 py-2 rounded-r text-sm">Subscribe</button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="border-t border-indigo-500 mt-8 pt-8 text-sm text-indigo-200"> | |
| <div class="flex flex-col md:flex-row justify-between items-center"> | |
| <p>© 2023 DrupalOps Platform. All rights reserved.</p> | |
| <div class="flex space-x-6 mt-4 md:mt-0"> | |
| <a href="#" class="hover:text-white">Privacy Policy</a> | |
| <a href="#" class="hover:text-white">Terms of Service</a> | |
| <a href="#" class="hover:text-white">Security</a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Simple interactive elements | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Toggle mobile menu (would need to be implemented fully) | |
| const mobileMenuButton = document.createElement('button'); | |
| mobileMenuButton.className = 'md:hidden text-white p-2'; | |
| mobileMenuButton.innerHTML = '<i class="fas fa-bars"></i>'; | |
| // Site card click handler | |
| const siteCards = document.querySelectorAll('.site-card'); | |
| siteCards.forEach(card => { | |
| card.addEventListener('click', function() { | |
| // In a real app, this would navigate to the site detail view | |
| console.log('Navigating to site detail'); | |
| }); | |
| }); | |
| // Pipeline stage tooltips | |
| const pipelineStages = document.querySelectorAll('.pipeline-stage'); | |
| pipelineStages.forEach(stage => { | |
| stage.addEventListener('mouseenter', function() { | |
| // Show tooltip with more details | |
| }); | |
| }); | |
| // Simulate pipeline progress updates | |
| setInterval(() => { | |
| const runningPipelines = document.querySelectorAll('.pipeline-stage .fa-sync-alt'); | |
| runningPipelines.forEach(icon => { | |
| // Just keep them spinning | |
| }); | |
| }, 100); | |
| }); | |
| </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=zterry95/dsf" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |