aboutsummaryrefslogtreecommitdiff
path: root/webAO
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2021-06-24 21:07:24 +0200
committerstonedDiscord <Tukz@gmx.de>2021-06-24 21:07:24 +0200
commit108f911100fc12972f5a50fee5143a259990ef8f (patch)
treecffa71fc382338165557a08974535f8ef2f56364 /webAO
parentffa9bf0a6ee5d8188a5ce25d926a2a7666d29777 (diff)
the error code is less useful than the message above
yet people only post the code on discord
Diffstat (limited to 'webAO')
-rw-r--r--webAO/client.html2
-rw-r--r--webAO/styles/client.css5
2 files changed, 5 insertions, 2 deletions
diff --git a/webAO/client.html b/webAO/client.html
index 43a1618..5197bed 100644
--- a/webAO/client.html
+++ b/webAO/client.html
@@ -61,7 +61,7 @@
</div>
<div id="client_error" class="error" style="display: none">
<h1 id="client_errortext">You were disconnected from the server.</h1>
- <p>Code:
+ <p style="color: #a00">Code:
<span id="error_id">(none)</span>
</p>
<button class="client_reconnect" onclick="ReconnectButton()">Reconnect</button>
diff --git a/webAO/styles/client.css b/webAO/styles/client.css
index 8676cdb..019d9b4 100644
--- a/webAO/styles/client.css
+++ b/webAO/styles/client.css
@@ -61,10 +61,13 @@
background: #a00;
color: #fff;
font-size: large;
- animation: error_blink 3s ease-in-out infinite;
z-index: 100;
}
+#client_errortext {
+ animation: error_blink 3s ease-in-out infinite;
+}
+
#client_loading {
display: block;
flex-direction: column;