forked from GoodStartLabs/AI_Diplomacy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
67 lines (63 loc) · 2.23 KB
/
index.html
File metadata and controls
67 lines (63 loc) · 2.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Diplomacy Map (Fallback-Only)</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
<div class="container">
<div class="top-controls">
<div>
<button id="load-btn">Load Game</button>
<button id="prev-btn" disabled>← Prev</button>
<button id="next-btn" disabled>Next →</button>
<button id="play-btn" disabled>▶ Play</button>
<select id="speed-selector" disabled>
<option value="1000">Slow</option>
<option value="500" selected>Medium</option>
<option value="200">Fast</option>
</select>
<span id="phase-display">No game loaded</span>
</div>
<span id="game-id-display">Game: --</span>
</div>
<div id="map-view" class="map-view"></div>
<input type="file" id="file-input" accept=".json">
<div id="leaderboard"></div>
<div id="rotating-display"></div>
<!-- Chat windows container -->
<div id="chat-container"></div>
<!-- Add this after the info-panel div -->
<div id="news-banner">
<div id="news-banner-content">Diplomatic actions unfolding...</div>
</div>
<!-- Debug Menu -->
<div id="debug-menu" style="display: none;">
<button id="debug-toggle-btn">🔧 Debug</button>
<div id="debug-panel" class="debug-panel-collapsed">
<div class="debug-header">
<h3>Debug Tools</h3>
<button id="debug-close-btn">×</button>
</div>
<div class="debug-content">
<div class="debug-section">
<h4>Province Highlighting</h4>
<div class="debug-tool">
<input type="text" id="province-input" placeholder="Enter province name (e.g., PAR, LON, BER)" />
<button id="highlight-province-btn">Highlight</button>
</div>
</div>
<!-- Future debug tools will go here -->
<div class="debug-section">
<h4>Future Tools</h4>
<p class="debug-placeholder">More debug tools will be added here...</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>