Build-IT_AI / deployment-manager.html
Urbanzulu's picture
add the workspace manager files and the ai editor files and deployment manager files and container mangement files
ce781ae verified
raw
history blame
18.5 kB
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Deployment Manager | CodeForge-AI</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<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>
<style>
.deployment-card:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.1);
}
.status-active { background-color: #10b981; }
.status-pending { background-color: #f59e0b; }
.status-failed { background-color: #ef4444; }
.status-stopped { background-color: #6b7280; }
</style>
</head>
<body class="bg-gray-900 text-white min-h-screen">
<!-- Navigation -->
<nav class="bg-gray-800 border-b border-red-500/20 sticky top-0 z-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center h-16">
<div class="flex items-center space-x-4">
<a href="index.html" class="flex items-center space-x-2">
<div class="w-8 h-8 bg-red-500 rounded-lg flex items-center justify-center">
<i data-feather="code" class="w-4 h-4"></i>
</div>
<span class="text-xl font-bold text-white">CodeForge-AI</span>
</a>
<div class="hidden md:flex space-x-6">
<a href="workspace-manager.html" class="text-gray-300 hover:text-white transition-colors">Workspaces</a>
<a href="ai-editor.html" class="text-gray-300 hover:text-white transition-colors">AI Editor</a>
<a href="deployment-manager.html" class="text-red-400 hover:text-red-300 transition-colors">Deployments</a>
<a href="container-manager.html" class="text-gray-300 hover:text-white transition-colors">Containers</a>
<a href="documentation.html" class="text-gray-300 hover:text-white transition-colors">Documentation</a>
</div>
</div>
<div class="flex items-center space-x-4">
<a href="deployment-manager.html" class="bg-red-500 hover:bg-red-600 px-4 py-2 rounded-lg text-white font-medium transition-colors">
<i data-feather="plus" class="w-4 h-4 inline mr-2"></i>
New Deployment
</a>
<button class="text-gray-300 hover:text-white transition-colors">
<i data-feather="user" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Header -->
<div class="bg-gray-800/50 border-b border-gray-700">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div class="flex items-center justify-between">
<div>
<h1 class="text-3xl font-bold text-white mb-2">Deployment Manager</h1>
<p class="text-gray-400">Deploy your applications to multiple platforms with one click</p>
</div>
<div class="flex space-x-4">
<div class="relative">
<input type="text" placeholder="Search deployments..." class="bg-gray-700 border border-gray-600 rounded-lg px-4 py-2 pl-10 text-white placeholder-gray-400 focus:outline-none focus:border-red-500">
<i data-feather="search" class="w-4 h-4 text-gray-400 absolute left-3 top-3"></i>
</div>
<select class="bg-gray-700 border border-gray-600 rounded-lg px-4 py-2 text-white focus:outline-none focus:border-red-500">
<option>All Deployments</option>
<option>Active</option>
<option>Pending</option>
<option>Failed</option>
</select>
</div>
</div>
</div>
</div>
<!-- Deployments Grid -->
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
<!-- Deployment 1 -->
<div class="bg-gray-800 rounded-xl border border-gray-700 deployment-card transition-all duration-300 p-6">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center space-x-3">
<div class="w-12 h-12 bg-blue-500 rounded-lg flex items-center justify-center">
<i data-feather="cloud" class="w-6 h-6"></i>
</div>
<div>
<h3 class="font-semibold text-white">Web Dashboard</h3>
<p class="text-sm text-gray-400">Production • Vercel</p>
</div>
</div>
<div class="flex items-center space-x-2">
<span class="status-active w-3 h-3 rounded-full"></span>
<span class="text-green-400 text-sm">Active</span>
</div>
</div>
<p class="text-gray-300 text-sm mb-4">React dashboard application with real-time analytics and user management.</p>
<div class="flex items-center justify-between text-sm mb-4">
<div class="text-gray-400">
<i data-feather="calendar" class="w-4 h-4 inline mr-1"></i>
Deployed: 2 days ago
</div>
<div class="text-gray-400">
<i data-feather="globe" class="w-4 h-4 inline mr-1"></i>
https://dashboard.example.com
</div>
</div>
<div class="flex space-x-2">
<button class="flex-1 bg-gray-700 hover:bg-gray-600 text-white py-2 rounded-lg text-sm font-medium transition-colors">
<i data-feather="refresh-cw" class="w-4 h-4 inline mr-2"></i>
Redeploy
</button>
<button class="flex-1 bg-red-500 hover:bg-red-600 text-white py-2 rounded-lg text-sm font-medium transition-colors">
<i data-feather="trash-2" class="w-4 h-4 inline mr-2"></i>
Delete
</button>
</div>
</div>
<!-- Deployment 2 -->
<div class="bg-gray-800 rounded-xl border border-gray-700 deployment-card transition-all duration-300 p-6">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center space-x-3">
<div class="w-12 h-12 bg-green-500 rounded-lg flex items-center justify-center">
<i data-feather="server" class="w-6 h-6"></i>
</div>
<div>
<h3 class="font-semibold text-white">API Service</h3>
<p class="text-sm text-gray-400">Staging • Docker</p>
</div>
</div>
<div class="flex items-center space-x-2">
<span class="status-pending w-3 h-3 rounded-full"></span>
<span class="text-yellow-400 text-sm">Pending</span>
</div>
</div>
<p class="text-gray-300 text-sm mb-4">FastAPI backend service with PostgreSQL database and Redis cache.</p>
<div class="flex items-center justify-between text-sm mb-4">
<div class="text-gray-400">
<i data-feather="calendar" class="w-4 h-4 inline mr-1"></i>
Started: 5 minutes ago
</div>
<div class="text-gray-400">
<i data-feather="clock" class="w-4 h-4 inline mr-1"></i>
Building...
</div>
</div>
<div class="flex space-x-2">
<button class="flex-1 bg-gray-700 hover:bg-gray-600 text-white py-2 rounded-lg text-sm font-medium transition-colors">
<i data-feather="pause" class="w-4 h-4 inline mr-2"></i>
Cancel
</button>
<button class="flex-1 bg-gray-700 hover:bg-gray-600 text-white py-2 rounded-lg text-sm font-medium transition-colors">
<i data-feather="bar-chart" class="w-4 h-4 inline mr-2"></i>
Logs
</button>
</div>
</div>
<!-- Deployment 3 -->
<div class="bg-gray-800 rounded-xl border border-gray-700 deployment-card transition-all duration-300 p-6">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center space-x-3">
<div class="w-12 h-12 bg-purple-500 rounded-lg flex items-center justify-center">
<i data-feather="box" class="w-6 h-6"></i>
</div>
<div>
<h3 class="font-semibold text-white">ML Model</h3>
<p class="text-sm text-gray-400">Production • AWS</p>
</div>
</div>
<div class="flex items-center space-x-2">
<span class="status-active w-3 h-3 rounded-full"></span>
<span class="text-green-400 text-sm">Active</span>
</div>
</div>
<p class="text-gray-300 text-sm mb-4">TensorFlow model serving with auto-scaling and monitoring.</p>
<div class="flex items-center justify-between text-sm mb-4">
<div class="text-gray-400">
<i data-feather="calendar" class="w-4 h-4 inline mr-1"></i>
Deployed: 1 week ago
</div>
<div class="text-gray-400">
<i data-feather="activity" class="w-4 h-4 inline mr-1"></i>
98% Uptime
</div>
</div>
<div class="flex space-x-2">
<button class="flex-1 bg-gray-700 hover:bg-gray-600 text-white py-2 rounded-lg text-sm font-medium transition-colors">
<i data-feather="refresh-cw" class="w-4 h-4 inline mr-2"></i>
Update
</button>
<button class="flex-1 bg-red-500 hover:bg-red-600 text-white py-2 rounded-lg text-sm font-medium transition-colors">
<i data-feather="trash-2" class="w-4 h-4 inline mr-2"></i>
Delete
</button>
</div>
</div>
<!-- Deployment 4 -->
<div class="bg-gray-800 rounded-xl border border-gray-700 deployment-card transition-all duration-300 p-6">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center space-x-3">
<div class="w-12 h-12 bg-yellow-500 rounded-lg flex items-center justify-center">
<i data-feather="database" class="w-6 h-6"></i>
</div>
<div>
<h3 class="font-semibold text-white">Database Service</h3>
<p class="text-sm text-gray-400">Development • Kubernetes</p>
</div>
</div>
<div class="flex items-center space-x-2">
<span class="status-failed w-3 h-3 rounded-full"></span>
<span class="text-red-400 text-sm">Failed</span>
</div>
</div>
<p class="text-gray-300 text-sm mb-4">PostgreSQL cluster with replication and backup configuration.</p>
<div class="flex items-center justify-between text-sm mb-4">
<div class="text-gray-400">
<i data-feather="calendar" class="w-4 h-4 inline mr-1"></i>
Failed: 1 hour ago
</div>
<div class="text-red-400">
<i data-feather="alert-triangle" class="w-4 h-4 inline mr-1"></i>
Resource limit exceeded
</div>
</div>
<div class="flex space-x-2">
<button class="flex-1 bg-gray-700 hover:bg-gray-600 text-white py-2 rounded-lg text-sm font-medium transition-colors">
<i data-feather="refresh-cw" class="w-4 h-4 inline mr-2"></i>
Retry
</button>
<button class="flex-1 bg-gray-700 hover:bg-gray-600 text-white py-2 rounded-lg text-sm font-medium transition-colors">
<i data-feather="bar-chart" class="w-4 h-4 inline mr-2"></i>
Debug
</button>
</div>
</div>
</div>
</div>
<!-- Quick Deploy Section -->
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div class="bg-gray-800 rounded-xl border border-gray-700 p-8">
<h2 class="text-2xl font-bold text-white mb-6">Quick Deploy</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div class="bg-gray-700/50 rounded-lg p-6 border border-gray-600 hover:border-red-500 transition-all cursor-pointer group">
<div class="w-16 h-16 bg-blue-500 rounded-xl flex items-center justify-center mb-4 group-hover:scale-110 transition-transform">
<i data-feather="cloud" class="w-8 h-8"></i>
</div>
<h3 class="text-lg font-semibold text-white mb-2">Vercel</h3>
<p class="text-gray-400 text-sm">Deploy frontend applications with zero configuration</p>
</div>
<div class="bg-gray-700/50 rounded-lg p-6 border border-gray-600 hover:border-red-500 transition-all cursor-pointer group">
<div class="w-16 h-16 bg-green-500 rounded-xl flex items-center justify-center mb-4 group-hover:scale-110 transition-transform">
<i data-feather="server" class="w-8 h-8"></i>
</div>
<h3 class="text-lg font-semibold text-white mb-2">Docker</h3>
<p class="text-gray-400 text-sm">Containerized deployments with custom Docker images</p>
</div>
<div class="bg-gray-700/50 rounded-lg p-6 border border-gray-600 hover:border-red-500 transition-all cursor-pointer group">
<div class="w-16 h-16 bg-purple-500 rounded-xl flex items-center justify-center mb-4 group-hover:scale-110 transition-transform">
<i data-feather="box" class="w-8 h-8"></i>
</div>
<h3 class="text-lg font-semibold text-white mb-2">Kubernetes</h3>
<p class="text-gray-400 text-sm">Scalable container orchestration with auto-healing</p>
</div>
</div>
</div>
</div>
<!-- Statistics -->
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div class="grid grid-cols-1 md:grid-cols-4 gap-6">
<div class="bg-gray-800 rounded-xl p-6 border border-gray-700">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-400 text-sm">Active Deployments</p>
<p class="text-2xl font-bold text-white">8</p>
</div>
<div class="w-12 h-12 bg-green-500/20 rounded-lg flex items-center justify-center">
<i data-feather="play" class="w-6 h-6 text-green-400"></i>
</div>
</div>
</div>
<div class="bg-gray-800 rounded-xl p-6 border border-gray-700">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-400 text-sm">Total Deployments</p>
<p class="text-2xl font-bold text-white">24</p>
</div>
<div class="w-12 h-12 bg-blue-500/20 rounded-lg flex items-center justify-center">
<i data-feather="cloud" class="w-6 h-6 text-blue-400"></i>
</div>
</div>
</div>
<div class="bg-gray-800 rounded-xl p-6 border border-gray-700">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-400 text-sm">Uptime</p>
<p class="text-2xl font-bold text-white">99.8%</p>
</div>
<div class="w-12 h-12 bg-purple-500/20 rounded-lg flex items-center justify-center">
<i data-feather="trending-up" class="w-6 h-6 text-purple-400"></i>
</div>
</div>
</div>
<div class="bg-gray-800 rounded-xl p-6 border border-gray-700">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-400 text-sm">Failed Deployments</p>
<p class="text-2xl font-bold text-white">2</p>
</div>
<div class="w-12 h-12 bg-red-500/20 rounded-lg flex items-center justify-center">
<i data-feather="alert-triangle" class="w-6 h-6 text-red-400"></i>
</div>
</div>
</div>
</div>
</div>
<script>
feather.replace();
</script>
</body>
</html>