update proxmox-dashboard.tsx

This commit is contained in:
MacRimi
2026-03-31 18:42:35 +02:00
parent 80afa789e7
commit c04b514a2a
5 changed files with 8 additions and 8 deletions

View File

@@ -523,14 +523,14 @@ export function ProxmoxDashboard() {
<div
className={`sticky z-40 bg-background
top-[120px] md:top-[76px]
top-[120px] lg:top-[76px]
transition-all duration-700 ease-in-out
${showNavigation ? "translate-y-0 opacity-100" : "-translate-y-[120%] opacity-0 pointer-events-none"}
`}
>
<div className="container mx-auto px-4 md:px-6 pt-4 md:pt-6">
<div className="container mx-auto px-4 lg:px-6 pt-4 lg:pt-6">
<Tabs value={activeTab} onValueChange={setActiveTab} className="space-y-0">
<TabsList className="hidden md:grid w-full grid-cols-9 bg-card border border-border">
<TabsList className="hidden lg:grid w-full grid-cols-9 bg-card border border-border">
<TabsTrigger
value="overview"
className="data-[state=active]:bg-blue-500 data-[state=active]:text-white data-[state=active]:rounded-md"
@@ -588,7 +588,7 @@ export function ProxmoxDashboard() {
</TabsList>
<Sheet open={mobileMenuOpen} onOpenChange={setMobileMenuOpen}>
<div className="md:hidden">
<div className="lg:hidden">
<SheetTrigger asChild>
<Button
variant="outline"

View File

@@ -460,7 +460,7 @@ def delete_storage_exclusion(storage_name):
# ═══════════════════════════════════════════════════════════════════════════
# NETWORK INTERFACE EXCLUSION ROUTES
# ══════════════════<EFBFBD><EFBFBD><EFBFBD>════════════════════════════════════════════════════════
# ══════════════════════════════════════════════════════════════════════════
@health_bp.route('/api/health/interfaces', methods=['GET'])
def get_network_interfaces():

View File

@@ -855,7 +855,7 @@ def proxmox_webhook():
resp.headers['Retry-After'] = '60'
return resp, 429
# ─ Layers 2-5: Remote-only checks ──
# <EFBFBD><EFBFBD>─ Layers 2-5: Remote-only checks ──
if not is_localhost:
# Layer 2: Shared secret
try:

View File

@@ -1858,7 +1858,7 @@ class NotificationManager:
return {'checked': False, 'migrated': False, 'message': str(e)}
# ─── Singleton (for server mode) ────────────<EFBFBD><EFBFBD>────────────────────
# ─── Singleton (for server mode) ────────────────────────────────
notification_manager = NotificationManager()

View File

@@ -21,7 +21,7 @@ import time
import threading
from typing import Set, List, Tuple, Optional
# ─── Configuration ───────────────────────<EFBFBD><EFBFBD><EFBFBD>───────────────────────────────────
# ─── Configuration ──────────────────────────────────────────────────────────
# Grace period durations (seconds)
STARTUP_VM_GRACE_SECONDS = 180 # 3 minutes for VM/CT start aggregation