Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Update frontend/src/pages/SuperAdminPanel.jsx
Browse files
frontend/src/pages/SuperAdminPanel.jsx
CHANGED
|
@@ -1579,7 +1579,8 @@ const SuperAdminPanel = () => {
|
|
| 1579 |
const remaining = q.allocated_count === -1 ? '∞' : Math.max(0, q.allocated_count - (q.used_count || 0));
|
| 1580 |
const style = q.scan_type === 'Deep' ? 'bg-orange-500/10 text-orange-600 border-orange-500/30' :
|
| 1581 |
q.scan_type === 'Advanced' ? 'bg-purple-500/10 text-purple-600 border-purple-500/30' :
|
| 1582 |
-
|
|
|
|
| 1583 |
return (
|
| 1584 |
<div key={idx} className={`text-[10.5px] font-bold px-2 py-0.5 rounded border flex items-center gap-1 shadow-sm ${style}`}>
|
| 1585 |
<span className="uppercase opacity-90 tracking-wider">{q.scan_type}:</span>
|
|
|
|
| 1579 |
const remaining = q.allocated_count === -1 ? '∞' : Math.max(0, q.allocated_count - (q.used_count || 0));
|
| 1580 |
const style = q.scan_type === 'Deep' ? 'bg-orange-500/10 text-orange-600 border-orange-500/30' :
|
| 1581 |
q.scan_type === 'Advanced' ? 'bg-purple-500/10 text-purple-600 border-purple-500/30' :
|
| 1582 |
+
q.scan_type === 'Quick' ? 'bg-blue-500/10 text-blue-600 border-blue-500/30' :
|
| 1583 |
+
'bg-emerald-500/10 text-emerald-600 border-emerald-500/30';
|
| 1584 |
return (
|
| 1585 |
<div key={idx} className={`text-[10.5px] font-bold px-2 py-0.5 rounded border flex items-center gap-1 shadow-sm ${style}`}>
|
| 1586 |
<span className="uppercase opacity-90 tracking-wider">{q.scan_type}:</span>
|