mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-10-10 11:56:17 +00:00
Update hardware.tsx
This commit is contained in:
@@ -634,6 +634,7 @@ export default function Hardware() {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{/* CHANGE: Changed process name to Badge with blue color */}
|
||||||
{realtimeGPUData.processes && realtimeGPUData.processes.length > 0 && (
|
{realtimeGPUData.processes && realtimeGPUData.processes.length > 0 && (
|
||||||
<div>
|
<div>
|
||||||
<h3 className="text-sm font-semibold text-muted-foreground mb-3 uppercase tracking-wide">
|
<h3 className="text-sm font-semibold text-muted-foreground mb-3 uppercase tracking-wide">
|
||||||
@@ -644,7 +645,9 @@ export default function Hardware() {
|
|||||||
<div key={idx} className="rounded-lg border border-border/30 bg-background/50 p-4">
|
<div key={idx} className="rounded-lg border border-border/30 bg-background/50 p-4">
|
||||||
<div className="flex justify-between items-start mb-3">
|
<div className="flex justify-between items-start mb-3">
|
||||||
<div>
|
<div>
|
||||||
<p className="text-sm font-semibold">{proc.name}</p>
|
<Badge className="bg-blue-500/10 text-blue-500 border-blue-500/20 mb-1">
|
||||||
|
{proc.name}
|
||||||
|
</Badge>
|
||||||
<p className="font-mono text-xs text-muted-foreground">PID: {proc.pid}</p>
|
<p className="font-mono text-xs text-muted-foreground">PID: {proc.pid}</p>
|
||||||
</div>
|
</div>
|
||||||
{proc.memory && (
|
{proc.memory && (
|
||||||
|
Reference in New Issue
Block a user