Added intial plugin
This commit is contained in:
83
public/overview.html
Normal file
83
public/overview.html
Normal file
@@ -0,0 +1,83 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Race Overview</title>
|
||||
<link rel="stylesheet" href="/styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<header class="topbar">
|
||||
<div>
|
||||
<h1>Race Overview</h1>
|
||||
<p id="status">Waiting for UDP packets on port 5606</p>
|
||||
</div>
|
||||
<nav class="page-nav" aria-label="Pages">
|
||||
<a href="/">Packet Data</a>
|
||||
<a href="/overview.html">Race Overview</a>
|
||||
<a href="/swagger.html">API Docs</a>
|
||||
</nav>
|
||||
<div class="stat">
|
||||
<span>Drivers</span>
|
||||
<strong id="driver-count">0</strong>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<section class="overview-strip">
|
||||
<div>
|
||||
<span>Track</span>
|
||||
<strong id="track-name">-</strong>
|
||||
</div>
|
||||
<div>
|
||||
<span>Session</span>
|
||||
<strong id="session-type">-</strong>
|
||||
</div>
|
||||
<div>
|
||||
<span>Time Left</span>
|
||||
<strong id="time-left">-</strong>
|
||||
</div>
|
||||
<div>
|
||||
<span>Weather</span>
|
||||
<strong id="weather">-</strong>
|
||||
</div>
|
||||
<div>
|
||||
<span>Last Update</span>
|
||||
<strong id="last-update">-</strong>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="panel">
|
||||
<div class="panel-header">
|
||||
<h2>Leaderboard</h2>
|
||||
<span id="leaderboard-note">Waiting for timing packets</span>
|
||||
</div>
|
||||
<div class="table-wrap leaderboard-wrap">
|
||||
<table class="leaderboard">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Pos</th>
|
||||
<th>Driver</th>
|
||||
<th>Nat</th>
|
||||
<th>Car</th>
|
||||
<th>Lap</th>
|
||||
<th>Sector</th>
|
||||
<th>Current</th>
|
||||
<th>Last Lap</th>
|
||||
<th>Last Split</th>
|
||||
<th>Best Lap</th>
|
||||
<th>Best Split</th>
|
||||
<th>Sector Split</th>
|
||||
<th>Checkpoint</th>
|
||||
<th>Status</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="leaderboard-body"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<script src="/overview.js" type="module"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user