s-bally commited on
Commit
ba2be57
·
verified ·
1 Parent(s): 3fa1b75

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +474 -19
  3. prompts.txt +0 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Deriv
3
- emoji: 📉
4
- colorFrom: blue
5
- colorTo: red
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: deriv
3
+ emoji: 🐳
4
+ colorFrom: green
5
+ colorTo: green
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,474 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>D-Trader Pro | Automated Trading Robot</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .gradient-bg {
11
+ background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%);
12
+ }
13
+ .trading-card:hover {
14
+ transform: translateY(-5px);
15
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
16
+ }
17
+ .chart-container {
18
+ height: 300px;
19
+ background: #1e293b;
20
+ border-radius: 0.5rem;
21
+ }
22
+ .blink {
23
+ animation: blink-animation 1s steps(5, start) infinite;
24
+ }
25
+ @keyframes blink-animation {
26
+ to { opacity: 0.5; }
27
+ }
28
+ </style>
29
+ </head>
30
+ <body class="bg-gray-100 font-sans">
31
+ <!-- Login Modal -->
32
+ <div id="loginModal" class="fixed inset-0 flex items-center justify-center z-50" style="background: rgba(0,0,0,0.8)">
33
+ <div class="bg-white rounded-xl p-8 w-full max-w-md">
34
+ <div class="text-center mb-6">
35
+ <img src="https://deriv.com/images/deriv-logo.svg" alt="Deriv Logo" class="h-10 mx-auto mb-4">
36
+ <h2 class="text-2xl font-bold text-gray-800">D-Trader Pro Login</h2>
37
+ <p class="text-gray-600">Automate your Deriv trades with AI</p>
38
+ </div>
39
+ <form id="loginForm">
40
+ <div class="mb-4">
41
+ <label class="block text-gray-700 mb-2" for="email">Email</label>
42
+ <input type="email" id="email" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500" placeholder="[email protected]" required>
43
+ </div>
44
+ <div class="mb-6">
45
+ <label class="block text-gray-700 mb-2" for="password">Password</label>
46
+ <input type="password" id="password" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500" placeholder="••••••••" required>
47
+ </div>
48
+ <button type="submit" class="w-full gradient-bg text-white py-3 rounded-lg font-semibold hover:opacity-90 transition">Login to Dashboard</button>
49
+ </form>
50
+ <div class="mt-4 text-center text-sm text-gray-600">
51
+ <p>Don't have an account? <a href="#" class="text-blue-600 hover:underline">Sign up with Deriv</a></p>
52
+ </div>
53
+ </div>
54
+ </div>
55
+
56
+ <!-- Main Dashboard (hidden initially) -->
57
+ <div id="dashboard" class="hidden">
58
+ <!-- Header -->
59
+ <header class="gradient-bg text-white shadow-lg">
60
+ <div class="container mx-auto px-4 py-4 flex justify-between items-center">
61
+ <div class="flex items-center space-x-2">
62
+ <img src="https://deriv.com/images/deriv-logo.svg" alt="Deriv Logo" class="h-8">
63
+ <span class="text-xl font-bold">D-Trader Pro</span>
64
+ </div>
65
+ <div class="flex items-center space-x-6">
66
+ <div class="flex items-center space-x-2 bg-blue-800 bg-opacity-30 px-3 py-1 rounded-full">
67
+ <div class="w-2 h-2 bg-green-400 rounded-full blink"></div>
68
+ <span class="text-sm">Connected</span>
69
+ </div>
70
+ <div class="relative group">
71
+ <button class="flex items-center space-x-2 focus:outline-none">
72
+ <div class="w-8 h-8 rounded-full bg-blue-200 flex items-center justify-center text-blue-800 font-semibold">JD</div>
73
+ <span>John Doe</span>
74
+ <i class="fas fa-chevron-down text-xs"></i>
75
+ </button>
76
+ <div class="absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50 hidden group-hover:block">
77
+ <a href="#" class="block px-4 py-2 text-gray-800 hover:bg-blue-50">Profile</a>
78
+ <a href="#" class="block px-4 py-2 text-gray-800 hover:bg-blue-50">Settings</a>
79
+ <a href="#" id="logoutBtn" class="block px-4 py-2 text-gray-800 hover:bg-blue-50">Logout</a>
80
+ </div>
81
+ </div>
82
+ </div>
83
+ </div>
84
+ </header>
85
+
86
+ <!-- Main Content -->
87
+ <main class="container mx-auto px-4 py-6">
88
+ <div class="grid grid-cols-1 lg:grid-cols-4 gap-6">
89
+ <!-- Left Sidebar -->
90
+ <div class="lg:col-span-1 space-y-6">
91
+ <!-- Account Summary -->
92
+ <div class="bg-white rounded-xl shadow p-6">
93
+ <h3 class="font-bold text-lg mb-4">Account Summary</h3>
94
+ <div class="space-y-4">
95
+ <div>
96
+ <p class="text-gray-500 text-sm">Balance</p>
97
+ <p class="text-2xl font-bold">$12,450.75</p>
98
+ </div>
99
+ <div>
100
+ <p class="text-gray-500 text-sm">Today's Profit</p>
101
+ <p class="text-xl font-bold text-green-500">+$245.30</p>
102
+ </div>
103
+ <div>
104
+ <p class="text-gray-500 text-sm">Active Bots</p>
105
+ <p class="text-xl font-bold">3</p>
106
+ </div>
107
+ </div>
108
+ </div>
109
+
110
+ <!-- Quick Actions -->
111
+ <div class="bg-white rounded-xl shadow p-6">
112
+ <h3 class="font-bold text-lg mb-4">Quick Actions</h3>
113
+ <div class="space-y-3">
114
+ <button class="w-full bg-blue-600 text-white py-2 rounded-lg font-medium hover:bg-blue-700 transition flex items-center justify-center space-x-2">
115
+ <i class="fas fa-plus"></i>
116
+ <span>New Trading Bot</span>
117
+ </button>
118
+ <button class="w-full bg-green-600 text-white py-2 rounded-lg font-medium hover:bg-green-700 transition flex items-center justify-center space-x-2">
119
+ <i class="fas fa-bolt"></i>
120
+ <span>Quick Trade</span>
121
+ </button>
122
+ <button class="w-full bg-gray-200 text-gray-800 py-2 rounded-lg font-medium hover:bg-gray-300 transition flex items-center justify-center space-x-2">
123
+ <i class="fas fa-history"></i>
124
+ <span>Transaction History</span>
125
+ </button>
126
+ </div>
127
+ </div>
128
+
129
+ <!-- Market Watch -->
130
+ <div class="bg-white rounded-xl shadow p-6">
131
+ <h3 class="font-bold text-lg mb-4">Market Watch</h3>
132
+ <div class="space-y-3">
133
+ <div class="flex justify-between items-center pb-2 border-b">
134
+ <span class="font-medium">EUR/USD</span>
135
+ <span class="text-green-500">1.0987 <i class="fas fa-caret-up ml-1"></i></span>
136
+ </div>
137
+ <div class="flex justify-between items-center pb-2 border-b">
138
+ <span class="font-medium">GBP/USD</span>
139
+ <span class="text-red-500">1.2765 <i class="fas fa-caret-down ml-1"></i></span>
140
+ </div>
141
+ <div class="flex justify-between items-center pb-2 border-b">
142
+ <span class="font-medium">USD/JPY</span>
143
+ <span class="text-green-500">150.32 <i class="fas fa-caret-up ml-1"></i></span>
144
+ </div>
145
+ <div class="flex justify-between items-center">
146
+ <span class="font-medium">BTC/USD</span>
147
+ <span class="text-green-500">42,876 <i class="fas fa-caret-up ml-1"></i></span>
148
+ </div>
149
+ </div>
150
+ </div>
151
+ </div>
152
+
153
+ <!-- Main Content Area -->
154
+ <div class="lg:col-span-3 space-y-6">
155
+ <!-- Trading Dashboard -->
156
+ <div class="bg-white rounded-xl shadow p-6">
157
+ <div class="flex justify-between items-center mb-6">
158
+ <h2 class="text-2xl font-bold">Automated Trading Dashboard</h2>
159
+ <div class="flex space-x-3">
160
+ <button class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition flex items-center space-x-2">
161
+ <i class="fas fa-robot"></i>
162
+ <span>Create Bot</span>
163
+ </button>
164
+ <button class="px-4 py-2 bg-gray-200 text-gray-800 rounded-lg hover:bg-gray-300 transition flex items-center space-x-2">
165
+ <i class="fas fa-cog"></i>
166
+ <span>Settings</span>
167
+ </button>
168
+ </div>
169
+ </div>
170
+
171
+ <!-- Trading Chart -->
172
+ <div class="chart-container mb-6 flex items-center justify-center">
173
+ <div class="text-center text-gray-400">
174
+ <i class="fas fa-chart-line text-5xl mb-2"></i>
175
+ <p>Live Trading Chart</p>
176
+ </div>
177
+ </div>
178
+
179
+ <!-- Bot Controls -->
180
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-6">
181
+ <div class="bg-blue-50 border border-blue-100 rounded-lg p-4">
182
+ <div class="flex justify-between items-start">
183
+ <div>
184
+ <h4 class="font-bold text-blue-800">Scalper Pro</h4>
185
+ <p class="text-sm text-blue-600">EUR/USD • 5min</p>
186
+ </div>
187
+ <span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">Active</span>
188
+ </div>
189
+ <div class="mt-4 flex justify-between items-center">
190
+ <div>
191
+ <p class="text-xs text-gray-500">Today's Profit</p>
192
+ <p class="font-bold text-green-500">+$87.50</p>
193
+ </div>
194
+ <div class="flex space-x-2">
195
+ <button class="p-2 bg-white rounded-full shadow text-blue-600 hover:bg-blue-100">
196
+ <i class="fas fa-pause"></i>
197
+ </button>
198
+ <button class="p-2 bg-white rounded-full shadow text-red-600 hover:bg-red-100">
199
+ <i class="fas fa-stop"></i>
200
+ </button>
201
+ </div>
202
+ </div>
203
+ </div>
204
+
205
+ <div class="bg-blue-50 border border-blue-100 rounded-lg p-4">
206
+ <div class="flex justify-between items-start">
207
+ <div>
208
+ <h4 class="font-bold text-blue-800">Trend Rider</h4>
209
+ <p class="text-sm text-blue-600">BTC/USD • 15min</p>
210
+ </div>
211
+ <span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">Active</span>
212
+ </div>
213
+ <div class="mt-4 flex justify-between items-center">
214
+ <div>
215
+ <p class="text-xs text-gray-500">Today's Profit</p>
216
+ <p class="font-bold text-green-500">+$132.20</p>
217
+ </div>
218
+ <div class="flex space-x-2">
219
+ <button class="p-2 bg-white rounded-full shadow text-blue-600 hover:bg-blue-100">
220
+ <i class="fas fa-pause"></i>
221
+ </button>
222
+ <button class="p-2 bg-white rounded-full shadow text-red-600 hover:bg-red-100">
223
+ <i class="fas fa-stop"></i>
224
+ </button>
225
+ </div>
226
+ </div>
227
+ </div>
228
+
229
+ <div class="bg-blue-50 border border-blue-100 rounded-lg p-4">
230
+ <div class="flex justify-between items-start">
231
+ <div>
232
+ <h4 class="font-bold text-blue-800">Mean Reversion</h4>
233
+ <p class="text-sm text-blue-600">USD/JPY • 1H</p>
234
+ </div>
235
+ <span class="px-2 py-1 bg-yellow-100 text-yellow-800 text-xs rounded-full">Paused</span>
236
+ </div>
237
+ <div class="mt-4 flex justify-between items-center">
238
+ <div>
239
+ <p class="text-xs text-gray-500">Today's Profit</p>
240
+ <p class="font-bold text-gray-500">$0.00</p>
241
+ </div>
242
+ <div class="flex space-x-2">
243
+ <button class="p-2 bg-white rounded-full shadow text-green-600 hover:bg-green-100">
244
+ <i class="fas fa-play"></i>
245
+ </button>
246
+ <button class="p-2 bg-white rounded-full shadow text-red-600 hover:bg-red-100">
247
+ <i class="fas fa-stop"></i>
248
+ </button>
249
+ </div>
250
+ </div>
251
+ </div>
252
+ </div>
253
+
254
+ <!-- Create New Bot Panel -->
255
+ <div class="bg-gray-50 rounded-lg p-6 border border-gray-200">
256
+ <h3 class="font-bold text-lg mb-4">Create New Trading Bot</h3>
257
+ <form>
258
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
259
+ <div>
260
+ <label class="block text-gray-700 mb-2">Strategy</label>
261
+ <select class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
262
+ <option>Scalping</option>
263
+ <option>Trend Following</option>
264
+ <option>Mean Reversion</option>
265
+ <option>Breakout</option>
266
+ <option>Grid Trading</option>
267
+ </select>
268
+ </div>
269
+ <div>
270
+ <label class="block text-gray-700 mb-2">Asset</label>
271
+ <select class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
272
+ <option>EUR/USD</option>
273
+ <option>GBP/USD</option>
274
+ <option>USD/JPY</option>
275
+ <option>BTC/USD</option>
276
+ <option>ETH/USD</option>
277
+ </select>
278
+ </div>
279
+ <div>
280
+ <label class="block text-gray-700 mb-2">Timeframe</label>
281
+ <select class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
282
+ <option>1 Minute</option>
283
+ <option>5 Minutes</option>
284
+ <option>15 Minutes</option>
285
+ <option>1 Hour</option>
286
+ <option>4 Hours</option>
287
+ </select>
288
+ </div>
289
+ <div>
290
+ <label class="block text-gray-700 mb-2">Risk Level</label>
291
+ <select class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
292
+ <option>Low</option>
293
+ <option selected>Medium</option>
294
+ <option>High</option>
295
+ <option>Aggressive</option>
296
+ </select>
297
+ </div>
298
+ </div>
299
+ <div class="mb-6">
300
+ <label class="block text-gray-700 mb-2">Investment Amount ($)</label>
301
+ <input type="number" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500" placeholder="100" value="100">
302
+ </div>
303
+ <div class="flex justify-end space-x-3">
304
+ <button type="button" class="px-6 py-2 border border-gray-300 rounded-lg hover:bg-gray-100 transition">Cancel</button>
305
+ <button type="submit" class="px-6 py-2 gradient-bg text-white rounded-lg hover:opacity-90 transition font-medium">Activate Bot</button>
306
+ </div>
307
+ </form>
308
+ </div>
309
+ </div>
310
+
311
+ <!-- Recent Activity -->
312
+ <div class="bg-white rounded-xl shadow p-6">
313
+ <h3 class="font-bold text-lg mb-4">Recent Trading Activity</h3>
314
+ <div class="overflow-x-auto">
315
+ <table class="w-full">
316
+ <thead>
317
+ <tr class="text-left text-gray-500 border-b">
318
+ <th class="pb-3">Time</th>
319
+ <th class="pb-3">Bot</th>
320
+ <th class="pb-3">Asset</th>
321
+ <th class="pb-3">Type</th>
322
+ <th class="pb-3">Amount</th>
323
+ <th class="pb-3">Result</th>
324
+ </tr>
325
+ </thead>
326
+ <tbody>
327
+ <tr class="border-b hover:bg-gray-50">
328
+ <td class="py-3">10:45:23</td>
329
+ <td>Scalper Pro</td>
330
+ <td>EUR/USD</td>
331
+ <td>Rise</td>
332
+ <td>$50</td>
333
+ <td class="text-green-500 font-medium">+$3.20</td>
334
+ </tr>
335
+ <tr class="border-b hover:bg-gray-50">
336
+ <td class="py-3">10:32:11</td>
337
+ <td>Trend Rider</td>
338
+ <td>BTC/USD</td>
339
+ <td>Fall</td>
340
+ <td>$100</td>
341
+ <td class="text-green-500 font-medium">+$12.50</td>
342
+ </tr>
343
+ <tr class="border-b hover:bg-gray-50">
344
+ <td class="py-3">10:18:45</td>
345
+ <td>Scalper Pro</td>
346
+ <td>EUR/USD</td>
347
+ <td>Rise</td>
348
+ <td>$50</td>
349
+ <td class="text-red-500 font-medium">-$2.80</td>
350
+ </tr>
351
+ <tr class="border-b hover:bg-gray-50">
352
+ <td class="py-3">09:56:32</td>
353
+ <td>Trend Rider</td>
354
+ <td>BTC/USD</td>
355
+ <td>Fall</td>
356
+ <td>$100</td>
357
+ <td class="text-green-500 font-medium">+$8.75</td>
358
+ </tr>
359
+ <tr class="hover:bg-gray-50">
360
+ <td class="py-3">09:42:15</td>
361
+ <td>Scalper Pro</td>
362
+ <td>EUR/USD</td>
363
+ <td>Rise</td>
364
+ <td>$50</td>
365
+ <td class="text-green-500 font-medium">+$4.10</td>
366
+ </tr>
367
+ </tbody>
368
+ </table>
369
+ </div>
370
+ </div>
371
+ </div>
372
+ </div>
373
+ </main>
374
+
375
+ <!-- Footer -->
376
+ <footer class="bg-gray-800 text-white py-6">
377
+ <div class="container mx-auto px-4">
378
+ <div class="flex flex-col md:flex-row justify-between items-center">
379
+ <div class="mb-4 md:mb-0">
380
+ <div class="flex items-center space-x-2">
381
+ <img src="https://deriv.com/images/deriv-logo.svg" alt="Deriv Logo" class="h-6">
382
+ <span class="font-bold">D-Trader Pro</span>
383
+ </div>
384
+ <p class="text-gray-400 text-sm mt-1">Automated Trading Solution for Deriv</p>
385
+ </div>
386
+ <div class="flex space-x-6">
387
+ <a href="#" class="hover:text-blue-300 transition">Terms</a>
388
+ <a href="#" class="hover:text-blue-300 transition">Privacy</a>
389
+ <a href="#" class="hover:text-blue-300 transition">Support</a>
390
+ <a href="#" class="hover:text-blue-300 transition">API Docs</a>
391
+ </div>
392
+ </div>
393
+ <div class="mt-6 pt-6 border-t border-gray-700 text-center text-gray-400 text-sm">
394
+ <p>© 2023 D-Trader Pro. Not affiliated with Deriv.com. Trading involves risk.</p>
395
+ </div>
396
+ </div>
397
+ </footer>
398
+ </div>
399
+
400
+ <script>
401
+ // Simple login simulation
402
+ document.getElementById('loginForm').addEventListener('submit', function(e) {
403
+ e.preventDefault();
404
+
405
+ const email = document.getElementById('email').value;
406
+ const password = document.getElementById('password').value;
407
+
408
+ // Simple validation
409
+ if(email && password) {
410
+ // Hide login modal
411
+ document.getElementById('loginModal').classList.add('hidden');
412
+ // Show dashboard
413
+ document.getElementById('dashboard').classList.remove('hidden');
414
+ }
415
+ });
416
+
417
+ // Logout functionality
418
+ document.getElementById('logoutBtn').addEventListener('click', function() {
419
+ // Hide dashboard
420
+ document.getElementById('dashboard').classList.add('hidden');
421
+ // Show login modal
422
+ document.getElementById('loginModal').classList.remove('hidden');
423
+ // Reset form
424
+ document.getElementById('loginForm').reset();
425
+ });
426
+
427
+ // Bot control buttons functionality
428
+ document.querySelectorAll('.fa-play').forEach(btn => {
429
+ btn.addEventListener('click', function() {
430
+ const statusBadge = this.closest('.bg-blue-50').querySelector('span');
431
+ statusBadge.classList.remove('bg-yellow-100', 'text-yellow-800');
432
+ statusBadge.classList.add('bg-green-100', 'text-green-800');
433
+ statusBadge.textContent = 'Active';
434
+
435
+ // Change icon to pause
436
+ this.classList.remove('fa-play', 'text-green-600');
437
+ this.classList.add('fa-pause', 'text-blue-600');
438
+ });
439
+ });
440
+
441
+ document.querySelectorAll('.fa-pause').forEach(btn => {
442
+ btn.addEventListener('click', function() {
443
+ const statusBadge = this.closest('.bg-blue-50').querySelector('span');
444
+ statusBadge.classList.remove('bg-green-100', 'text-green-800');
445
+ statusBadge.classList.add('bg-yellow-100', 'text-yellow-800');
446
+ statusBadge.textContent = 'Paused';
447
+
448
+ // Change icon to play
449
+ this.classList.remove('fa-pause', 'text-blue-600');
450
+ this.classList.add('fa-play', 'text-green-600');
451
+ });
452
+ });
453
+
454
+ document.querySelectorAll('.fa-stop').forEach(btn => {
455
+ btn.addEventListener('click', function() {
456
+ const card = this.closest('.bg-blue-50');
457
+ card.classList.add('opacity-50');
458
+
459
+ const statusBadge = card.querySelector('span');
460
+ statusBadge.classList.remove('bg-green-100', 'text-green-800', 'bg-yellow-100', 'text-yellow-800');
461
+ statusBadge.classList.add('bg-red-100', 'text-red-800');
462
+ statusBadge.textContent = 'Stopped';
463
+
464
+ // Disable control buttons
465
+ const controls = card.querySelectorAll('button');
466
+ controls.forEach(ctrl => {
467
+ ctrl.disabled = true;
468
+ ctrl.classList.add('opacity-50');
469
+ });
470
+ });
471
+ });
472
+ </script>
473
+ <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=s-bally/deriv" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
474
+ </html>
prompts.txt ADDED
File without changes