|
<!DOCTYPE html> |
|
<html lang="en"> |
|
<head> |
|
<meta charset="UTF-8"> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
<title>AutomaForge - Agent 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"> |
|
<style> |
|
.agent-card:hover { |
|
transform: translateY(-5px); |
|
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); |
|
} |
|
.sidebar { |
|
transition: all 0.3s ease; |
|
} |
|
.sidebar.collapsed { |
|
width: 70px; |
|
} |
|
.sidebar.collapsed .sidebar-text { |
|
display: none; |
|
} |
|
.main-content { |
|
transition: all 0.3s ease; |
|
} |
|
.main-content.expanded { |
|
margin-left: 70px; |
|
} |
|
</style> |
|
</head> |
|
<body class="bg-gray-50"> |
|
<div class="flex h-screen overflow-hidden"> |
|
|
|
<div class="sidebar bg-indigo-800 text-white w-64 flex flex-col"> |
|
<div class="p-4 flex items-center justify-between border-b border-indigo-700"> |
|
<div class="flex items-center space-x-2"> |
|
<i class="fas fa-robot text-2xl"></i> |
|
<span class="sidebar-text text-xl font-bold">AutomaForge</span> |
|
</div> |
|
<button id="toggleSidebar" class="text-white focus:outline-none"> |
|
<i class="fas fa-bars"></i> |
|
</button> |
|
</div> |
|
|
|
<div class="flex-1 overflow-y-auto"> |
|
<div class="p-4"> |
|
<div class="mb-6"> |
|
<h3 class="sidebar-text text-xs uppercase tracking-wider text-indigo-400 mb-2">Navigation</h3> |
|
<ul> |
|
<li class="mb-1"> |
|
<a href="#" class="flex items-center px-3 py-2 rounded bg-indigo-700 text-white"> |
|
<i class="fas fa-home mr-3"></i> |
|
<span class="sidebar-text">Dashboard</span> |
|
</a> |
|
</li> |
|
<li class="mb-1"> |
|
<a href="#" class="flex items-center px-3 py-2 rounded hover:bg-indigo-700 text-white"> |
|
<i class="fas fa-plus-circle mr-3"></i> |
|
<span class="sidebar-text">New Agent</span> |
|
</a> |
|
</li> |
|
<li class="mb-1"> |
|
<a href="#" class="flex items-center px-3 py-2 rounded hover:bg-indigo-700 text-white"> |
|
<i class="fas fa-history mr-3"></i> |
|
<span class="sidebar-text">Recent Agents</span> |
|
</a> |
|
</li> |
|
</ul> |
|
</div> |
|
|
|
<div class="mb-6"> |
|
<h3 class="sidebar-text text-xs uppercase tracking-wider text-indigo-400 mb-2">Agent Types</h3> |
|
<ul> |
|
<li class="mb-1"> |
|
<a href="#" class="flex items-center px-3 py-2 rounded hover:bg-indigo-700 text-white"> |
|
<i class="fas fa-headset mr-3"></i> |
|
<span class="sidebar-text">Customer Support Bot</span> |
|
</a> |
|
</li> |
|
<li class="mb-1"> |
|
<a href="#" class="flex items-center px-3 py-2 rounded hover:bg-indigo-700 text-white"> |
|
<i class="fas fa-chart-bar mr-3"></i> |
|
<span class="sidebar-text">Data Analyzer</span> |
|
</a> |
|
</li> |
|
<li class="mb-1"> |
|
<a href="#" class="flex items-center px-3 py-2 rounded hover:bg-indigo-700 text-white"> |
|
<i class="fas fa-image mr-3"></i> |
|
<span class="sidebar-text">Image Processor</span> |
|
</a> |
|
</li> |
|
<li class="mb-1"> |
|
<a href="#" class="flex items-center px-3 py-2 rounded hover:bg-indigo-700 text-white"> |
|
<i class="fas fa-file-alt mr-3"></i> |
|
<span class="sidebar-text">Document Summarizer</span> |
|
</a> |
|
</li> |
|
</ul> |
|
</div> |
|
|
|
<div> |
|
<h3 class="sidebar-text text-xs uppercase tracking-wider text-indigo-400 mb-2">Templates</h3> |
|
<ul> |
|
<li class="mb-1"> |
|
<a href="#" class="flex items-center px-3 py-2 rounded hover:bg-indigo-700 text-white"> |
|
<i class="fas fa-comments mr-3"></i> |
|
<span class="sidebar-text">Chatbot</span> |
|
</a> |
|
</li> |
|
<li class="mb-1"> |
|
<a href="#" class="flex items-center px-3 py-2 rounded hover:bg-indigo-700 text-white"> |
|
<i class="fas fa-chart-pie mr-3"></i> |
|
<span class="sidebar-text">Data Analysis</span> |
|
</a> |
|
</li> |
|
<li class="mb-1"> |
|
<a href="#" class="flex items-center px-3 py-2 rounded hover:bg-indigo-700 text-white"> |
|
<i class="fas fa-camera mr-3"></i> |
|
<span class="sidebar-text">Image Processing</span> |
|
</a> |
|
</li> |
|
</ul> |
|
</div> |
|
</div> |
|
</div> |
|
|
|
<div class="p-4 border-t border-indigo-700"> |
|
<div class="flex items-center"> |
|
<div class="w-8 h-8 rounded-full bg-indigo-600 flex items-center justify-center"> |
|
<i class="fas fa-user text-sm"></i> |
|
</div> |
|
<div class="ml-3 sidebar-text"> |
|
<p class="text-sm font-medium">Admin User</p> |
|
<p class="text-xs text-indigo-300">admin@automaforge.com</p> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
|
|
|
|
<div class="main-content flex-1 overflow-auto"> |
|
<div class="p-6"> |
|
<div class="flex justify-between items-center mb-6"> |
|
<h1 class="text-2xl font-bold text-gray-800">Agent Dashboard</h1> |
|
<button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg flex items-center"> |
|
<i class="fas fa-plus mr-2"></i> |
|
<span>Create New Agent</span> |
|
</button> |
|
</div> |
|
|
|
|
|
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8"> |
|
<div class="bg-white rounded-lg shadow p-6"> |
|
<div class="flex items-center justify-between"> |
|
<div> |
|
<p class="text-gray-500">Total Agents</p> |
|
<h3 class="text-2xl font-bold">24</h3> |
|
</div> |
|
<div class="bg-indigo-100 p-3 rounded-full"> |
|
<i class="fas fa-robot text-indigo-600 text-xl"></i> |
|
</div> |
|
</div> |
|
</div> |
|
|
|
<div class="bg-white rounded-lg shadow p-6"> |
|
<div class="flex items-center justify-between"> |
|
<div> |
|
<p class="text-gray-500">Active Agents</p> |
|
<h3 class="text-2xl font-bold">18</h3> |
|
</div> |
|
<div class="bg-green-100 p-3 rounded-full"> |
|
<i class="fas fa-check-circle text-green-600 text-xl"></i> |
|
</div> |
|
</div> |
|
</div> |
|
|
|
<div class="bg-white rounded-lg shadow p-6"> |
|
<div class="flex items-center justify-between"> |
|
<div> |
|
<p class="text-gray-500">Inactive Agents</p> |
|
<h3 class="text-2xl font-bold">4</h3> |
|
</div> |
|
<div class="bg-yellow-100 p-3 rounded-full"> |
|
<i class="fas fa-exclamation-circle text-yellow-600 text-xl"></i> |
|
</div> |
|
</div> |
|
</div> |
|
|
|
<div class="bg-white rounded-lg shadow p-6"> |
|
<div class="flex items-center justify-between"> |
|
<div> |
|
<p class="text-gray-500">Errors Today</p> |
|
<h3 class="text-2xl font-bold">2</h3> |
|
</div> |
|
<div class="bg-red-100 p-3 rounded-full"> |
|
<i class="fas fa-times-circle text-red-600 text-xl"></i> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
|
|
|
|
<div class="bg-white rounded-lg shadow p-6 mb-8"> |
|
<div class="flex justify-between items-center mb-6"> |
|
<h2 class="text-xl font-semibold text-gray-800">Recent Agents</h2> |
|
<a href="#" class="text-indigo-600 hover:text-indigo-800 text-sm font-medium">View All</a> |
|
</div> |
|
|
|
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> |
|
|
|
<div class="agent-card bg-white border border-gray-200 rounded-lg p-6 transition-all duration-300"> |
|
<div class="flex items-center mb-4"> |
|
<div class="bg-indigo-100 p-3 rounded-full mr-4"> |
|
<i class="fas fa-headset text-indigo-600 text-xl"></i> |
|
</div> |
|
<div> |
|
<h3 class="font-semibold">Customer Support Bot</h3> |
|
<p class="text-gray-500 text-sm">Last active: 5 min ago</p> |
|
</div> |
|
</div> |
|
<p class="text-gray-600 mb-4">Handles customer inquiries and provides automated support responses.</p> |
|
<div class="flex justify-between items-center"> |
|
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">Active</span> |
|
<button class="text-indigo-600 hover:text-indigo-800"> |
|
<i class="fas fa-ellipsis-v"></i> |
|
</button> |
|
</div> |
|
</div> |
|
|
|
|
|
<div class="agent-card bg-white border border-gray-200 rounded-lg p-6 transition-all duration-300"> |
|
<div class="flex items-center mb-4"> |
|
<div class="bg-blue-100 p-3 rounded-full mr-4"> |
|
<i class="fas fa-chart-bar text-blue-600 text-xl"></i> |
|
</div> |
|
<div> |
|
<h3 class="font-semibold">Data Analyzer</h3> |
|
<p class="text-gray-500 text-sm">Last active: 2 hours ago</p> |
|
</div> |
|
</div> |
|
<p class="text-gray-600 mb-4">Processes large datasets and generates analytical reports.</p> |
|
<div class="flex justify-between items-center"> |
|
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">Active</span> |
|
<button class="text-indigo-600 hover:text-indigo-800"> |
|
<i class="fas fa-ellipsis-v"></i> |
|
</button> |
|
</div> |
|
</div> |
|
|
|
|
|
<div class="agent-card bg-white border border-gray-200 rounded-lg p-6 transition-all duration-300"> |
|
<div class="flex items-center mb-4"> |
|
<div class="bg-purple-100 p-3 rounded-full mr-4"> |
|
<i class="fas fa-image text-purple-600 text-xl"></i> |
|
</div> |
|
<div> |
|
<h3 class="font-semibold">Image Processor</h3> |
|
<p class="text-gray-500 text-sm">Last active: 1 day ago</p> |
|
</div> |
|
</div> |
|
<p class="text-gray-600 mb-4">Processes and analyzes images using computer vision.</p> |
|
<div class="flex justify-between items-center"> |
|
<span class="bg-yellow-100 text-yellow-800 text-xs px-2 py-1 rounded-full">Inactive</span> |
|
<button class="text-indigo-600 hover:text-indigo-800"> |
|
<i class="fas fa-ellipsis-v"></i> |
|
</button> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
|
|
|
|
<div class="bg-white rounded-lg shadow p-6"> |
|
<h2 class="text-xl font-semibold text-gray-800 mb-6">Create New Agent</h2> |
|
|
|
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> |
|
|
|
<div class="agent-card border border-gray-200 rounded-lg p-6 hover:border-indigo-300 transition-all duration-300 cursor-pointer"> |
|
<div class="flex items-center mb-4"> |
|
<div class="bg-indigo-100 p-3 rounded-full mr-4"> |
|
<i class="fas fa-headset text-indigo-600 text-xl"></i> |
|
</div> |
|
<h3 class="font-semibold">Customer Support Bot</h3> |
|
</div> |
|
<p class="text-gray-600 mb-4">Create an agent that can handle customer inquiries, provide automated responses, and escalate to human agents when needed.</p> |
|
<button class="w-full bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg"> |
|
Create Agent |
|
</button> |
|
</div> |
|
|
|
|
|
<div class="agent-card border border-gray-200 rounded-lg p-6 hover:border-indigo-300 transition-all duration-300 cursor-pointer"> |
|
<div class="flex items-center mb-4"> |
|
<div class="bg-blue-100 p-3 rounded-full mr-4"> |
|
<i class="fas fa-chart-bar text-blue-600 text-xl"></i> |
|
</div> |
|
<h3 class="font-semibold">Data Analyzer</h3> |
|
</div> |
|
<p class="text-gray-600 mb-4">Create an agent that can process large datasets, generate reports, and provide data-driven insights.</p> |
|
<button class="w-full bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg"> |
|
Create Agent |
|
</button> |
|
</div> |
|
|
|
|
|
<div class="agent-card border border-gray-200 rounded-lg p-6 hover:border-indigo-300 transition-all duration-300 cursor-pointer"> |
|
<div class="flex items-center mb-4"> |
|
<div class="bg-purple-100 p-3 rounded-full mr-4"> |
|
<i class="fas fa-image text-purple-600 text-xl"></i> |
|
</div> |
|
<h3 class="font-semibold">Image Processor</h3> |
|
</div> |
|
<p class="text-gray-600 mb-4">Create an agent that can analyze images, recognize objects, and process visual data using computer vision.</p> |
|
<button class="w-full bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg"> |
|
Create Agent |
|
</button> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
|
|
<script> |
|
|
|
document.getElementById('toggleSidebar').addEventListener('click', function() { |
|
const sidebar = document.querySelector('.sidebar'); |
|
const mainContent = document.querySelector('.main-content'); |
|
|
|
sidebar.classList.toggle('collapsed'); |
|
mainContent.classList.toggle('expanded'); |
|
}); |
|
|
|
|
|
const agentCards = document.querySelectorAll('.agent-card'); |
|
agentCards.forEach(card => { |
|
card.addEventListener('mouseenter', function() { |
|
this.style.boxShadow = '0 10px 25px -5px rgba(0, 0, 0, 0.1)'; |
|
this.style.transform = 'translateY(-5px)'; |
|
}); |
|
|
|
card.addEventListener('mouseleave', function() { |
|
this.style.boxShadow = ''; |
|
this.style.transform = ''; |
|
}); |
|
}); |
|
|
|
|
|
const createButtons = document.querySelectorAll('.agent-card button'); |
|
createButtons.forEach(button => { |
|
button.addEventListener('click', function(e) { |
|
e.stopPropagation(); |
|
const agentType = this.closest('.agent-card').querySelector('h3').textContent; |
|
alert(`Creating new ${agentType}...`); |
|
}); |
|
}); |
|
</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=adowu/tttt" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body> |
|
</html> |