44 lines
1.5 KiB
HTML
44 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>War Dashboard</title>
|
|
<link rel="stylesheet" href="/static/styles.css">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<!-- Top bar: Title + Refresh Interval -->
|
|
<div class="top-bar">
|
|
<h1>War Dashboard</h1>
|
|
<div class="interval-box">
|
|
<label for="refresh-interval">Refresh Interval (seconds)</label>
|
|
<input type="number" id="refresh-interval" value="10" min="1">
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Faction row -->
|
|
<div class="faction-row">
|
|
<!-- Friendly Faction -->
|
|
<div class="faction-card">
|
|
<h2>Friendly Faction</h2>
|
|
<input type="number" id="friendly-id" placeholder="Faction ID">
|
|
<button id="friendly-populate-btn">Populate Friendly</button>
|
|
<button id="friendly-status-btn">Start Refresh</button>
|
|
<div id="friendly-container" class="members-container"></div>
|
|
</div>
|
|
|
|
<!-- Enemy Faction -->
|
|
<div class="faction-card">
|
|
<h2>Enemy Faction</h2>
|
|
<input type="number" id="enemy-id" placeholder="Faction ID">
|
|
<button id="enemy-populate-btn">Populate Enemy</button>
|
|
<button id="enemy-status-btn">Start Refresh</button>
|
|
<div id="enemy-container" class="members-container"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="/static/dashboard.js"></script>
|
|
</body>
|
|
</html>
|