proper functoin calls for faction data
This commit is contained in:
@@ -1,24 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<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">
|
||||
<h1>War Dashboard</h1>
|
||||
|
||||
<h1>War Dashboard</h1>
|
||||
<div class="faction-section">
|
||||
<h2>Enemy Faction</h2>
|
||||
<input type="number" id="enemyId" placeholder="Enemy Faction ID">
|
||||
<input type="number" id="refreshInterval" placeholder="Refresh Interval (sec)">
|
||||
<button onclick="updateEnemy()">Refresh Enemy</button>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h2>Enemy Faction</h2>
|
||||
<button onclick="updateEnemy()">Refresh Enemy</button>
|
||||
</div>
|
||||
<div class="faction-section">
|
||||
<h2>Friendly Faction</h2>
|
||||
<input type="number" id="friendlyId" placeholder="Friendly Faction ID">
|
||||
<button onclick="updateFriendly()">Refresh Friendly</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h2>Friendly Faction</h2>
|
||||
<button onclick="updateFriendly()">Refresh Friendly</button>
|
||||
</div>
|
||||
|
||||
<script src="/static/dashboard.js"></script>
|
||||
<script src="/static/dashboard.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user