Build-IT_AI / workspace-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
14.4 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>Workspace 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>
.workspace-card:hover {
transform: translateY(-4px);
box-shadow: 0 20px 25px -5px rgba(239, 68, 68, 0.1), 0 10px 10px -5px rgba(239, 68, 68, 0.04);
}
</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-red-400 hover:text-red-300 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-gray-300 hover:text-white 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="workspace.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 Workspace
</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">Workspace Manager</h1>
<p class="text-gray-400">Manage your development environments and AI-assisted coding sessions</p>
</div>
<div class="flex space-x-4">
<div class="relative">
<input type="text" placeholder="Search workspaces..." 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 Workspaces</option>
<option>Active</option>
<option>Archived</option>
<option>Recent</option>
</select>
</div>
</div>
</div>
</div>
<!-- Workspaces Grid -->
<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-2 lg:grid-cols-3 gap-6">
<!-- Workspace 1 -->
<div class="bg-gray-800 rounded-xl border border-gray-700 workspace-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-10 h-10 bg-red-500 rounded-lg flex items-center justify-center">
<i data-feather="code" class="w-5 h-5"></i>
</div>
<div>
<h3 class="font-semibold text-white">Python Data Analysis</h3>
<p class="text-sm text-gray-400">Last active: 2 hours ago</p>
</div>
</div>
<div class="flex space-x-2">
<button class="text-gray-400 hover:text-red-400 transition-colors">
<i data-feather="play" class="w-4 h-4"></i>
</button>
<button class="text-gray-400 hover:text-red-400 transition-colors">
<i data-feather="more-vertical" class="w-4 h-4"></i>
</button>
</div>
</div>
<p class="text-gray-300 text-sm mb-4">Data analysis project with pandas and matplotlib for customer insights.</p>
<div class="flex items-center justify-between text-sm">
<div class="flex items-center space-x-4 text-gray-400">
<span class="flex items-center">
<i data-feather="cpu" class="w-3 h-3 mr-1"></i>
2GB RAM
</span>
<span class="flex items-center">
<i data-feather="clock" class="w-3 h-3 mr-1"></i>
Python 3.11
</span>
</div>
<div class="bg-green-500/20 text-green-400 px-2 py-1 rounded-full text-xs">
Active
</div>
</div>
</div>
<!-- Workspace 2 -->
<div class="bg-gray-800 rounded-xl border border-gray-700 workspace-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-10 h-10 bg-blue-500 rounded-lg flex items-center justify-center">
<i data-feather="code" class="w-5 h-5"></i>
</div>
<div>
<h3 class="font-semibold text-white">React Web App</h3>
<p class="text-sm text-gray-400">Last active: 1 day ago</p>
</div>
</div>
<div class="flex space-x-2">
<button class="text-gray-400 hover:text-red-400 transition-colors">
<i data-feather="play" class="w-4 h-4"></i>
</button>
<button class="text-gray-400 hover:text-red-400 transition-colors">
<i data-feather="more-vertical" class="w-4 h-4"></i>
</button>
</div>
</div>
<p class="text-gray-300 text-sm mb-4">Modern React application with TypeScript and Tailwind CSS.</p>
<div class="flex items-center justify-between text-sm">
<div class="flex items-center space-x-4 text-gray-400">
<span class="flex items-center">
<i data-feather="cpu" class="w-3 h-3 mr-1"></i>
4GB RAM
</span>
<span class="flex items-center">
<i data-feather="clock" class="w-3 h-3 mr-1"></i>
Node.js 18
</span>
</div>
<div class="bg-yellow-500/20 text-yellow-400 px-2 py-1 rounded-full text-xs">
Paused
</div>
</div>
</div>
<!-- Workspace 3 -->
<div class="bg-gray-800 rounded-xl border border-gray-700 workspace-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-10 h-10 bg-green-500 rounded-lg flex items-center justify-center">
<i data-feather="code" class="w-5 h-5"></i>
</div>
<div>
<h3 class="font-semibold text-white">Machine Learning</h3>
<p class="text-sm text-gray-400">Last active: 3 days ago</p>
</div>
</div>
<div class="flex space-x-2">
<button class="text-gray-400 hover:text-red-400 transition-colors">
<i data-feather="play" class="w-4 h-4"></i>
</button>
<button class="text-gray-400 hover:text-red-400 transition-colors">
<i data-feather="more-vertical" class="w-4 h-4"></i>
</button>
</div>
</div>
<p class="text-gray-300 text-sm mb-4">TensorFlow project for image classification and model training.</p>
<div class="flex items-center justify-between text-sm">
<div class="flex items-center space-x-4 text-gray-400">
<span class="flex items-center">
<i data-feather="cpu" class="w-3 h-3 mr-1"></i>
8GB RAM
</span>
<span class="flex items-center">
<i data-feather="clock" class="w-3 h-3 mr-1"></i>
Python 3.9
</span>
</div>
<div class="bg-gray-500/20 text-gray-400 px-2 py-1 rounded-full text-xs">
Stopped
</div>
</div>
</div>
<!-- New Workspace Card -->
<div class="bg-gray-800/50 rounded-xl border-2 border-dashed border-gray-600 hover:border-red-500 transition-all duration-300 p-6 flex flex-col items-center justify-center cursor-pointer group">
<div class="w-16 h-16 bg-gray-700 rounded-full flex items-center justify-center mb-4 group-hover:bg-red-500 transition-colors">
<i data-feather="plus" class="w-8 h-8 text-gray-400 group-hover:text-white"></i>
</div>
<h3 class="text-lg font-semibold text-white mb-2">Create New Workspace</h3>
<p class="text-gray-400 text-center text-sm">Start a new development environment with your preferred stack</p>
</div>
</div>
</div>
<!-- Statistics Section -->
<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 Workspaces</p>
<p class="text-2xl font-bold text-white">3</p>
</div>
<div class="w-12 h-12 bg-red-500/20 rounded-lg flex items-center justify-center">
<i data-feather="play" class="w-6 h-6 text-red-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 Workspaces</p>
<p class="text-2xl font-bold text-white">12</p>
</div>
<div class="w-12 h-12 bg-blue-500/20 rounded-lg flex items-center justify-center">
<i data-feather="folder" 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">Storage Used</p>
<p class="text-2xl font-bold text-white">4.2GB</p>
</div>
<div class="w-12 h-12 bg-green-500/20 rounded-lg flex items-center justify-center">
<i data-feather="hard-drive" 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">AI Requests</p>
<p class="text-2xl font-bold text-white">87/100</p>
</div>
<div class="w-12 h-12 bg-purple-500/20 rounded-lg flex items-center justify-center">
<i data-feather="zap" class="w-6 h-6 text-purple-400"></i>
</div>
</div>
</div>
</div>
</div>
<script>
feather.replace();
// Add click handler for new workspace card
document.querySelector('.border-dashed').addEventListener('click', function() {
window.location.href = 'workspace.html';
});
</script>
</body>
</html>