aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2025-01-30 10:50:43 +0000
committerstonedDiscord <Tukz@gmx.de>2025-01-30 10:50:43 +0000
commit9be77db6e8def89cf26c5be4db22731b6d3a69f2 (patch)
treeb50dbfef2ad0429065910d34f4734e7aab185055 /public
parenta3a8e7d2e35d3606d979fea3b6d2c489feac4049 (diff)
change serverlist to use detail tag
prep for onhover description
Diffstat (limited to 'public')
-rw-r--r--public/index.html24
1 files changed, 5 insertions, 19 deletions
diff --git a/public/index.html b/public/index.html
index 27f40a8..f0ec2af 100644
--- a/public/index.html
+++ b/public/index.html
@@ -136,27 +136,13 @@
</div>
</noscript>
<ul class="serverlist">
- <li id="server-2" onmouseover="setServ(-2)">
- <p>Singleplayer (beta)</p>
- <a class="button" href="client.html?mode=replay">Try</a>
- </li>
+ <details name="servers">
+ <summary><p>Singleplayer</p>
+ <a class="button" href="client.html?mode=replay">Join</a></summary>
+ <p>This is your computer</p>
+ </details>
</ul>
<ul class="serverlist" id="masterlist"></ul>
- <ul class="serverlist">
- <li id="server-1" onmouseover="setServ(-1)">
- <p>Localhost</p>
- <a
- class="button"
- href="client.html?mode=watch&connect=ws://127.0.0.1:50001"
- >Watch</a
- >
- <a
- class="button"
- href="client.html?mode=join&connect=ws://127.0.0.1:50001"
- >Join</a
- >
- </li>
- </ul>
<div id="info_container">
<p id="serverinfo">Masterserver version - ...</p>
<p id="clientinfo">Client version - ...</p>