AstraOS Ver. 1.39:
All checks were successful
Deploy AstraOS Panel / deploy (push) Successful in 12s

- Beauty update zum Tracker
This commit is contained in:
elias 2026-06-07 13:49:04 +02:00
parent a77e00f674
commit 4328163839

View file

@ -44,10 +44,10 @@
<div class="flex flex-col sm:flex-row gap-4 w-full md:w-auto items-center"> <div class="flex flex-col sm:flex-row gap-4 w-full md:w-auto items-center">
<div id="smurfCard" class="bg-slate-900/80 border p-4 rounded-xl flex flex-col justify-center min-w-[240px] transition-all duration-300"> <div id="smurfCard" class="bg-slate-900/80 border border-purple-900/20 p-4 rounded-xl flex flex-col justify-center min-w-[280px] sm:min-w-[300px] transition-all duration-300">
<div class="flex justify-between items-center mb-1"> <div class="flex justify-between items-center gap-4 mb-2">
<p class="text-[10px] uppercase tracking-widest font-bold text-slate-400">Smurf Detection</p> <p class="text-[10px] uppercase tracking-widest font-bold text-slate-400 whitespace-nowrap">Smurf Rating</p>
<span id="smurfBadge" class="text-[9px] font-black uppercase px-1.5 py-0.5 rounded tracking-wide">Analysing</span> <span id="smurfBadge" class="text-[9px] font-black uppercase px-2 py-0.5 rounded tracking-wide text-center whitespace-nowrap">Analysing</span>
</div> </div>
<div class="flex items-baseline space-x-1.5"> <div class="flex items-baseline space-x-1.5">
<span id="displaySmurfScore" class="text-2xl font-black">0%</span> <span id="displaySmurfScore" class="text-2xl font-black">0%</span>
@ -268,18 +268,18 @@
// Farbthemen basierend auf dem Score zuweisen // Farbthemen basierend auf dem Score zuweisen
if(sScore >= 70) { if(sScore >= 70) {
sCard.className = "bg-rose-950/40 border-rose-500/60 p-4 rounded-xl flex flex-col justify-center min-w-[240px]"; sCard.className = "bg-rose-950/40 border-rose-500/60 p-4 rounded-xl flex flex-col justify-center min-w-[280px] sm:min-w-[300px]";
sBadge.className = "text-[9px] font-black uppercase px-1.5 py-0.5 rounded tracking-wide bg-rose-500 text-black shadow-lg shadow-rose-500/20"; sBadge.className = "text-[9px] font-black uppercase px-1.5 py-0.5 rounded tracking-wide bg-rose-500 text-black shadow-lg shadow-rose-500/20 whitespace-nowrap";
document.getElementById('displaySmurfScore').className = "text-2xl font-black text-rose-400"; document.getElementById('displaySmurfScore').className = "text-2xl font-black text-rose-400";
document.getElementById('smurfProgressBar').className = "h-full bg-rose-500 animate-pulse"; document.getElementById('smurfProgressBar').className = "h-full bg-rose-500 animate-pulse";
} else if(sScore >= 40) { } else if(sScore >= 40) {
sCard.className = "bg-amber-950/30 border-amber-500/40 p-4 rounded-xl flex flex-col justify-center min-w-[240px]"; sCard.className = "bg-amber-950/30 border-amber-500/40 p-4 rounded-xl flex flex-col justify-center min-w-[280px] sm:min-w-[300px]";
sBadge.className = "text-[9px] font-black uppercase px-1.5 py-0.5 rounded tracking-wide bg-amber-500 text-black"; sBadge.className = "text-[9px] font-black uppercase px-1.5 py-0.5 rounded tracking-wide bg-amber-500 text-black whitespace-nowrap";
document.getElementById('displaySmurfScore').className = "text-2xl font-black text-amber-400"; document.getElementById('displaySmurfScore').className = "text-2xl font-black text-amber-400";
document.getElementById('smurfProgressBar').className = "h-full bg-amber-500"; document.getElementById('smurfProgressBar').className = "h-full bg-amber-500";
} else { } else {
sCard.className = "bg-slate-900/80 border-slate-800 p-4 rounded-xl flex flex-col justify-center min-w-[240px]"; sCard.className = "bg-slate-900/80 border-slate-800 p-4 rounded-xl flex flex-col justify-center min-w-[280px] sm:min-w-[300px]";
sBadge.className = "text-[9px] font-black uppercase px-1.5 py-0.5 rounded tracking-wide bg-emerald-500/10 text-emerald-400 border border-emerald-500/20"; sBadge.className = "text-[9px] font-black uppercase px-1.5 py-0.5 rounded tracking-wide bg-emerald-500/10 text-emerald-400 border border-emerald-500/20 whitespace-nowrap";
document.getElementById('displaySmurfScore').className = "text-2xl font-black text-emerald-400"; document.getElementById('displaySmurfScore').className = "text-2xl font-black text-emerald-400";
document.getElementById('smurfProgressBar').className = "h-full bg-emerald-500"; document.getElementById('smurfProgressBar').className = "h-full bg-emerald-500";
} }