mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-18 03:26:17 +00:00
Update system-logs.tsx
This commit is contained in:
@@ -697,7 +697,7 @@ export function SystemLogs() {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
{/* Statistics Cards */}
|
{/* Statistics Cards */}
|
||||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
|
<div className="grid grid-cols-2 lg:grid-cols-4 gap-4 lg:gap-6">
|
||||||
<Card className="bg-card border-border">
|
<Card className="bg-card border-border">
|
||||||
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
|
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
|
||||||
<CardTitle className="text-sm font-medium text-muted-foreground">Total Entries</CardTitle>
|
<CardTitle className="text-sm font-medium text-muted-foreground">Total Entries</CardTitle>
|
||||||
@@ -760,17 +760,12 @@ export function SystemLogs() {
|
|||||||
</div>
|
</div>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent className="max-w-full overflow-hidden">
|
<CardContent className="max-w-full overflow-hidden">
|
||||||
{/* CHANGE: TabsList modified for new structure */}
|
|
||||||
<Tabs value={activeTab} onValueChange={setActiveTab}>
|
<Tabs value={activeTab} onValueChange={setActiveTab}>
|
||||||
<TabsList className="hidden md:grid w-full grid-cols-4">
|
<TabsList className="hidden md:grid w-full grid-cols-3">
|
||||||
<TabsTrigger value="logs">
|
<TabsTrigger value="logs">
|
||||||
<Terminal className="h-4 w-4 mr-2" />
|
<Terminal className="h-4 w-4 mr-2" />
|
||||||
Logs
|
Logs
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
<TabsTrigger value="events">
|
|
||||||
<Activity className="h-4 w-4 mr-2" />
|
|
||||||
Events
|
|
||||||
</TabsTrigger>
|
|
||||||
<TabsTrigger value="backups">
|
<TabsTrigger value="backups">
|
||||||
<Database className="h-4 w-4 mr-2" />
|
<Database className="h-4 w-4 mr-2" />
|
||||||
Backups
|
Backups
|
||||||
@@ -806,17 +801,6 @@ export function SystemLogs() {
|
|||||||
<Terminal className="h-4 w-4" />
|
<Terminal className="h-4 w-4" />
|
||||||
Logs
|
Logs
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
|
||||||
variant={activeTab === "events" ? "secondary" : "ghost"}
|
|
||||||
className="w-full justify-start gap-2"
|
|
||||||
onClick={() => {
|
|
||||||
setActiveTab("events")
|
|
||||||
setIsMobileMenuOpen(false)
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<Activity className="h-4 w-4" />
|
|
||||||
Events
|
|
||||||
</Button>
|
|
||||||
<Button
|
<Button
|
||||||
variant={activeTab === "backups" ? "secondary" : "ghost"}
|
variant={activeTab === "backups" ? "secondary" : "ghost"}
|
||||||
className="w-full justify-start gap-2"
|
className="w-full justify-start gap-2"
|
||||||
|
|||||||
Reference in New Issue
Block a user