1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-24 10:37:45 +00:00
This commit is contained in:
Adam 2017-10-13 11:37:32 +00:00 committed by GitHub
commit d1bfb5e44e
3 changed files with 17 additions and 17 deletions

View file

@ -21,7 +21,7 @@
try{ try{
var response = readBody(xhr); var response = readBody(xhr);
var parsed = JSON.parse(response); var parsed = JSON.parse(response);
window.external.Boot(parsed.sId, parsed.lobbyHost, parsed.frontierHost); external.boot(parsed.sId, parsed.lobbyHost, parsed.frontierHost);
}catch(err){ }catch(err){
document.getElementById("Error").innerHTML = "User creation failed."; document.getElementById("Error").innerHTML = "User creation failed.";
} }

View file

@ -2,21 +2,21 @@
<html> <html>
<head> <head>
<style> <style>
div.fill-screen { div.fill-screen {
position: fixed; position: fixed;
left: 0; left: 0;
right: 0; right: 0;
top: 0; top: 0;
bottom: 0; bottom: 0;
text-align: center; text-align: center;
} }
img.fit { img.fit {
max-width: 99%; max-width: 100vw;
max-height: 99%; max-height: 100vh;
} }
</style> </style>
<title>Sapphire</title> <title>Sapphire</title>
</head> </head>
<body bgcolor="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF" alink="#666666"> <body bgcolor="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF" alink="#666666">

View file

@ -21,7 +21,7 @@
try{ try{
var response = readBody(xhr); var response = readBody(xhr);
var parsed = JSON.parse(response); var parsed = JSON.parse(response);
window.external.Boot(parsed.sId, parsed.lobbyHost, parsed.frontierHost); external.boot(parsed.sId, parsed.lobbyHost, parsed.frontierHost);
}catch(err){ }catch(err){
document.getElementById("Error").innerHTML = "Login failed."; document.getElementById("Error").innerHTML = "Login failed.";
} }