Files
network-topology-wrapper/frontend/index.html
T
2026-05-19 14:53:36 +02:00

57 lines
1.5 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Network Topology Wrapper</title>
<link rel="stylesheet" href="/static/styles.css" />
</head>
<body>
<header>
<div>
<h1>Network Topology Live View</h1>
<p>Internal DevOps topology, discovery, and device presence</p>
</div>
<div class="meta">
<span id="lastUpdated">Waiting for data...</span>
</div>
</header>
<main>
<section class="panel graph-panel">
<div class="panel-title-row">
<h2>Topology</h2>
<button id="refreshBtn">Refresh</button>
</div>
<svg id="graph" viewBox="0 0 1200 700" preserveAspectRatio="xMidYMid meet"></svg>
</section>
<section class="panel devices-panel">
<h2>Devices</h2>
<div class="table-wrap">
<table id="deviceTable">
<thead>
<tr>
<th>Status</th>
<th>IP</th>
<th>Name</th>
<th>Type</th>
<th>Vendor</th>
<th>Last Seen</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</section>
<section class="panel events-panel">
<h2>Live Events</h2>
<ul id="eventList"></ul>
</section>
</main>
<script src="/static/app.js"></script>
</body>
</html>