diff --git a/config.js b/config.js new file mode 100644 index 0000000..b6dca06 --- /dev/null +++ b/config.js @@ -0,0 +1,4 @@ +// note: this is just the default config +const CONFIG = { + API_BASE_URL: "http://127.0.0.1:5000" +}; \ No newline at end of file diff --git a/users/auth/splatfestival/index.html b/users/auth/splatfestival/index.html index e900f7f..1235471 100644 --- a/users/auth/splatfestival/index.html +++ b/users/auth/splatfestival/index.html @@ -1,7 +1,5 @@ - - - + @@ -14,7 +12,9 @@ Sign In to Splatfestival Network + + @@ -24,7 +24,6 @@

NINTENDO NETWORK

- -
-
+

Sign In

Please sign in with a Splatfestival Network ID to proceed.

- -
-
-
- -
- - -
-

Forgot your password?

-
- - - + \ No newline at end of file diff --git a/users/auth/splatfestival/splatfestivalyay.js b/users/auth/splatfestival/splatfestivalyay.js new file mode 100644 index 0000000..19a336c --- /dev/null +++ b/users/auth/splatfestival/splatfestivalyay.js @@ -0,0 +1,17 @@ +window.onload = function() { + const urlParams = new URLSearchParams(window.location.search); + + if (urlParams.has('error')) { + const errorContainer = document.getElementById("auth-error"); + if (errorContainer) { + errorContainer.textContent = "Invalid SFID or Password"; + errorContainer.style.display = "block"; // Show the red text + } + + //user convenience.....grrr + const userField = document.getElementsByName("username")[0]; + if (userField && urlParams.has('username')) { + userField.value = urlParams.get('username'); + } + } +} \ No newline at end of file