|
|
<!DOCTYPE html> |
|
|
<html lang="en"> |
|
|
<head> |
|
|
<meta charset="UTF-8"> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
|
<title>Workflows - KODE 1</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> |
|
|
<script> |
|
|
tailwind.config = { |
|
|
darkMode: 'class', |
|
|
theme: { |
|
|
extend: { |
|
|
colors: { |
|
|
primary: { |
|
|
50: '#f0f9ff', |
|
|
100: '#e0f2fe', |
|
|
200: '#bae6fd', |
|
|
300: '#7dd3fc', |
|
|
400: '#38bdf8', |
|
|
500: '#0ea5e9', |
|
|
600: '#0284c7', |
|
|
700: '#0369a1', |
|
|
800: '#075985', |
|
|
900: '#0c4a6e', |
|
|
}, |
|
|
secondary: { |
|
|
50: '#f8fafc', |
|
|
100: '#f1f5f9', |
|
|
200: '#e2e8f0', |
|
|
300: '#cbd5e1', |
|
|
400: '#94a3b8', |
|
|
500: '#64748b', |
|
|
600: '#475569', |
|
|
700: '#334155', |
|
|
800: '#1e293b', |
|
|
900: '#0f172a', |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</head> |
|
|
<body class="bg-secondary-50 dark:bg-secondary-900 text-secondary-900 dark:text-secondary-100"> |
|
|
|
|
|
<nav class="bg-white dark:bg-secondary-800 border-b border-secondary-200 dark:border-secondary-700 fixed w-full top-0 z-50"> |
|
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> |
|
|
<div class="flex justify-between h-16"> |
|
|
<div class="flex items-center"> |
|
|
<div class="flex-shrink-0 flex items-center"> |
|
|
<div class="w-10 h-10 bg-prcan you add an agent builder to it? but this time what i want is qwen code cli that can maybe perfect to work with this by my thoughts .. what do you think ?imary-500 rounded-lg flex items-center justify-center"> |
|
|
<i data-feather="cpu" class="w-6 h-6 text-white"></i> |
|
|
</div> |
|
|
<span class="ml-3 text-xl font-bold">KODE 1</span> |
|
|
</div> |
|
|
<div class="hidden md:ml-10 md:flex md:space-x-8"> |
|
|
<a href="index.html" class="text-secondary-700 dark:text-secondary-300 hover:text-primary-600 dark:hover:text-primary-400 px-3 py-2 text-sm font-medium">Dashboard</a> |
|
|
<a href="agents.html" class="text-secondary-700 dark:text-secondary-300 hover:text-primary-600 dark:hover:text-primary-400 px-3 py-2 text-sm font-medium">Agents</a> |
|
|
<a href="agent-builder.html" class="text-secondary-700 dark:text-secondary-300 hover:text-primary-600 dark:hover:text-primary-400 px-3 py-2 text-sm font-medium flex items-center space-x-1"> |
|
|
<span>Agent Builder</span> |
|
|
<span class="px-1.5 py-0.5 bg-primary-100 dark:bg-primary-900 text-primary-600 dark:text-primary-400 rounded-full text-xs font-medium">NEW</span> |
|
|
</a> |
|
|
<a href="tasks.html" class="text-secondary-700 dark:text-secondary-300 hover:text-primary-600 dark:hover:text-primary-400 px-3 py-2 text-sm font-medium">Tasks</a> |
|
|
<a href="workflows.html" class="text-primary-600 dark:text-primary-400 px-3 py-2 text-sm font-medium">Workflows</a> |
|
|
<a href="analytics.html" class="text-secondary-700 dark:text-secondary-300 hover:text-primary-600 dark:hover:text-primary-400 px-3 py-2 text-sm font-medium">Analytics</a> |
|
|
</div> |
|
|
</div> |
|
|
<div class="flex items-center space-x-4"> |
|
|
<button onclick="toggleTheme()" class="p-2 rounded-lg hover:bg-secondary-100 dark:hover:bg-secondary-700"> |
|
|
<i data-feather="moon" class="w-5 h-5 dark:hidden"></i> |
|
|
<i data-feather="sun" class="w-5 h-5 hidden dark:block"></i> |
|
|
</button> |
|
|
<div class="relative"> |
|
|
<button class="p-2 rounded-lg hover:bg-secondary-100 dark:hover:bg-secondary-700"> |
|
|
<i data-feather="bell" class="w-5 h-5"></i> |
|
|
<span class="absolute top-1 right-1 w-2 h-2 bg-red-500 rounded-full"></span> |
|
|
</button> |
|
|
</div> |
|
|
<div class="flex items-center space-x-2"> |
|
|
<img src="http://static.photos/people/40x40/1" alt="User" class="w-8 h-8 rounded-full"> |
|
|
<span class="text-sm font-medium">John Doe</span> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</nav> |
|
|
|
|
|
|
|
|
<main class="pt-16"> |
|
|
|
|
|
<section class="bg-white dark:bg-secondary-800 border-b border-secondary-200 dark:border-secondary-700"> |
|
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6"> |
|
|
<div class="flex justify-between items-center"> |
|
|
<div> |
|
|
<h1 class="text-2xl font-bold">Workflow Designer</h1> |
|
|
<p class="text-secondary-500 dark:text-secondary-400">Design and automate complex multi-agent workflows</p> |
|
|
</div> |
|
|
<div class="flex space-x-3"> |
|
|
<button onclick="openTemplateModal()" class="bg-secondary-100 dark:bg-secondary-700 text-secondary-700 dark:text-secondary-300 px-6 py-2 rounded-lg font-medium hover:bg-secondary-200 dark:hover:bg-secondary-600 transition-colors flex items-center space-x-2"> |
|
|
<i data-feather="file-text" class="w-5 h-5"></i> |
|
|
<span>Templates</span> |
|
|
</button> |
|
|
<button onclick="openCreateWorkflowModal()" class="bg-primary-600 text-white px-6 py-2 rounded-lg font-medium hover:bg-primary-700 transition-colors flex items-center space-x-2"> |
|
|
<i data-feather="plus" class="w-5 h-5"></i> |
|
|
<span>Create Workflow</span> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</section> |
|
|
|
|
|
|
|
|
<section class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6"> |
|
|
<div class="bg-white dark:bg-secondary-800 rounded-xl shadow-lg overflow-hidden"> |
|
|
<div class="p-4 border-b border-secondary-200 dark:border-secondary-700 bg-secondary-50 dark:bg-secondary-900"> |
|
|
<div class="flex items-center justify-between"> |
|
|
<div class="flex items-center space-x-4"> |
|
|
<button class="p-2 hover:bg-secondary-200 dark:hover:bg-secondary-700 rounded-lg"> |
|
|
<i data-feather="mouse-pointer" class="w-5 h-5"></i> |
|
|
</button> |
|
|
<button class="p-2 hover:bg-secondary-200 dark:hover:bg-secondary-700 rounded-lg"> |
|
|
<i data-feather="move" class="w-5 h-5"></i> |
|
|
</button> |
|
|
<div class="h-6 w-px bg-secondary-300 dark:bg-secondary-600"></div> |
|
|
<button class="p-2 hover:bg-secondary-200 dark:hover:bg-secondary-700 rounded-lg"> |
|
|
<i data-feather="zoom-in" class="w-5 h-5"></i> |
|
|
</button> |
|
|
<button class="p-2 hover:bg-secondary-200 dark:hover:bg-secondary-700 rounded-lg"> |
|
|
<i data-feather="zoom-out" class="w-5 h-5"></i> |
|
|
</button> |
|
|
<button class="p-2 hover:bg-secondary-200 dark:hover:bg-secondary-700 rounded-lg"> |
|
|
<i data-feather="maximize" class="w-5 h-5"></i> |
|
|
</button> |
|
|
</div> |
|
|
<div class="flex items-center space-x-2"> |
|
|
<button class="px-3 py-1 bg-secondary-100 dark:bg-secondary-700 text-secondary-700 dark:text-secondary-300 rounded-lg text-sm font-medium hover:bg-secondary-200 dark:hover:bg-secondary-600"> |
|
|
Save Draft |
|
|
</button> |
|
|
<button class="px-3 py-1 bg-primary-600 text-white rounded-lg text-sm font-medium hover:bg-primary-700"> |
|
|
Publish |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="p-8 bg-gradient-to-br from-secondary-50 to-secondary-100 dark:from-secondary-900 dark:to-secondary-800 min-h-[600px] relative"> |
|
|
|
|
|
<div class="absolute top-8 left-8"> |
|
|
<div class="bg-white dark:bg-secondary-800 rounded-lg shadow-lg p-4 border-2 border-primary-500"> |
|
|
<div class="flex items-center space-x-2 mb-2"> |
|
|
<div class="w-8 h-8 bg-green-500 rounded-full flex items-center justify-center"> |
|
|
<i data-feather="play" class="w-4 h-4 text-white"></i> |
|
|
</div> |
|
|
<span class="font-semibold text-sm">Start</span> |
|
|
</div> |
|
|
<p class="text-xs text-secondary-500 dark:text-secondary-400">Trigger: Manual</p> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<svg class="absolute top-16 left-32" width="100" height="2"> |
|
|
<line x1="0" y1="1" x2="100" y2="1" stroke="#0ea5e9" stroke-width="2"/> |
|
|
</svg> |
|
|
|
|
|
|
|
|
<div class="absolute top-8 left-40"> |
|
|
<div class="bg-white dark:bg-secondary-800 rounded-lg shadow-lg p-4 border-2 border-secondary-300 dark:border-secondary-600"> |
|
|
<div class="flex items-center space-x-2 mb-2"> |
|
|
<div class="w-8 h-8 bg-gradient-to-br from-blue-500 to-purple-600 rounded-lg flex items-center justify-center"> |
|
|
<i data-feather="code" class="w-4 h-4 text-white"></i> |
|
|
</div> |
|
|
<span class="font-semibold text-sm">CodeAgent Pro</span> |
|
|
</div> |
|
|
<p class="text-xs text-secondary-500 dark:text-secondary-400">Analyze requirements</p> |
|
|
<div class="mt-2 pt-2 border-t border-secondary-200 dark:border-secondary-700"> |
|
|
<span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200"> |
|
|
Running |
|
|
</span> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<svg class="absolute top-16 left-64" width="100" height="2"> |
|
|
<line x1="0" y1="1" x2="100" y2="1" stroke="#0ea5e9" stroke-width="2"/> |
|
|
</svg> |
|
|
|
|
|
|
|
|
<div class="absolute top-8 left-72"> |
|
|
<div class="bg-white dark:bg-secondary-800 rounded-lg shadow-lg p-4 border-2 border-yellow-500"> |
|
|
<div class="flex items-center space-x-2 mb-2"> |
|
|
<div class="w-8 h-8 bg-yellow-500 rounded-lg flex items-center justify-center"> |
|
|
<i data-feather="git-branch" class="w-4 h-4 text-white"></i> |
|
|
</div> |
|
|
<span class="font-semibold text-sm">Decision</span> |
|
|
</div> |
|
|
<p class="text-xs text-secondary-500 dark:text-secondary-400">Success?</p> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<svg class="absolute top-24 left-80" width="2" height="60"> |
|
|
<line x1="1" y1="0" x2="1" y2="60" stroke="#0ea5e9" stroke-width="2"/> |
|
|
</svg> |
|
|
<svg class="absolute top-24 left-88" width="80" height="60"> |
|
|
<line x1="0" y1="0" x2="80" y2="60" stroke="#0ea5e9" stroke-width="2"/> |
|
|
</svg> |
|
|
|
|
|
|
|
|
<div class="absolute top-36 left-64"> |
|
|
<div class="bg-white dark:bg-secondary-800 rounded-lg shadow-lg p-4 border-2 border-secondary-300 dark:border-secondary-600"> |
|
|
<div class="flex items-center space-x-2 mb-2"> |
|
|
<div class="w-8 h-8 bg-gradient-to-br from-green-500 to-teal-600 rounded-lg flex items-center justify-center"> |
|
|
<i data-feather="edit-3" class="w-4 h-4 text-white"></i> |
|
|
</div> |
|
|
<span class="font-semibold text-sm">WriterAI</span> |
|
|
</div> |
|
|
<p class="text-xs text-secondary-500 dark:text-secondary-400">Generate documentation</p> |
|
|
<div class="mt-2 pt-2 border-t border-secondary-200 dark:border-secondary-700"> |
|
|
<span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-gray-100 text-gray-800 dark:bg-gray-900 dark:text-gray-200"> |
|
|
Waiting |
|
|
</span> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="absolute top-36 left-40"> |
|
|
<div class="bg-white dark:bg-secondary-800 rounded-lg shadow-lg p-4 border-2 border-red-500"> |
|
|
<div class="flex items-center space-x-2 mb-2"> |
|
|
<div class="w-8 h-8 bg-gradient-to-br from-indigo-500 to-blue-600 rounded-lg flex items-center justify-center"> |
|
|
<i data-feather="shield" class="w-4 h-4 text-white"></i> |
|
|
</div> |
|
|
<span class="font-semibold text-sm">SecurityGuard</span> |
|
|
</div> |
|
|
<p class="text-xs text-secondary-500 dark:text-secondary-400">Error analysis</p> |
|
|
<div class="mt-2 pt-2 border-t border-secondary-200 dark:border-secondary-700"> |
|
|
<span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-gray-100 text-gray-800 dark:bg-gray-900 dark:text-gray-200"> |
|
|
Waiting |
|
|
</span> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<svg class="absolute top-56 left-80" width="2" height="60"> |
|
|
<line x1="1" y1="0" x2="1" y2="60" stroke="#0ea5e9" stroke-width="2"/> |
|
|
</svg> |
|
|
<div class="absolute top-60 left-72"> |
|
|
<div class="bg-white dark:bg-secondary-800 rounded-lg shadow-lg p-4 border-2 border-secondary-500"> |
|
|
<div class="flex items-center space-x-2 mb-2"> |
|
|
<div class="w-8 h-8 bg-red-500 rounded-full flex items-center justify-center"> |
|
|
<i data-feather="square" class="w-4 h-4 text-white"></i> |
|
|
</div> |
|
|
<span class="font-semibold text-sm">End</span> |
|
|
</div> |
|
|
<p class="text-xs text-secondary-500 dark:text-secondary-400">Workflow complete</p> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="absolute bottom-4 right-4 flex flex-col space-y-2"> |
|
|
<button class="bg-white dark:bg-secondary-800 p-3 rounded-lg shadow-lg hover:shadow-xl transition-shadow"> |
|
|
<i data-feather="plus-circle" class="w-6 h-6 text-primary-600"></i> |
|
|
</button> |
|
|
<button class="bg-white dark:bg-secondary-800 p-3 rounded-lg shadow-lg hover:shadow-xl transition-shadow"> |
|
|
<i data-feather="message-circle" class="w-6 h-6 text-secondary-600"></i> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</section> |
|
|
|
|
|
|
|
|
<section class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pb-8"> |
|
|
<h2 class="text-lg font-bold mb-4">Active Workflows</h2> |
|
|
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> |
|
|
|
|
|
<div class="bg-white dark:bg-secondary-800 rounded-xl shadow-lg overflow-hidden hover:shadow-xl transition-shadow"> |
|
|
<div class="bg-gradient-to-r from-blue-500 to-purple-600 h-2"></div> |
|
|
<div class="p-6"> |
|
|
<div class="flex items-start justify-between mb-4"> |
|
|
<div> |
|
|
<h3 class="font-semibold mb-1">Content Pipeline</h3> |
|
|
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200"> |
|
|
Active |
|
|
</span> |
|
|
</div> |
|
|
<button class="p-1 hover:bg-secondary-100 dark:hover:bg-secondary-700 rounded"> |
|
|
<i data-feather="more-vertical" class="w-4 h-4"></i> |
|
|
</button> |
|
|
</div> |
|
|
<p class="text-sm text-secondary-600 dark:text-secondary-400 mb-4">Automated content creation and publishing workflow</p> |
|
|
<div class="space-y-3"> |
|
|
<div class="flex items-center justify-between text-sm"> |
|
|
<span class="text-secondary-500 dark:text-secondary-400">Total Runs</span> |
|
|
<span class="font-medium">342</span> |
|
|
</div> |
|
|
<div class="flex items-center justify-between text-sm"> |
|
|
<span class="text-secondary-500 dark:text-secondary-400">Success Rate</span> |
|
|
<span class="font-medium text-green-600">94.2%</span> |
|
|
</div> |
|
|
<div class="flex items-center justify-between text-sm"> |
|
|
<span class="text-secondary-500 dark:text-secondary-400">Avg Duration</span> |
|
|
<span class="font-medium">12m 34s</span> |
|
|
</div> |
|
|
</div> |
|
|
<div class="mt-4 pt-4 border-t border-secondary-200 dark:border-secondary-700"> |
|
|
<div class="flex items-center justify-between"> |
|
|
<div class="flex -space-x-2"> |
|
|
<div class="w-6 h-6 bg-gradient-to-br from-blue-500 to-purple-600 rounded-full border-2 border-white dark:border-secondary-800"></div> |
|
|
<div class="w-6 h-6 bg-gradient-to-br from-green-500 to-teal-600 rounded-full border-2 border-white dark:border-secondary-800"></div> |
|
|
<div class="w-6 h-6 bg-gradient-to-br from-orange-500 to-red-600 rounded-full border-2 border-white dark:border-secondary-800"></div> |
|
|
</div> |
|
|
<div class="flex space-x-2"> |
|
|
<button class="p-1 hover:bg-secondary-100 dark:hover:bg-secondary-700 rounded"> |
|
|
<i data-feather="play" class="w-4 h-4"></i> |
|
|
</button> |
|
|
<button class="p-1 hover:bg-secondary-100 dark:hover:bg-secondary-700 rounded"> |
|
|
<i data-feather="edit" class="w-4 h-4"></i> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="bg-white dark:bg-secondary-800 rounded-xl shadow-lg overflow-hidden hover:shadow-xl transition-shadow"> |
|
|
<div class="bg-gradient-to-r from-green-500 to-teal-600 h-2"></div> |
|
|
<div class="p-6"> |
|
|
<div class="flex items-start justify-between mb-4"> |
|
|
<div> |
|
|
<h3 class="font-semibold mb-1">Data Processing</h3> |
|
|
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200"> |
|
|
Active |
|
|
</span> |
|
|
</div> |
|
|
<button class="p-1 hover:bg-secondary-100 dark:hover:bg-secondary-700 rounded"> |
|
|
<i data-feather="more-vertical" class="w-4 h-4"></i> |
|
|
</button> |
|
|
</div> |
|
|
<p class="text-sm text-secondary-600 dark:text-secondary-400 mb-4">ETL pipeline for business intelligence</p> |
|
|
<div class="space-y-3"> |
|
|
<div class="flex items-center justify-between text-sm"> |
|
|
<span class="text-secondary-500 dark:text-secondary-400">Total Runs</span> |
|
|
<span class="font-medium">1,892</span> |
|
|
</div> |
|
|
<div class="flex items-center justify-between text-sm"> |
|
|
<span class="text-secondary-500 dark:text-secondary-400">Success Rate</span> |
|
|
<span class="font-medium text-green-600">98.7%</span> |
|
|
</div> |
|
|
<div class="flex items-center justify-between text-sm"> |
|
|
<span class="text-secondary-500 dark:text-secondary-400">Avg Duration</span> |
|
|
<span class="font-medium">45m 12s</span> |
|
|
</div> |
|
|
</div> |
|
|
<div class="mt-4 pt-4 border-t border-secondary-200 dark:border-secondary-700"> |
|
|
<div class="flex items-center justify-between"> |
|
|
<div class="flex -space-x-2"> |
|
|
<div class="w-6 h-6 bg-gradient-to-br from-orange-500 to-red-600 rounded-full border-2 border-white dark:border-secondary-800"></div> |
|
|
<div class="w-6 h-6 bg-gradient-to-br from-indigo-500 to-blue-600 rounded-full border-2 border-white dark:border-secondary-800"></div> |
|
|
</div> |
|
|
<div class="flex space-x-2"> |
|
|
<button class="p-1 hover:bg-secondary-100 dark:hover:bg-secondary-700 rounded"> |
|
|
<i data-feather="play" class="w-4 h-4"></i> |
|
|
</button> |
|
|
<button class="p-1 hover:bg-secondary-100 dark:hover:bg-secondary-700 rounded"> |
|
|
<i data-feather="edit" class="w-4 h-4"></i> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="bg-white dark:bg-secondary-800 rounded-xl shadow-lg overflow-hidden hover:shadow-xl transition-shadow"> |
|
|
<div class="bg-gradient-to-r from-purple-500 to-pink-600 h-2"></div> |
|
|
<div class="p-6"> |
|
|
<div class="flex items-start justify-between mb-4"> |
|
|
<div> |
|
|
<h3 class="font-semibold mb-1">Security Audit</h3> |
|
|
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-200"> |
|
|
Scheduled |
|
|
</span> |
|
|
</div> |
|
|
<button class="p-1 hover:bg-secondary-100 dark:hover:bg-secondary-700 rounded"> |
|
|
<i data-feather="more-vertical" class="w-4 h-4"></i> |
|
|
</button> |
|
|
</div> |
|
|
<p class="text-sm text-secondary-600 dark:text-secondary-400 mb-4">Automated security scanning and reporting</p> |
|
|
<div class="space-y-3"> |
|
|
<div class="flex items-center justify-between text-sm"> |
|
|
<span class="text-secondary-500 dark:text-secondary-400">Total Runs</span> |
|
|
<span class="font-medium">56</span> |
|
|
</div> |
|
|
<div class="flex items-center justify-between text-sm"> |
|
|
<span class="text-secondary-500 dark:text-secondary-400">Success Rate</span> |
|
|
<span class="font-medium text-green-600">100%</span> |
|
|
</div> |
|
|
<div class="flex items-center justify-between text-sm"> |
|
|
<span class="text-secondary-500 dark:text-secondary-400">Avg Duration</span> |
|
|
<span class="font-medium">2h 15m</span> |
|
|
</div> |
|
|
</div> |
|
|
<div class="mt-4 pt-4 border-t border-secondary-200 dark:border-secondary-700"> |
|
|
<div class="flex items-center justify-between"> |
|
|
<div class="flex -space-x-2"> |
|
|
<div class="w-6 h-6 bg-gradient-to-br from-indigo-500 to-blue-600 rounded-full border-2 border-white dark:border-secondary-800"></div> |
|
|
</div> |
|
|
<div class="flex space-x-2"> |
|
|
<button class="p-1 hover:bg-secondary-100 dark:hover:bg-secondary-700 rounded"> |
|
|
<i data-feather="play" class="w-4 h-4"></i> |
|
|
</button> |
|
|
<button class="p-1 hover:bg-secondary-100 dark:hover:bg-secondary-700 rounded"> |
|
|
<i data-feather="edit" class="w-4 h-4"></i> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</section> |
|
|
</main> |
|
|
|
|
|
|
|
|
<div id="createWorkflowModal" class="fixed inset-0 bg-black bg-opacity-50 z-50 hidden flex items-center justify-center p-4"> |
|
|
<div class="bg-white dark:bg-secondary-800 rounded-xl shadow-2xl max-w-2xl w-full max-h-[90vh] overflow-y-auto"> |
|
|
<div class="p-6 border-b border-secondary-200 dark:border-secondary-700"> |
|
|
<div class="flex justify-between items-center"> |
|
|
<h2 class="text-xl font-bold">Create New Workflow</h2> |
|
|
<button onclick="closeCreateWorkflowModal()" class="p-2 hover:bg-secondary-100 dark:hover:bg-secondary-700 rounded-lg"> |
|
|
</body> |
|
|
</html> |