mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-18 19:46:18 +00:00
Update system-logs.tsx
This commit is contained in:
@@ -974,11 +974,13 @@ export function SystemLogs() {
|
|||||||
|
|
||||||
{/* Backups Tab */}
|
{/* Backups Tab */}
|
||||||
<TabsContent value="backups" className="space-y-4">
|
<TabsContent value="backups" className="space-y-4">
|
||||||
<div className="grid grid-cols-1 md:grid-cols-3 gap-4 mb-4">
|
<div className="space-y-4 mb-4">
|
||||||
|
{/* First row: VM and LXC backups */}
|
||||||
|
<div className="grid grid-cols-2 md:grid-cols-3 gap-4">
|
||||||
<Card className="bg-card/50 border-border">
|
<Card className="bg-card/50 border-border">
|
||||||
<CardContent className="pt-6">
|
<CardContent className="pt-6">
|
||||||
<div className="text-2xl font-bold text-cyan-500">{backupStats.qemu}</div>
|
<div className="text-2xl font-bold text-cyan-500">{backupStats.qemu}</div>
|
||||||
<p className="text-xs text-muted-foreground mt-1">QEMU Backups</p>
|
<p className="text-xs text-muted-foreground mt-1">VM Backups</p>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
<Card className="bg-card/50 border-border">
|
<Card className="bg-card/50 border-border">
|
||||||
@@ -987,7 +989,16 @@ export function SystemLogs() {
|
|||||||
<p className="text-xs text-muted-foreground mt-1">LXC Backups</p>
|
<p className="text-xs text-muted-foreground mt-1">LXC Backups</p>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
<Card className="bg-card/50 border-border">
|
<Card className="bg-card/50 border-border hidden md:block">
|
||||||
|
<CardContent className="pt-6">
|
||||||
|
<div className="text-2xl font-bold text-foreground">{formatBytes(backupStats.totalSize)}</div>
|
||||||
|
<p className="text-xs text-muted-foreground mt-1">Total Size</p>
|
||||||
|
</CardContent>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Second row: Total Size (mobile only, full width) */}
|
||||||
|
<Card className="bg-card/50 border-border md:hidden">
|
||||||
<CardContent className="pt-6">
|
<CardContent className="pt-6">
|
||||||
<div className="text-2xl font-bold text-foreground">{formatBytes(backupStats.totalSize)}</div>
|
<div className="text-2xl font-bold text-foreground">{formatBytes(backupStats.totalSize)}</div>
|
||||||
<p className="text-xs text-muted-foreground mt-1">Total Size</p>
|
<p className="text-xs text-muted-foreground mt-1">Total Size</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user