This commit is contained in:
2025-12-14 10:40:54 +01:00
parent 5d483b0df5
commit 8428bf9c82
55 changed files with 9763 additions and 391 deletions

View File

@@ -8,14 +8,16 @@
<link rel="stylesheet" href="css/components.css">
</head>
<body>
<!-- Header -->
<header class="header">
<div class="container">
<h1>🚀 Linux BenchTools</h1>
<p>Gestion des devices</p>
<!-- Compact Header -->
<header style="background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); border-bottom: 2px solid var(--color-primary); padding: 0.75rem 0;">
<div style="max-width: 100%; padding: 0 1rem; display: flex; justify-content: space-between; align-items: center;">
<div style="display: flex; align-items: center; gap: 1rem;">
<h1 style="margin: 0; font-size: 1.5rem; color: var(--color-primary);">🚀 Linux BenchTools</h1>
<span style="color: var(--text-secondary); font-size: 0.9rem;">Gestion des devices</span>
</div>
<!-- Navigation -->
<nav class="nav">
<nav class="nav" style="margin: 0;">
<a href="index.html" class="nav-link">Dashboard</a>
<a href="devices.html" class="nav-link active">Devices</a>
<a href="settings.html" class="nav-link">Settings</a>
@@ -24,22 +26,24 @@
</header>
<!-- Main Content -->
<main class="container" style="max-width: 100%; padding: 0 1rem;">
<main style="max-width: 100%; padding: 0.5rem; height: calc(100vh - 80px); overflow: hidden;">
<!-- Two-Panel Layout -->
<div style="display: flex; gap: 1rem; height: calc(100vh - 200px); margin-top: 1rem;">
<!-- Left Panel: Device List (1/5 width) -->
<div style="flex: 0 0 20%; display: flex; flex-direction: column; background: var(--card-bg); border-radius: 8px; overflow: hidden;">
<div style="padding: 1rem; border-bottom: 1px solid var(--border-color); font-weight: 600; font-size: 1.1rem;">
📋 Devices
<div style="display: flex; gap: 0; height: 100%; border: 2px solid var(--border-color); border-radius: 8px; overflow: hidden; background: var(--bg-primary);">
<!-- Left Panel: Device Explorer (1/5 width) -->
<div style="flex: 0 0 20%; display: flex; flex-direction: column; background: var(--bg-secondary); border-right: 3px solid var(--color-primary); overflow: hidden;">
<div style="padding: 1rem; background: var(--card-bg); border-bottom: 2px solid var(--color-primary); font-weight: 600; font-size: 1rem; display: flex; align-items: center; gap: 0.5rem;">
<span style="font-size: 1.2rem;">📋</span>
<span>Devices</span>
</div>
<div id="deviceList" style="flex: 1; overflow-y: auto; padding: 0.5rem;">
<div id="deviceList" style="flex: 1; overflow-y: auto; padding: 0.75rem;">
<div class="loading">Chargement...</div>
</div>
</div>
<!-- Right Panel: Device Details (4/5 width) -->
<div style="flex: 1; background: var(--card-bg); border-radius: 8px; overflow-y: auto;">
<div id="deviceDetailsContainer" style="padding: 2rem;">
<!-- Right Panel: Device Details Form (4/5 width) -->
<div style="flex: 1; display: flex; flex-direction: column; background: var(--card-bg); overflow: hidden;">
<div id="deviceDetailsContainer" style="flex: 1; overflow-y: auto; padding: 1.5rem;">
<div style="text-align: center; color: var(--text-secondary); padding: 4rem 2rem;">
<div style="font-size: 3rem; margin-bottom: 1rem;">📊</div>
<p style="font-size: 1.1rem;">Sélectionnez un device dans la liste pour afficher ses détails</p>