File size: 27,672 Bytes
87eb332
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
782bff7
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
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Command Testing Interface</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
    <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <style>
        .command-card {
            transition: all 0.3s ease;
        }
        .command-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        }
        .status-indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 8px;
        }
        .success { background-color: #10B981; }
        .error { background-color: #EF4444; }
        .warning { background-color: #F59E0B; }
        .loading {
            animation: pulse 1.5s infinite;
            background-color: #6B7280;
        }
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }
        .progress-bar {
            transition: width 0.3s ease;
        }
        .test-button {
            transition: all 0.2s ease;
        }
        .test-button:active {
            transform: scale(0.95);
        }
    </style>
</head>
<body class="bg-gray-50 min-h-screen">
    <!-- Navigation -->
    <nav class="bg-indigo-600 text-white shadow-lg">
        <div class="container mx-auto px-4 py-3">
            <div class="flex justify-between items-center">
                <div class="flex items-center space-x-2">
                    <i data-feather="terminal" class="w-6 h-6"></i>
                    <span class="font-bold text-xl">Command Tester</span>
                </div>
                <div class="hidden md:flex space-x-6">
                    <a href="#" class="font-medium hover:text-indigo-200 transition-colors">Dashboard</a>
                    <a href="#" class="font-medium hover:text-indigo-200 transition-colors">Message Logs</a>
                    <a href="#" class="font-medium hover:text-indigo-200 transition-colors">Settings</a>
                </div>
                <button class="md:hidden">
                    <i data-feather="menu" class="w-6 h-6"></i>
                </button>
            </div>
        </div>
    </nav>

    <!-- Hero Section -->
    <div class="bg-gradient-to-r from-indigo-500 to-purple-600 text-white py-12">
        <div class="container mx-auto px-4 text-center">
            <h1 class="text-4xl md:text-5xl font-bold mb-4" data-aos="fade-down">Command Testing Interface</h1>
            <p class="text-xl mb-8 max-w-3xl mx-auto" data-aos="fade-down" data-aos-delay="100">
                Test and verify all your Telegram bot commands in one place with real-time results and performance metrics.
            </p>
            <button class="bg-white text-indigo-600 font-bold py-3 px-6 rounded-lg shadow-lg hover:bg-indigo-50 transition-colors flex items-center justify-center mx-auto" data-aos="fade-up" data-aos-delay="200">
                <i data-feather="play" class="w-5 h-5 mr-2"></i>
                Start Testing Now
            </button>
        </div>
    </div>

    <!-- Main Content -->
    <div class="container mx-auto px-4 py-12">
        <!-- Control Panel -->
        <div class="bg-white rounded-xl shadow-md p-6 mb-8" data-aos="fade-up">
            <div class="flex flex-col md:flex-row justify-between items-start md:items-center space-y-4 md:space-y-0">
                <div>
                    <h2 class="text-2xl font-bold text-gray-800 mb-2">Command Testing Dashboard</h2>
                    <p class="text-gray-600">Test your Telegram bot commands and monitor performance</p>
                </div>
                <div class="flex flex-col sm:flex-row space-y-2 sm:space-y-0 sm:space-x-3 w-full md:w-auto">
                    <select class="bg-gray-100 border-0 rounded-lg py-2 px-4 text-gray-700 focus:ring-2 focus:ring-indigo-500">
                        <option>All Categories</option>
                        <option>Basic Commands</option>
                        <option>Fun Commands</option>
                        <option>Utility Commands</option>
                        <option>AI Commands</option>
                    </select>
                    <button class="bg-indigo-100 text-indigo-700 font-medium py-2 px-4 rounded-lg hover:bg-indigo-200 transition-colors flex items-center justify-center">
                        <i data-feather="filter" class="w-4 h-4 mr-2"></i>
                        Filter
                    </button>
                    <button class="bg-green-100 text-green-700 font-medium py-2 px-4 rounded-lg hover:bg-green-200 transition-colors flex items-center justify-center">
                        <i data-feather="play-circle" class="w-4 h-4 mr-2"></i>
                        Test All
                    </button>
                </div>
            </div>
            
            <!-- Progress Bar -->
            <div class="mt-6">
                <div class="flex justify-between items-center mb-2">
                    <span class="text-sm font-medium text-gray-700">Test Progress</span>
                    <span class="text-sm font-medium text-gray-700">0%</span>
                </div>
                <div class="w-full bg-gray-200 rounded-full h-2.5">
                    <div class="progress-bar bg-green-600 h-2.5 rounded-full" style="width: 0%"></div>
                </div>
            </div>
        </div>

        <!-- Stats Overview -->
        <div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-8">
            <div class="bg-white rounded-xl shadow-md p-5 text-center" data-aos="fade-up" data-aos-delay="100">
                <div class="text-3xl font-bold text-gray-800 mb-2">10</div>
                <div class="text-gray-600">Total Commands</div>
            </div>
            <div class="bg-white rounded-xl shadow-md p-5 text-center" data-aos="fade-up" data-aos-delay="150">
                <div class="text-3xl font-bold text-green-600 mb-2">0</div>
                <div class="text-gray-600">Successful</div>
            </div>
            <div class="bg-white rounded-xl shadow-md p-5 text-center" data-aos="fade-up" data-aos-delay="200">
                <div class="text-3xl font-bold text-red-600 mb-2">0</div>
                <div class="text-gray-600">Failed</div>
            </div>
            <div class="bg-white rounded-xl shadow-md p-5 text-center" data-aos="fade-up" data-aos-delay="250">
                <div class="text-3xl font-bold text-yellow-600 mb-2">0</div>
                <div class="text-gray-600">Timeouts</div>
            </div>
        </div>

        <!-- Command Cards Grid -->
        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
            <!-- Command Card Template -->
            <div class="command-card bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up">
                <div class="p-5 border-b border-gray-100">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="font-bold text-lg text-gray-800">/start</h3>
                            <p class="text-sm text-gray-600">Enhanced welcome message</p>
                        </div>
                        <span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded">Basic</span>
                    </div>
                </div>
                <div class="p-5">
                    <div class="flex items-center mb-4">
                        <span class="status-indicator"></span>
                        <span class="text-sm text-gray-600">Not tested</span>
                    </div>
                    <div class="text-xs text-gray-500 mb-4">Response time: <span class="font-medium">-</span></div>
                    <button class="test-button w-full bg-indigo-600 text-white py-2 px-4 rounded-lg text-sm font-medium hover:bg-indigo-700 transition-colors">
                        Test Command
                    </button>
                </div>
            </div>

            <div class="command-card bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="50">
                <div class="p-5 border-b border-gray-100">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="font-bold text-lg text-gray-800">/help</h3>
                            <p class="text-sm text-gray-600">Comprehensive command guide</p>
                        </div>
                        <span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded">Basic</span>
                    </div>
                </div>
                <div class="p-5">
                    <div class="flex items-center mb-4">
                        <span class="status-indicator"></span>
                        <span class="text-sm text-gray-600">Not tested</span>
                    </div>
                    <div class="text-xs text-gray-500 mb-4">Response time: <span class="font-medium">-</span></div>
                    <button class="test-button w-full bg-indigo-600 text-white py-2 px-4 rounded-lg text-sm font-medium hover:bg-indigo-700 transition-colors">
                        Test Command
                    </button>
                </div>
            </div>

            <div class="command-card bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="100">
                <div class="p-5 border-b border-gray-100">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="font-bold text-lg text-gray-800">/about</h3>
                            <p class="text-sm text-gray-600">Bot information & capabilities</p>
                        </div>
                        <span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded">Basic</span>
                    </div>
                </div>
                <div class="p-5">
                    <div class="flex items-center mb-4">
                        <span class="status-indicator"></span>
                        <span class="text-sm text-gray-600">Not tested</span>
                    </div>
                    <div class="text-xs text-gray-500 mb-4">Response time: <span class="font-medium">-</span></div>
                    <button class="test-button w-full bg-indigo-600 text-white py-2 px-4 rounded-lg text-sm font-medium hover:bg-indigo-700 transition-colors">
                        Test Command
                    </button>
                </div>
            </div>

            <div class="command-card bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="150">
                <div class="p-5 border-b border-gray-100">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="font-bold text-lg text-gray-800">/joke</h3>
                            <p class="text-sm text-gray-600">Random clean jokes</p>
                        </div>
                        <span class="bg-purple-100 text-purple-800 text-xs font-medium px-2.5 py-0.5 rounded">Fun</span>
                    </div>
                </div>
                <div class="p-5">
                    <div class="flex items-center mb-4">
                        <span class="status-indicator"></span>
                        <span class="text-sm text-gray-600">Not tested</span>
                    </div>
                    <div class="text-xs text-gray-500 mb-4">Response time: <span class="font-medium">-</span></div>
                    <button class="test-button w-full bg-indigo-600 text-white py-2 px-4 rounded-lg text-sm font-medium hover:bg-indigo-700 transition-colors">
                        Test Command
                    </button>
                </div>
            </div>

            <div class="command-card bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="200">
                <div class="p-5 border-b border-gray-100">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="font-bold text-lg text-gray-800">/quote</h3>
                            <p class="text-sm text-gray-600">Inspirational quotes</p>
                        </div>
                        <span class="bg-pink-100 text-pink-800 text-xs font-medium px-2.5 py-0.5 rounded">AI</span>
                    </div>
                </div>
                <div class="p-5">
                    <div class="flex items-center mb-4">
                        <span class="status-indicator"></span>
                        <span class="text-sm text-gray-600">Not tested</span>
                    </div>
                    <div class="text-xs text-gray-500 mb-4">Response time: <span class="font-medium">-</span></div>
                    <button class="test-button w-full bg-indigo-600 text-white py-2 px-4 rounded-lg text-sm font-medium hover:bg-indigo-700 transition-colors">
                        Test Command
                    </button>
                </div>
            </div>

            <div class="command-card bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="250">
                <div class="p-5 border-b border-gray-100">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="font-bold text-lg text-gray-800">/weather</h3>
                            <p class="text-sm text-gray-600">Weather assistance</p>
                        </div>
                        <span class="bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded">Utility</span>
                    </div>
                </div>
                <div class="p-5">
                    <div class="flex items-center mb-4">
                        <span class="status-indicator"></span>
                        <span class="text-sm text-gray-600">Not tested</span>
                    </div>
                    <div class="text-xs text-gray-500 mb-4">Response time: <span class="font-medium">-</span></div>
                    <button class="test-button w-full bg-indigo-600 text-white py-2 px-4 rounded-lg text-sm font-medium hover:bg-indigo-700 transition-colors">
                        Test Command
                    </button>
                </div>
            </div>

            <div class="command-card bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="300">
                <div class="p-5 border-b border-gray-100">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="font-bold text-lg text-gray-800">/reminder</h3>
                            <p class="text-sm text-gray-600">Reminder organization tips</p>
                        </div>
                        <span class="bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded">Utility</span>
                    </div>
                </div>
                <div class="p-5">
                    <div class="flex items-center mb-4">
                        <span class="status-indicator"></span>
                        <span class="text-sm text-gray-600">Not tested</span>
                    </div>
                    <div class="text-xs text-gray-500 mb-4">Response time: <span class="font-medium">-</span></div>
                    <button class="test-button w-full bg-indigo-600 text-white py-2 px-4 rounded-lg text-sm font-medium hover:bg-indigo-700 transition-colors">
                        Test Command
                    </button>
                </div>
            </div>

            <div class="command-card bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="350">
                <div class="p-5 border-b border-gray-100">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="font-bold text-lg text-gray-800">/echo</h3>
                            <p class="text-sm text-gray-600">Creative message echo</p>
                        </div>
                        <span class="bg-purple-100 text-purple-800 text-xs font-medium px-2.5 py-0.5 rounded">Fun</span>
                    </div>
                </div>
                <div class="p-5">
                    <div class="flex items-center mb-4">
                        <span class="status-indicator"></span>
                        <span class="text-sm text-gray-600">Not tested</span>
                    </div>
                    <div class="text-xs text-gray-500 mb-4">Response time: <span class="font-medium">-</span></div>
                    <button class="test-button w-full bg-indigo-600 text-white py-2 px-4 rounded-lg text-sm font-medium hover:bg-indigo-700 transition-colors">
                        Test Command
                    </button>
                </div>
            </div>

            <div class="command-card bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="400">
                <div class="p-5 border-b border-gray-100">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="font-bold text-lg text-gray-800">/status</h3>
                            <p class="text-sm text-gray-600">Bot status & system info</p>
                        </div>
                        <span class="bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded">Utility</span>
                    </div>
                </div>
                <div class="p-5">
                    <div class="flex items-center mb-4">
                        <span class="status-indicator"></span>
                        <span class="text-sm text-gray-600">Not tested</span>
                    </div>
                    <div class="text-xs text-gray-500 mb-4">Response time: <span class="font-medium">-</span></div>
                    <button class="test-button w-full bg-indigo-600 text-white py-2 px-4 rounded-lg text-sm font-medium hover:bg-indigo-700 transition-colors">
                        Test Command
                    </button>
                </div>
            </div>

            <div class="command-card bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="450">
                <div class="p-5 border-b border-gray-100">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="font-bold text-lg text-gray-800">AI Conversation</h3>
                            <p class="text-sm text-gray-600">Natural language testing</p>
                        </div>
                        <span class="bg-pink-100 text-pink-800 text-xs font-medium px-2.5 py-0.5 rounded">AI</span>
                    </div>
                </div>
                <div class="p-5">
                    <div class="flex items-center mb-4">
                        <span class="status-indicator"></span>
                        <span class="text-sm text-gray-600">Not tested</span>
                    </div>
                    <div class="text-xs text-gray-500 mb-4">Response time: <span class="font-medium">-</span></div>
                    <button class="test-button w-full bg-indigo-600 text-white py-2 px-4 rounded-lg text-sm font-medium hover:bg-indigo-700 transition-colors">
                        Test Command
                    </button>
                </div>
            </div>
        </div>

        <!-- Test Results Section -->
        <div class="bg-white rounded-xl shadow-md p-6 mt-8" data-aos="fade-up">
            <h2 class="text-2xl font-bold text-gray-800 mb-4">Test Results Summary</h2>
            <div class="bg-gray-100 rounded-lg p-4">
                <div class="text-center py-8">
                    <i data-feather="bar-chart-2" class="w-12 h-12 text-gray-400 mx-auto mb-4"></i>
                    <p class="text-gray-600">Run tests to see detailed results and performance metrics</p>
                </div>
            </div>
        </div>

        <!-- Instructions Section -->
        <div class="bg-indigo-50 rounded-xl shadow-md p-6 mt-8" data-aos="fade-up">
            <h2 class="text-2xl font-bold text-indigo-800 mb-4">How to Test Your Commands</h2>
            <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                <div>
                    <h3 class="font-semibold text-indigo-700 mb-2 flex items-center">
                        <i data-feather="zap" class="w-5 h-5 mr-2"></i>
                        Quick Test (Recommended)
                    </h3>
                    <ol class="list-decimal list-inside text-gray-700 space-y-2">
                        <li>Go to "Command Tester" tab (it's now the default tab)</li>
                        <li>Click "Test All" to automatically test all 10 commands</li>
                        <li>Watch the results appear in real-time</li>
                        <li>Check the summary - you should see mostly green (success) results</li>
                    </ol>
                </div>
                <div>
                    <h3 class="font-semibold text-indigo-700 mb-2 flex items-center">
                        <i data-feather="settings" class="w-5 h-5 mr-2"></i>
                        Detailed Testing
                    </h3>
                    <ul class="text-gray-700 space-y-2">
                        <li>Filter by category using the dropdown</li>
                        <li>Test individual commands by clicking "Test" on specific ones</li>
                        <li>Copy commands to test manually in Telegram</li>
                        <li>View detailed responses in each command card</li>
                    </ul>
                </div>
            </div>
        </div>
    </div>

    <!-- Footer -->
    <footer class="bg-gray-800 text-white py-8 mt-12">
        <div class="container mx-auto px-4">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <div class="mb-4 md:mb-0">
                    <div class="flex items-center space-x-2">
                        <i data-feather="terminal" class="w-6 h-6"></i>
                        <span class="font-bold text-xl">Command Tester</span>
                    </div>
                    <p class="text-gray-400 mt-2">Test and verify your Telegram bot commands</p>
                </div>
                <div class="flex space-x-6">
                    <a href="#" class="text-gray-400 hover:text-white transition-colors">
                        <i data-feather="github" class="w-5 h-5"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-white transition-colors">
                        <i data-feather="twitter" class="w-5 h-5"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-white transition-colors">
                        <i data-feather="mail" class="w-5 h-5"></i>
                    </a>
                </div>
            </div>
            <div class="border-t border-gray-700 mt-6 pt-6 text-center text-gray-400 text-sm">
                <p>© 2023 Command Testing Interface. All rights reserved.</p>
            </div>
        </div>
    </footer>

    <script>
        // Initialize animations and icons
        document.addEventListener('DOMContentLoaded', function() {
            AOS.init({
                duration: 800,
                easing: 'ease-in-out',
                once: true
            });
            feather.replace();
            
            // Simulate test functionality (for demo purposes)
            const testButtons = document.querySelectorAll('.test-button');
            testButtons.forEach(button => {
                button.addEventListener('click', function() {
                    const card = this.closest('.command-card');
                    const statusIndicator = card.querySelector('.status-indicator');
                    const statusText = card.querySelector('.text-gray-600');
                    const responseTime = card.querySelector('.font-medium');
                    
                    // Show loading state
                    statusIndicator.classList.add('loading');
                    statusText.textContent = 'Testing...';
                    this.textContent = 'Testing...';
                    this.disabled = true;
                    
                    // Simulate API call with random result after delay
                    setTimeout(() => {
                        statusIndicator.classList.remove('loading');
                        
                        const random = Math.random();
                        if (random < 0.7) {
                            // Success
                            statusIndicator.classList.add('success');
                            statusText.textContent = 'Test Passed';
                            statusText.classList.add('text-green-600');
                            responseTime.textContent = (Math.random() * 2 + 0.5).toFixed(2) + 's';
                        } else if (random < 0.85) {
                            // Warning (timeout)
                            statusIndicator.classList.add('warning');
                            statusText.textContent = 'Timeout';
                            statusText.classList.add('text-yellow-600');
                            responseTime.textContent = '>20s';
                        } else {
                            // Error
                            statusIndicator.classList.add('error');
                            statusText.textContent = 'Test Failed';
                            statusText.classList.add('text-red-600');
                            responseTime.textContent = 'N/A';
                        }
                        
                        this.textContent = 'Test Again';
                        this.disabled = false;
                    }, 1500 + Math.random() * 2000);
                });
            });
            
            // Test All functionality
            const testAllButton = document.querySelector('.bg-green-100');
            const progressBar = document.querySelector('.progress-bar');
            testAllButton.addEventListener('click', function() {
                let completed = 0;
                const total = testButtons.length;
                
                testButtons.forEach((button, index) => {
                    setTimeout(() => {
                        button.click();
                        completed++;
                        const progress = (completed / total) * 100;
                        progressBar.style.width = `${progress}%`;
                        document.querySelector('.text-sm.font-medium.text-gray-700:last-child').textContent = `${Math.round(progress)}%`;
                    }, index * 500);
                });
            });
        });
    </script>
</body>
</html>