Initial commit
This commit is contained in:
commit
94d8e201f5
10 changed files with 909 additions and 0 deletions
49
templates/index.html
Normal file
49
templates/index.html
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
<!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>
|
||||
<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>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<p>Hostapd Web UI v1.0.0</p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<script src="/static/script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue