diff options
| author | sD <stoned@derpymail.org> | 2020-01-05 21:17:59 +0100 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2020-01-05 21:17:59 +0100 |
| commit | b67abc01cf8776ff1e7f9ded66fd786b84638fe2 (patch) | |
| tree | f5f4861a68f57c97f3b672ef000cac03b0fad97b | |
| parent | f05f6664abd1c3c9d98432c549d5c2affe4c6243 (diff) | |
add padding and make the reconnect buttons do the same thing
| -rw-r--r-- | webAO/client.css | 2 | ||||
| -rw-r--r-- | webAO/client.html | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/webAO/client.css b/webAO/client.css index be80855..0f1d32d 100644 --- a/webAO/client.css +++ b/webAO/client.css @@ -42,6 +42,7 @@ img { position: absolute; display: flex; flex-direction: column; + padding: 10px; top: 50%; left: 50%; margin-right: -50%; @@ -59,6 +60,7 @@ img { position: absolute; display: flex; flex-direction: column; + padding: 10px; top: 50%; left: 50%; margin-right: -50%; diff --git a/webAO/client.html b/webAO/client.html index 21660dd..3db5ee7 100644 --- a/webAO/client.html +++ b/webAO/client.html @@ -339,7 +339,7 @@ <div id="here"></div> <div id="client_loading"> <h1 id="client_loadingtext">Loading</h1> - <button onclick="RetryButton()">RETRY</button> + <button class="client_reconnect" onclick="ReconnectButton()">Reconnect</button> </div> <div id="client_charselect"> <div id="client_chartable_container"> @@ -348,11 +348,11 @@ </div> </div> <div id="client_error" class="error" style="display: none"> - <p>You were disconnected from the server.</p> + <h1 id="client_errortext">You were disconnected from the server.</h1> <p>Code: <span id="error_id">(none)</span> </p> - <button onclick="ReconnectButton()">Reconnect</button> + <button class="client_reconnect" onclick="ReconnectButton()">Reconnect</button> </div> </body> |
