feat: actualizar navegación y gestión de items en el Item Lab, mejorando la carga y edición de datos

This commit is contained in:
Shni
2025-10-15 22:35:55 -05:00
parent 87be37ac7d
commit d5d2643e71
6 changed files with 89 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
<div class="flex items-center justify-between mb-4">
<h2 class="text-white text-lg font-semibold">Items</h2>
<div>
<a id="createItemBtn" href="/dashboard/<%= selectedGuildId %>/items/lab" class="inline-flex items-center gap-2 px-3 py-1 bg-indigo-600 rounded text-white">Crear item</a>
<a id="createItemBtn" href="/items/lab?guild=<%= selectedGuildId %>" class="inline-flex items-center gap-2 px-3 py-1 bg-indigo-600 rounded text-white">Crear item</a>
</div>
</div>

View File

@@ -47,7 +47,7 @@
<li class="text-sm"><a href="/dashboard/<%= selectedGuild %>/settings" class="flex items-center gap-3"><span class="opacity-80">⚙️</span> General Settings</a></li>
<li class="text-sm"><a href="/dashboard/<%= selectedGuild %>/items" class="flex items-center gap-3"><span class="opacity-80">🧭</span> Items</a></li>
<li class="text-sm">
<a href="/dashboard/<%= selectedGuild %>/items/lab" class="flex items-center gap-3">
<a href="/items/lab?guild=<%= selectedGuild %>" class="flex items-center gap-3">
<span class="inline-flex items-center justify-center w-6 h-6 rounded-full bg-white/6 animate-pulse">🔬</span>
<span>Lab</span>
<span id="labSpinner" class="ml-auto opacity-0 text-xs">⏳</span>