Minor layout fixups
This commit is contained in:
parent
cbe6b9b29b
commit
69078236c6
@ -18,10 +18,11 @@
|
||||
<link rel="stylesheet" href="xterm.css" />
|
||||
<meta name="RATING" content="RTA-5042-1996-1400-1577-RTA" />
|
||||
</head>
|
||||
<body style="background: black; height: 100%">
|
||||
<body style="background: black; height: 100%; width: 100%; position: fixed; border: 0px; margin: 0px; padding: 0px;">
|
||||
<div style="background: black; color: white; display: flex; flex-direction: column; margin: 0px; height: 100%; width: 100%">
|
||||
<h1 style="text-align: center">Play Blastmud</h1>
|
||||
<div id="console" style="min-height: 40pt; flex: 1"> </div>
|
||||
<div style="min-height: 15pt"></div>
|
||||
</div>
|
||||
<div id="notyet" style="position: absolute; top: 0; left: 0; background: rgba(80,80,80,0.8); width: 100%; height: 100%">
|
||||
<div style="display: block; padding: 10px; background: white; width: 80%; margin-left: auto; margin-right: auto; margin-top: 10%; border-radius: 10px;">
|
||||
|
@ -31,7 +31,7 @@ const params: {[key:string]: string} =
|
||||
function connectTerm() {
|
||||
lineHandler = () => {};
|
||||
term.writeln("\x1b[0mConnecting to server...");
|
||||
const wsurl = (window.localStorage['allow_wsurl'] !== true || params.wsurl === undefined) ?
|
||||
const wsurl = (window.localStorage['allow_wsurl'] !== "true" || params.wsurl === undefined) ?
|
||||
"wss://ws.blastmud.org/wsgame" : params.wsurl;
|
||||
let webSocket = new WebSocket(wsurl);
|
||||
webSocket.addEventListener('open', (event) => {
|
||||
|
Loading…
Reference in New Issue
Block a user