diff options
Diffstat (limited to 'public/client.html')
| -rw-r--r-- | public/client.html | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/public/client.html b/public/client.html index ef60e15..d6ac1b6 100644 --- a/public/client.html +++ b/public/client.html @@ -131,20 +131,22 @@ <br /><br /> <div id="client_chartable"></div> </div> - <div id="client_error" class="error" style="display: none"> - <h1 id="client_errortext">Connection error.</h1> - <p style="color: #a00"> - Code: - <span id="error_id">(none)</span> + </div> + <div id="client_error_overlay" style="display: none"> + <div id="client_error"> + <div id="client_error_icon">⚠</div> + <h2 id="client_errortext"></h2> + <p id="client_error_code"> + Error code: <span id="error_id">(none)</span> + </p> + <button id="client_reconnect" onclick="ReconnectButton()"> + Reconnect + </button> + <p id="client_error_help"> + Having trouble? + <a href="https://discord.gg/9rYQVVQ" target="_blank">Join us on Discord</a> </p> </div> - <p> - Having trouble? - <a href="https://discord.gg/9rYQVVQ">Join us on Discord</a> - </p> - <button id="client_reconnect" onclick="ReconnectButton()"> - Reconnect - </button> </div> </body> @@ -954,6 +956,11 @@ If you don't agree, disable cookies for this site in your browser.</span > + <br /> + <br /> + <button id="client_disconnect" onclick="DisconnectButton()"> + Disconnect + </button> </span> <!-- About section --> |
