summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-10-18 21:11:27 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-17 13:11:28 +0100
commitd44633c3a08576fae32c078f6ee0fbef0cb626ee (patch)
treea3b32e9f38140a0fea313e844de6f569549caeb3
parentea1e0d445204857be2e0d3250d45200266f8b02b (diff)
downloadrommel-in-the-desert-d44633c3a08576fae32c078f6ee0fbef0cb626ee.tar.gz
Main menu links.
-rw-r--r--play.html15
1 files changed, 2 insertions, 13 deletions
diff --git a/play.html b/play.html
index c4b83ac..7261280 100644
--- a/play.html
+++ b/play.html
@@ -688,21 +688,10 @@ svg #lines line.axis_supply.allied_supply {
<div class="menu">
<div class="menu_title"><img src="/images/cog.svg"></div>
<div class="menu_popup">
- <div class="menu_item" onclick="window.open('info/rules.html', '_blank')">Rules</div>
- <div class="menu_item" onclick="window.open('info/units.html', '_blank')">Units</div>
+ <a class="menu_item" href="info/rules.html" target="_blank">Rules</a>
+ <a class="menu_item" href="info/units.html" target="_blank">Units</a>
<div class="resign menu_separator"></div>
<div class="resign menu_item" onclick="confirm_resign()">Resign</div>
- <div class="debug menu_separator"></div>
- <div class="debug menu_item" onclick="send_save()">&#x1F41E; Save</div>
- <div class="debug menu_item" onclick="send_restore()">&#x1F41E; Restore</div>
- <div class="debug menu_item" onclick="send_restart('1940')">&#x26a0; Restart 1940</div>
- <div class="debug menu_item" onclick="send_restart('1941')">&#x26a0; Restart 1941</div>
- <div class="debug menu_item" onclick="send_restart('1942')">&#x26a0; Restart 1942</div>
- <div class="debug menu_item" onclick="send_restart('Crusader')">&#x26a0; Restart Crusader</div>
- <div class="debug menu_item" onclick="send_restart('Battleaxe')">&#x26a0; Restart Battleaxe</div>
- <div class="debug menu_item" onclick="send_restart('Gazala')">&#x26a0; Restart Gazala</div>
- <div class="debug menu_item" onclick="send_restart('Pursuit to Alamein')">&#x26a0; Restart Alamein</div>
- <div class="debug menu_item" onclick="send_restart('1941-42')">&#x26a0; Restart 1941-42</div>
</div>
</div>
<div class="icon_button" onclick="toggle_supply()"><img src="/images/oil-drum.svg"></div>