Config page for adding tokens and settings
This commit is contained in:
@@ -8,18 +8,14 @@
|
||||
<body>
|
||||
<div class="container">
|
||||
|
||||
<!-- Top bar: Title + interval + Reset button -->
|
||||
<!-- Top bar: Title + Reset button -->
|
||||
<div class="top-bar">
|
||||
<h1>War Dashboard</h1>
|
||||
|
||||
<div class="top-controls">
|
||||
<a href="/config" class="nav-link">Settings</a>
|
||||
<button id="bot-control-btn" class="bot-btn" data-running="false">Start Bot</button>
|
||||
<button id="reset-groups-btn" class="reset-btn">Reset Groups</button>
|
||||
|
||||
<div class="interval-box">
|
||||
<label for="refresh-interval">Refresh Interval (seconds)</label>
|
||||
<input type="number" id="refresh-interval" value="10" min="1" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -31,10 +27,16 @@
|
||||
<!-- FRIENDLY -->
|
||||
<div class="faction-card small">
|
||||
<h2>Friendly Faction</h2>
|
||||
<div class="controls">
|
||||
<input type="number" id="friendly-id" placeholder="Faction ID" />
|
||||
<button id="friendly-populate-btn">Populate</button>
|
||||
<button id="friendly-status-btn">Start Refresh</button>
|
||||
<div class="controls-row">
|
||||
<div class="controls">
|
||||
<input type="number" id="friendly-id" placeholder="Faction ID" />
|
||||
<button id="friendly-populate-btn">Populate</button>
|
||||
</div>
|
||||
<div class="status-controls">
|
||||
<label for="friendly-refresh-interval">Status Refresh (seconds):</label>
|
||||
<input type="number" id="friendly-refresh-interval" value="10" min="1" />
|
||||
<button id="friendly-status-btn" class="status-btn" data-running="false">Start</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="friendly-container"
|
||||
@@ -45,10 +47,16 @@
|
||||
<!-- ENEMY -->
|
||||
<div class="faction-card small">
|
||||
<h2>Enemy Faction</h2>
|
||||
<div class="controls">
|
||||
<input type="number" id="enemy-id" placeholder="Faction ID" />
|
||||
<button id="enemy-populate-btn">Populate</button>
|
||||
<button id="enemy-status-btn">Start Refresh</button>
|
||||
<div class="controls-row">
|
||||
<div class="controls">
|
||||
<input type="number" id="enemy-id" placeholder="Faction ID" />
|
||||
<button id="enemy-populate-btn">Populate</button>
|
||||
</div>
|
||||
<div class="status-controls">
|
||||
<label for="enemy-refresh-interval">Status Refresh (seconds):</label>
|
||||
<input type="number" id="enemy-refresh-interval" value="10" min="1" />
|
||||
<button id="enemy-status-btn" class="status-btn" data-running="false">Start</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="enemy-container"
|
||||
|
||||
Reference in New Issue
Block a user