40 lines
1.2 KiB
HTML
40 lines
1.2 KiB
HTML
<!--
|
|
Dereth Tracker Single-Page Application
|
|
Displays live player locations, trails, and statistics on a map.
|
|
-->
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Dereth Tracker</title>
|
|
<!-- Link to main stylesheet -->
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
|
|
<!-- Sidebar for active players list and filters -->
|
|
<aside id="sidebar">
|
|
<!-- Container for sort and filter controls -->
|
|
<div id="sortButtons" class="sort-buttons"></div>
|
|
|
|
<h2>Active Players</h2>
|
|
<!-- Text input to filter active players by name -->
|
|
<input type="text" id="playerFilter" class="player-filter" placeholder="Filter players..." />
|
|
<ul id="playerList"></ul>
|
|
</aside>
|
|
|
|
<!-- Main map container showing terrain and player data -->
|
|
<div id="mapContainer">
|
|
<div id="mapGroup">
|
|
<img id="map" src="dereth.png" alt="Dereth map">
|
|
<svg id="trails"></svg>
|
|
<div id="dots"></div>
|
|
</div>
|
|
<div id="tooltip" class="tooltip"></div>
|
|
<div id="coordinates" class="coordinates"></div>
|
|
</div>
|
|
|
|
<!-- Main JavaScript file for WebSocket communication and UI logic -->
|
|
<script src="script.js" defer></script>
|
|
</body>
|
|
</html>
|