44 lines
1.1 KiB
HTML
44 lines
1.1 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">
|
|
|
|
<div class="top-bar">
|
|
<h1>War Dashboard</h1>
|
|
|
|
<div class="interval-box">
|
|
<label for="refreshInterval">Refresh Interval (sec)</label>
|
|
<input type="number" id="refreshInterval" placeholder="e.g., 30">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="faction-row">
|
|
|
|
<!-- Enemy -->
|
|
<div class="faction-card">
|
|
<h2>Enemy Faction</h2>
|
|
<input type="number" id="enemyId" placeholder="Enemy Faction ID">
|
|
<button onclick="updateEnemy()">Start Enemy Refresh</button>
|
|
</div>
|
|
|
|
<!-- Friendly -->
|
|
<div class="faction-card">
|
|
<h2>Friendly Faction</h2>
|
|
<input type="number" id="friendlyId" placeholder="Friendly Faction ID">
|
|
<button onclick="updateFriendly()">Start Friendly Refresh</button>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script src="/static/dashboard.js"></script>
|
|
</body>
|
|
</html>
|