File size: 20,352 Bytes
a4ff1e6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
<!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">
        <!-- Sidebar -->
        <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">[email protected]</p>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- Main Content -->
        <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>
                
                <!-- Status Cards -->
                <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>
                
                <!-- Recent Agents Section -->
                <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">
                        <!-- Agent Card 1 -->
                        <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>
                        
                        <!-- Agent Card 2 -->
                        <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>
                        
                        <!-- Agent Card 3 -->
                        <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>
                
                <!-- Agent Types Section -->
                <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">
                        <!-- Agent Type 1 -->
                        <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>
                        
                        <!-- Agent Type 2 -->
                        <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>
                        
                        <!-- Agent Type 3 -->
                        <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>
        // Toggle sidebar
        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');
        });

        // Agent card hover effect
        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 = '';
            });
        });

        // Simulate agent creation
        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>