Actualizar servicios.html

This commit is contained in:
2026-03-02 08:18:18 +00:00
parent 35fbd80bd2
commit 8911094af9

View File

@@ -642,6 +642,15 @@
<span class="truncate">${stateInfo.name}</span>
</span>
${isUrgent ? `<span class="bg-red-500 text-white px-2 py-1 rounded-lg text-[9px] font-black uppercase shadow-sm animate-pulse shrink-0">🔥 URGENTE</span>` : `<span class="text-[10px] text-slate-400 font-bold uppercase bg-slate-50 border border-slate-100 px-2.5 py-1 rounded-lg shrink-0">#${s.service_ref}</span>`}
// Busca donde pone: <span class="text-[10px] font-black text-slate-600 truncate"...
// Y añade esto justo al lado o debajo:
<button onclick="event.stopPropagation(); window.location.href='trazabilidad.html?id=${s.id}'" class="p-1.5 bg-slate-50 text-slate-400 hover:text-blue-600 rounded-lg transition-colors border border-slate-100" title="Ver Historial">
<i data-lucide="history" class="w-3.5 h-3.5"></i>
</button>
</div>
<div>