From ed0c3e9914e72d5c42f111f1b8b94edd53d64a06 Mon Sep 17 00:00:00 2001 From: Elijah Bansley Date: Sun, 20 May 2018 18:53:05 -0500 Subject: [PATCH 1/8] Update index.html --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index c85a7a2..e5eaec7 100644 --- a/index.html +++ b/index.html @@ -74,7 +74,7 @@ @@ -150,6 +150,7 @@

Source can be found on GitHub (or by hitting view source, there is no backend!).

Ported from fusee-launcher.

Thanks to ktemkin and ReSwitched, as well as
Atlas44 and his website as a beginning point for this one.

+

Lastly, thanks to falquinho for the new bootstrap layout and portuguese translation, and Filo97 for the italian translation.

From 8db3c66d5738167fd45d3356df8e3ae31bcc3501 Mon Sep 17 00:00:00 2001 From: Elijah Bansley Date: Sun, 20 May 2018 22:01:13 -0500 Subject: [PATCH 2/8] Update main.js --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index f6fef00..e304bea 100644 --- a/main.js +++ b/main.js @@ -203,4 +203,4 @@ function openInstructions() { } -document.getElementById("payloadUpload").addEventListener("change", () => document.forms.mainForm.payload.value = "uploaded"); +document.getElementById("payloadUpload").addEventListener("change", () => document.getElementById("payloadSelect").value = "uploaded"); From 88323142c7a21a52367113abd8a3b2d02ac44d8d Mon Sep 17 00:00:00 2001 From: Elijah Bansley Date: Sun, 20 May 2018 22:05:48 -0500 Subject: [PATCH 3/8] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index e5eaec7..b8b22f1 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ - Switch Payload Loader v1.2 + Switch Payload Loader v1.3 From 90c7ee86d19796c288fcdbda3a81a6cfbcba5a73 Mon Sep 17 00:00:00 2001 From: Elijah Bansley Date: Sun, 20 May 2018 22:17:39 -0500 Subject: [PATCH 4/8] uploading payloads were broke, this might fix it --- main.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/main.js b/main.js index e304bea..bd8d8df 100644 --- a/main.js +++ b/main.js @@ -201,6 +201,3 @@ function openInstructions() { document.getElementById("infodiv").innerHTML = ""; } } - - -document.getElementById("payloadUpload").addEventListener("change", () => document.getElementById("payloadSelect").value = "uploaded"); From 9fb12432de94c8f433a3b700b5c947956e1c40d3 Mon Sep 17 00:00:00 2001 From: Elijah Bansley Date: Sun, 20 May 2018 22:30:26 -0500 Subject: [PATCH 5/8] debugging --- main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/main.js b/main.js index bd8d8df..3557491 100644 --- a/main.js +++ b/main.js @@ -152,6 +152,7 @@ document.getElementById("goButton").addEventListener("click", async () => { alert("You need to upload a file, to use an uploaded file."); return; } + logOutput("Using uploaded payload \"" + file + "\""); payload = new Uint8Array(await readFileAsArrayBuffer(file)); } else { logOutput("You're trying to load a payload type that doesn't exist."); From 49a309ad648973cf81e39a470e5e6b5edbe28269 Mon Sep 17 00:00:00 2001 From: Elijah Bansley Date: Sun, 20 May 2018 22:38:41 -0500 Subject: [PATCH 6/8] Update index.html --- index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.html b/index.html index b8b22f1..bad8348 100644 --- a/index.html +++ b/index.html @@ -39,6 +39,10 @@
+ +