From e4e75554fb0842342fc4e5b1a1e2676156b922f6 Mon Sep 17 00:00:00 2001 From: NotAdam Date: Fri, 13 Oct 2017 22:09:45 +1100 Subject: [PATCH 1/3] binding changes for the new libcef launcher --- bin/web/createUser.html | 2 +- bin/web/login.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/web/createUser.html b/bin/web/createUser.html index 9666e35f..18ca8787 100644 --- a/bin/web/createUser.html +++ b/bin/web/createUser.html @@ -21,7 +21,7 @@ try{ var response = readBody(xhr); var parsed = JSON.parse(response); - window.external.Boot(parsed.sId, parsed.lobbyHost, parsed.frontierHost); + external.boot(parsed.sId, parsed.lobbyHost, parsed.frontierHost); }catch(err){ document.getElementById("Error").innerHTML = "User creation failed."; } diff --git a/bin/web/login.html b/bin/web/login.html index 97f15031..eb8c3bf2 100644 --- a/bin/web/login.html +++ b/bin/web/login.html @@ -21,7 +21,7 @@ try{ var response = readBody(xhr); var parsed = JSON.parse(response); - window.external.Boot(parsed.sId, parsed.lobbyHost, parsed.frontierHost); + external.boot(parsed.sId, parsed.lobbyHost, parsed.frontierHost); }catch(err){ document.getElementById("Error").innerHTML = "Login failed."; } From e41443b2f554b762d5e43a12208c64bc3f0990c8 Mon Sep 17 00:00:00 2001 From: NotAdam Date: Fri, 13 Oct 2017 22:10:01 +1100 Subject: [PATCH 2/3] minor icon appearance change --- bin/web/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/web/index.html b/bin/web/index.html index dd3231e5..f64c886c 100644 --- a/bin/web/index.html +++ b/bin/web/index.html @@ -12,8 +12,8 @@ text-align: center; } img.fit { - max-width: 99%; - max-height: 99%; + max-width: 100vw; + max-height: 100vh; } Sapphire From 49f3f2369bfae35532397c748fe3c7b2ff48755f Mon Sep 17 00:00:00 2001 From: NotAdam Date: Fri, 13 Oct 2017 22:24:29 +1100 Subject: [PATCH 3/3] fix tab/space consistency --- bin/web/index.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/bin/web/index.html b/bin/web/index.html index f64c886c..c0a333f4 100644 --- a/bin/web/index.html +++ b/bin/web/index.html @@ -2,21 +2,21 @@ - - Sapphire + + Sapphire