zonana commited on
Commit
bf7abc8
·
verified ·
1 Parent(s): 89e39b7

Add 1 files

Browse files
Files changed (1) hide show
  1. index.html +146 -76
index.html CHANGED
@@ -126,13 +126,13 @@
126
  background-size: 10px 10px;
127
  }
128
 
129
- #assign-btn {
130
  transition: all 0.3s ease;
131
  perspective: 1000px;
132
  transform-style: preserve-3d;
133
  }
134
 
135
- #assign-btn::before {
136
  content: '';
137
  position: absolute;
138
  top: -3px;
@@ -146,11 +146,11 @@
146
  transition: opacity 0.3s ease;
147
  }
148
 
149
- #assign-btn:hover::before {
150
  opacity: 0.7;
151
  }
152
 
153
- #assign-btn:active {
154
  transform: translateY(2px) scale(0.98);
155
  }
156
 
@@ -183,6 +183,66 @@
183
  align-items: center;
184
  justify-content: center;
185
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
186
  </style>
187
  </head>
188
  <body class="min-h-screen flex flex-col items-center justify-center p-4">
@@ -206,31 +266,52 @@
206
  </div>
207
  <div>
208
  <h1 class="text-2xl font-bold text-white tracking-wider">SOLO LEVELING SYSTEM</h1>
209
- <p class="text-sm text-blue-400 font-mono">JOB ASSIGNMENT PROTOCOL v3.7.2</p>
210
  </div>
211
  </div>
212
  <div class="flex items-center">
213
- <div class="status-light mr-2"></div>
214
- <span id="system-status" class="text-sm font-mono text-red-400">STANDBY</span>
215
  </div>
216
  </div>
217
 
218
  <!-- Main Content -->
219
  <div class="flex flex-col items-center">
220
- <!-- Assignment Display -->
221
- <div id="assignment-display" class="w-full max-w-md hud-panel rounded-lg p-8 mb-8 flex flex-col items-center">
222
- <div id="job-icon" class="w-32 h-32 bg-gray-900 rounded-full flex items-center justify-center mb-6 border-2 border-dashed border-gray-700">
223
- <i class="fas fa-question text-4xl text-gray-600"></i>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
224
  </div>
225
- <div id="job-name" class="text-2xl font-bold text-center mb-2">NO ASSIGNMENT</div>
226
- <div id="job-level" class="text-xl text-center text-gray-500">---</div>
227
  </div>
228
 
229
  <!-- Stats Panel -->
230
  <div class="w-full hud-panel rounded-lg p-6 mb-8">
231
  <div class="grid grid-cols-2 gap-4">
232
  <div class="data-line p-3 rounded">
233
- <div class="text-xs text-blue-400 font-mono uppercase tracking-wider mb-1">ASSIGNMENTS</div>
234
  <div id="total-assignments" class="text-3xl font-bold">0</div>
235
  </div>
236
  <div class="data-line p-3 rounded">
@@ -240,14 +321,6 @@
240
  </div>
241
  </div>
242
 
243
- <!-- Assignment Button -->
244
- <button id="assign-btn" class="relative px-12 py-4 bg-gradient-to-r from-blue-600 to-purple-600 text-white font-bold rounded-lg transition-all mb-8">
245
- <div class="flex items-center">
246
- <i class="fas fa-dice-d20 mr-3 text-xl"></i>
247
- <span>INITIATE ASSIGNMENT</span>
248
- </div>
249
- </button>
250
-
251
  <!-- Level Distribution -->
252
  <div class="w-full hud-panel rounded-lg p-6">
253
  <h3 class="text-lg font-bold text-center mb-4 tracking-wider">LEVEL DISTRIBUTION</h3>
@@ -275,7 +348,7 @@
275
  </div>
276
  <div class="flex items-center">
277
  <div class="w-8 font-mono font-bold level-C">C</div>
278
- <div class="flex-1 h-3 bg-gray-900 rounded-full overflow-hidden mx-2">
279
  <div id="c-level-bar" class="h-full bg-gradient-to-r from-green-600 to-lime-600"></div>
280
  </div>
281
  <div id="c-level-count" class="w-8 text-right font-mono">0%</div>
@@ -311,49 +384,49 @@
311
  {
312
  name: "Shadow Monarch",
313
  icon: "fa-user-ninja",
314
- color: "bg-gradient-to-b from-purple-900 to-purple-700",
315
  desc: "Master of darkness and stealth operations"
316
  },
317
  {
318
  name: "Beast Tamer",
319
  icon: "fa-paw",
320
- color: "bg-gradient-to-b from-amber-800 to-amber-600",
321
  desc: "Commander of magical beasts and creatures"
322
  },
323
  {
324
  name: "Arcane Mage",
325
  icon: "fa-hat-wizard",
326
- color: "bg-gradient-to-b from-blue-800 to-blue-600",
327
  desc: "Weaver of powerful arcane energies"
328
  },
329
  {
330
  name: "Soul Reaper",
331
  icon: "fa-scythe",
332
- color: "bg-gradient-to-b from-green-800 to-green-600",
333
  desc: "Harvester of souls and manipulator of death"
334
  },
335
  {
336
  name: "Dragon Knight",
337
  icon: "fa-dragon",
338
- color: "bg-gradient-to-b from-red-800 to-red-600",
339
  desc: "Legendary warrior bonded with dragon kin"
340
  },
341
  {
342
  name: "Time Weaver",
343
  icon: "fa-clock",
344
- color: "bg-gradient-to-b from-cyan-800 to-cyan-600",
345
  desc: "Manipulator of temporal energies"
346
  },
347
  {
348
  name: "Necromancer",
349
  icon: "fa-skull",
350
- color: "bg-gradient-to-b from-gray-800 to-gray-600",
351
  desc: "Commander of the undead legions"
352
  },
353
  {
354
  name: "Celestial Archer",
355
  icon: "fa-bow-arrow",
356
- color: "bg-gradient-to-b from-indigo-800 to-indigo-600",
357
  desc: "Hunter with celestial precision"
358
  }
359
  ];
@@ -366,14 +439,14 @@
366
  let lastAssignedLevel = null;
367
 
368
  // DOM elements
369
- const assignBtn = document.getElementById('assign-btn');
370
- const jobIcon = document.getElementById('job-icon');
 
371
  const jobName = document.getElementById('job-name');
372
  const jobLevel = document.getElementById('job-level');
373
  const totalAssignments = document.getElementById('total-assignments');
374
- const lastLevel = document.getElementById('last-level');
375
  const systemStatus = document.getElementById('system-status');
376
- const statusLight = document.querySelector('.status-light');
377
 
378
  // System timestamp
379
  function updateSystemTimestamp() {
@@ -387,22 +460,31 @@
387
  setInterval(updateSystemTimestamp, 1000);
388
  updateSystemTimestamp();
389
 
390
- // Assignment function
391
- assignBtn.addEventListener('click', () => {
392
- if (assignBtn.disabled) return;
 
 
 
 
 
393
 
394
- // Set system to busy
395
- assignBtn.disabled = true;
396
  systemStatus.textContent = "PROCESSING";
397
  systemStatus.className = "text-sm font-mono text-yellow-400";
398
- statusLight.className = "status-light mr-2";
399
 
400
  // Show processing animation
401
- jobIcon.innerHTML = '<div class="animate-spin rounded-full h-12 w-12 border-t-2 border-b-2 border-cyan-500"></div>';
402
- jobName.textContent = "ANALYZING POTENTIAL";
403
- jobLevel.textContent = "CALCULATING LEVEL...";
404
- jobName.className = "text-2xl font-bold text-center mb-2 text-yellow-400";
405
- jobLevel.className = "text-xl text-center text-yellow-400";
 
 
 
 
 
 
406
 
407
  // Simulate system processing
408
  setTimeout(() => {
@@ -429,40 +511,33 @@
429
  lastAssignedLevel = assignedLevel;
430
 
431
  // Update UI with the new assignment
432
- updateAssignmentDisplay(selectedJob, assignedLevel);
433
  updateStats();
434
  updateLevelDistribution();
435
 
436
  // Set system back to ready
437
- setTimeout(() => {
438
- assignBtn.disabled = false;
439
- systemStatus.textContent = "READY";
440
- systemStatus.className = "text-sm font-mono text-green-400";
441
- statusLight.className = "status-light ready mr-2";
442
- }, 1500);
443
 
444
  }, 2000 + Math.random() * 1000); // Random processing time between 2-3 seconds
445
  });
446
 
447
- // Update the assignment display
448
- function updateAssignmentDisplay(job, level) {
449
- // Set job icon
450
- jobIcon.className = `w-32 h-32 ${job.color} rounded-full flex items-center justify-center mb-6`;
451
- jobIcon.innerHTML = `<i class="fas ${job.icon} text-4xl text-white"></i>`;
 
 
452
 
453
- // Set job name and description
454
  jobName.textContent = job.name;
455
- jobName.className = `text-2xl font-bold text-center mb-2 level-${level}`;
456
-
457
- // Set level
458
- jobLevel.textContent = `${level} LEVEL`;
459
- jobLevel.className = `text-2xl font-bold text-center level-${level} pulse-animation`;
460
 
461
- // Add subtle animation
462
- jobIcon.classList.add('pulse-animation');
463
- setTimeout(() => {
464
- jobIcon.classList.remove('pulse-animation');
465
- }, 2000);
466
  }
467
 
468
  // Update stats display
@@ -470,8 +545,8 @@
470
  totalAssignments.textContent = assignmentsCount;
471
 
472
  if (lastAssignedLevel) {
473
- lastLevel.textContent = lastAssignedLevel;
474
- lastLevel.className = `text-3xl font-bold level-${lastAssignedLevel}`;
475
  }
476
  }
477
 
@@ -485,11 +560,6 @@
485
  document.getElementById(`${level.toLowerCase()}-level-count`).textContent = `${percentage}%`;
486
  });
487
  }
488
-
489
- // Initialize system status
490
- systemStatus.textContent = "READY";
491
- systemStatus.className = "text-sm font-mono text-green-400";
492
- statusLight.className = "status-light ready mr-2";
493
  </script>
494
  <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=zonana/leveling" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body>
495
  </html>
 
126
  background-size: 10px 10px;
127
  }
128
 
129
+ #identify-btn {
130
  transition: all 0.3s ease;
131
  perspective: 1000px;
132
  transform-style: preserve-3d;
133
  }
134
 
135
+ #identify-btn::before {
136
  content: '';
137
  position: absolute;
138
  top: -3px;
 
146
  transition: opacity 0.3s ease;
147
  }
148
 
149
+ #identify-btn:hover::before {
150
  opacity: 0.7;
151
  }
152
 
153
+ #identify-btn:active {
154
  transform: translateY(2px) scale(0.98);
155
  }
156
 
 
183
  align-items: center;
184
  justify-content: center;
185
  }
186
+
187
+ .magic-circle {
188
+ position: relative;
189
+ width: 200px;
190
+ height: 200px;
191
+ border-radius: 50%;
192
+ border: 2px dashed rgba(100, 200, 255, 0.5);
193
+ display: flex;
194
+ align-items: center;
195
+ justify-content: center;
196
+ margin-bottom: 2rem;
197
+ }
198
+
199
+ .magic-circle::before {
200
+ content: '';
201
+ position: absolute;
202
+ width: 100%;
203
+ height: 100%;
204
+ border-radius: 50%;
205
+ border: 1px solid rgba(100, 200, 255, 0.2);
206
+ animation: rotate 20s linear infinite;
207
+ }
208
+
209
+ .magic-circle::after {
210
+ content: '';
211
+ position: absolute;
212
+ width: 90%;
213
+ height: 90%;
214
+ border-radius: 50%;
215
+ border: 1px dotted rgba(200, 150, 255, 0.3);
216
+ animation: rotate-reverse 15s linear infinite;
217
+ }
218
+
219
+ @keyframes rotate {
220
+ 0% { transform: rotate(0deg); }
221
+ 100% { transform: rotate(360deg); }
222
+ }
223
+
224
+ @keyframes rotate-reverse {
225
+ 0% { transform: rotate(360deg); }
226
+ 100% { transform: rotate(0deg); }
227
+ }
228
+
229
+ .result-display {
230
+ text-align: center;
231
+ margin: 2rem 0;
232
+ }
233
+
234
+ .result-title {
235
+ font-size: 3rem;
236
+ font-weight: bold;
237
+ margin-bottom: 0.5rem;
238
+ letter-spacing: 0.05em;
239
+ }
240
+
241
+ .result-subtitle {
242
+ font-size: 1.5rem;
243
+ opacity: 0.8;
244
+ margin-top: -0.5rem;
245
+ }
246
  </style>
247
  </head>
248
  <body class="min-h-screen flex flex-col items-center justify-center p-4">
 
266
  </div>
267
  <div>
268
  <h1 class="text-2xl font-bold text-white tracking-wider">SOLO LEVELING SYSTEM</h1>
269
+ <p class="text-sm text-blue-400 font-mono">MAGIC IDENTIFICATION PROTOCOL v4.2.1</p>
270
  </div>
271
  </div>
272
  <div class="flex items-center">
273
+ <div class="status-light ready mr-2"></div>
274
+ <span id="system-status" class="text-sm font-mono text-green-400">READY</span>
275
  </div>
276
  </div>
277
 
278
  <!-- Main Content -->
279
  <div class="flex flex-col items-center">
280
+ <!-- Identification Panel -->
281
+ <div id="identification-panel" class="w-full">
282
+ <div class="flex flex-col items-center">
283
+ <div class="magic-circle">
284
+ <i class="fas fa-question text-5xl text-gray-400"></i>
285
+ </div>
286
+
287
+ <div id="result-container" class="result-display hidden">
288
+ <div id="job-name" class="result-title level-E">UNKNOWN</div>
289
+ <div id="job-level" class="result-subtitle level-E">---</div>
290
+ </div>
291
+
292
+ <div class="hud-panel rounded-lg p-6 my-4 w-full">
293
+ <p class="text-center text-gray-300 mb-4">
294
+ Place your hand on the circle to initiate magic identification.
295
+ Your class and level will be revealed by the system.
296
+ </p>
297
+
298
+ <div class="flex justify-center">
299
+ <button id="identify-btn" class="relative px-12 py-4 bg-gradient-to-r from-blue-600 to-purple-600 text-white font-bold rounded-lg transition-all">
300
+ <div class="flex items-center">
301
+ <i class="fas fa-hand-sparkles mr-3 text-xl"></i>
302
+ <span>INITIATE MAGIC IDENTIFICATION</span>
303
+ </div>
304
+ </button>
305
+ </div>
306
+ </div>
307
  </div>
 
 
308
  </div>
309
 
310
  <!-- Stats Panel -->
311
  <div class="w-full hud-panel rounded-lg p-6 mb-8">
312
  <div class="grid grid-cols-2 gap-4">
313
  <div class="data-line p-3 rounded">
314
+ <div class="text-xs text-blue-400 font-mono uppercase tracking-wider mb-1">IDENTIFICATIONS</div>
315
  <div id="total-assignments" class="text-3xl font-bold">0</div>
316
  </div>
317
  <div class="data-line p-3 rounded">
 
321
  </div>
322
  </div>
323
 
 
 
 
 
 
 
 
 
324
  <!-- Level Distribution -->
325
  <div class="w-full hud-panel rounded-lg p-6">
326
  <h3 class="text-lg font-bold text-center mb-4 tracking-wider">LEVEL DISTRIBUTION</h3>
 
348
  </div>
349
  <div class="flex items-center">
350
  <div class="w-8 font-mono font-bold level-C">C</div>
351
+ <div class="flex-1 h-3 bg-gray-899 rounded-full overflow-hidden mx-2">
352
  <div id="c-level-bar" class="h-full bg-gradient-to-r from-green-600 to-lime-600"></div>
353
  </div>
354
  <div id="c-level-count" class="w-8 text-right font-mono">0%</div>
 
384
  {
385
  name: "Shadow Monarch",
386
  icon: "fa-user-ninja",
387
+ color: "from-purple-900 to-purple-700",
388
  desc: "Master of darkness and stealth operations"
389
  },
390
  {
391
  name: "Beast Tamer",
392
  icon: "fa-paw",
393
+ color: "from-amber-800 to-amber-600",
394
  desc: "Commander of magical beasts and creatures"
395
  },
396
  {
397
  name: "Arcane Mage",
398
  icon: "fa-hat-wizard",
399
+ color: "from-blue-800 to-blue-600",
400
  desc: "Weaver of powerful arcane energies"
401
  },
402
  {
403
  name: "Soul Reaper",
404
  icon: "fa-scythe",
405
+ color: "from-green-800 to-green-600",
406
  desc: "Harvester of souls and manipulator of death"
407
  },
408
  {
409
  name: "Dragon Knight",
410
  icon: "fa-dragon",
411
+ color: "from-red-800 to-red-600",
412
  desc: "Legendary warrior bonded with dragon kin"
413
  },
414
  {
415
  name: "Time Weaver",
416
  icon: "fa-clock",
417
+ color: "from-cyan-800 to-cyan-600",
418
  desc: "Manipulator of temporal energies"
419
  },
420
  {
421
  name: "Necromancer",
422
  icon: "fa-skull",
423
+ color: "from-gray-800 to-gray-600",
424
  desc: "Commander of the undead legions"
425
  },
426
  {
427
  name: "Celestial Archer",
428
  icon: "fa-bow-arrow",
429
+ color: "from-indigo-800 to-indigo-600",
430
  desc: "Hunter with celestial precision"
431
  }
432
  ];
 
439
  let lastAssignedLevel = null;
440
 
441
  // DOM elements
442
+ const identifyBtn = document.getElementById('identify-btn');
443
+ const magicCircle = document.querySelector('.magic-circle');
444
+ const resultContainer = document.getElementById('result-container');
445
  const jobName = document.getElementById('job-name');
446
  const jobLevel = document.getElementById('job-level');
447
  const totalAssignments = document.getElementById('total-assignments');
448
+ const lastLevelDisplay = document.getElementById('last-level');
449
  const systemStatus = document.getElementById('system-status');
 
450
 
451
  // System timestamp
452
  function updateSystemTimestamp() {
 
460
  setInterval(updateSystemTimestamp, 1000);
461
  updateSystemTimestamp();
462
 
463
+ // Identification function
464
+ identifyBtn.addEventListener('click', () => {
465
+ if (identifyBtn.disabled) return;
466
+
467
+ // Disable button - can't click again
468
+ identifyBtn.disabled = true;
469
+ identifyBtn.innerHTML = '<div class="flex items-center"><i class="fas fa-lock mr-3 text-xl"></i><span>IDENTIFICATION COMPLETE</span></div>';
470
+ identifyBtn.className = "relative px-12 py-4 bg-gray-700 text-gray-400 font-bold rounded-lg cursor-not-allowed";
471
 
472
+ // Set system to processing
 
473
  systemStatus.textContent = "PROCESSING";
474
  systemStatus.className = "text-sm font-mono text-yellow-400";
 
475
 
476
  // Show processing animation
477
+ magicCircle.innerHTML = `
478
+ <div class="absolute inset-0 rounded-full bg-gradient-to-r from-blue-500 to-purple-600 opacity-50 animate-pulse"></div>
479
+ <div class="absolute inset-4 rounded-full bg-gradient-to-r from-purple-500 to-pink-600 opacity-50 animate-pulse" style="animation-delay: 0.2s"></div>
480
+ <div class="absolute inset-8 rounded-full bg-gradient-to-r from-pink-500 to-red-600 opacity-50 animate-pulse" style="animation-delay: 0.4s"></div>
481
+ <div class="relative z-10 text-5xl text-white">
482
+ <i class="fas fa-cog animate-spin"></i>
483
+ </div>
484
+ `;
485
+
486
+ // Hide result container if it's shown
487
+ resultContainer.classList.add('hidden');
488
 
489
  // Simulate system processing
490
  setTimeout(() => {
 
511
  lastAssignedLevel = assignedLevel;
512
 
513
  // Update UI with the new assignment
514
+ updateResultDisplay(selectedJob, assignedLevel);
515
  updateStats();
516
  updateLevelDistribution();
517
 
518
  // Set system back to ready
519
+ systemStatus.textContent = "IDENTIFICATION COMPLETE";
520
+ systemStatus.className = "text-sm font-mono text-green-400";
 
 
 
 
521
 
522
  }, 2000 + Math.random() * 1000); // Random processing time between 2-3 seconds
523
  });
524
 
525
+ // Update the result display
526
+ function updateResultDisplay(job, level) {
527
+ // Update magic circle with job icon
528
+ magicCircle.innerHTML = `
529
+ <div class="absolute inset-0 rounded-full bg-gradient-to-${job.color} opacity-90"></div>
530
+ <i class="fas ${job.icon} text-5xl text-white"></i>
531
+ `;
532
 
533
+ // Update job name and level display
534
  jobName.textContent = job.name;
535
+ jobName.className = `result-title level-${level} pulse-animation`;
536
+ jobLevel.textContent = `${level} GRADE`;
537
+ jobLevel.className = `result-subtitle level-${level}`;
 
 
538
 
539
+ // Show result container
540
+ resultContainer.classList.remove('hidden');
 
 
 
541
  }
542
 
543
  // Update stats display
 
545
  totalAssignments.textContent = assignmentsCount;
546
 
547
  if (lastAssignedLevel) {
548
+ lastLevelDisplay.textContent = lastAssignedLevel;
549
+ lastLevelDisplay.className = `text-3xl font-bold level-${lastAssignedLevel}`;
550
  }
551
  }
552
 
 
560
  document.getElementById(`${level.toLowerCase()}-level-count`).textContent = `${percentage}%`;
561
  });
562
  }
 
 
 
 
 
563
  </script>
564
  <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=zonana/leveling" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body>
565
  </html>