hostapd-webui/templates/index.html
Juanjo Gutiérrez fd42ffd987
All checks were successful
continuous-integration/drone/push Build is passing
Add details for station
2026-02-06 14:52:58 +01:00

60 lines
No EOL
2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hostapd Web UI - WiFi Station Monitor</title>
<link rel="stylesheet" href="/static/styles.css">
</head>
<body>
<div class="container">
<header>
<h1>WiFi Station Monitor</h1>
<div class="status-bar">
<span id="last-update">Last update: Never</span>
</div>
</header>
<main class="main-layout">
<div class="content-area">
<div class="station-table-container">
<table id="station-table">
<thead>
<tr>
<th>MAC Address</th>
<th>Signal Strength</th>
<th>Rate(rx/tx)</th>
<th>Bytes(rx/tx)</th>
</tr>
</thead>
<tbody id="station-tbody">
<tr>
<td colspan="7" class="loading">Loading station data...</td>
</tr>
</tbody>
</table>
</div>
<div id="error-message" class="error hidden">
<p>Error loading station data. Please check if the API is running.</p>
</div>
</div>
<div id="station-details-panel" class="details-panel">
<div class="details-header">
<h2>Station Details</h2>
</div>
<div id="station-details-content" class="details-content">
<div class="loading">Select a station to view details</div>
</div>
</div>
</main>
<footer>
<p>Hostapd Web UI v1.0.0</p>
</footer>
</div>
<script src="/static/script.js"></script>
</body>
</html>