89 lines
3.9 KiB
HTML
Executable File
89 lines
3.9 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Devices - Linux BenchTools</title>
|
|
<link rel="stylesheet" href="css/main.css">
|
|
<link rel="stylesheet" href="css/components.css">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="icons/favicon/icons8-devices-3d-fluency-32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="icons/favicon/icons8-devices-3d-fluency-16.png">
|
|
</head>
|
|
<body>
|
|
<!-- 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" 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>
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
|
|
<!-- Main Content -->
|
|
<main style="max-width: 100%; padding: 0.5rem; height: calc(100vh - 80px); overflow: hidden;">
|
|
<!-- Two-Panel Layout -->
|
|
<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.75rem;">
|
|
<div class="loading">Chargement...</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<!-- Footer -->
|
|
<footer class="footer">
|
|
<p>© 2025 Linux BenchTools - Self-hosted benchmarking tool</p>
|
|
</footer>
|
|
|
|
<!-- Modal for Benchmark Details -->
|
|
<div id="benchmarkModal" class="modal">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h3 class="modal-title">Détails du Benchmark</h3>
|
|
<button class="modal-close">×</button>
|
|
</div>
|
|
<div class="modal-body" id="benchmarkModalBody">
|
|
<div class="loading">Chargement...</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button class="btn btn-secondary" onclick="BenchUtils.closeModal('benchmarkModal')">Fermer</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Scripts -->
|
|
<script src="config.js"></script>
|
|
<script src="js/utils.js"></script>
|
|
<script src="js/api.js"></script>
|
|
<script src="js/icon-manager.js"></script>
|
|
<script src="js/theme-manager.js"></script>
|
|
<script src="js/hardware-renderer.js"></script>
|
|
<script src="js/devices.js"></script>
|
|
</body>
|
|
</html>
|