From efe8a51c5fdf6e8e243ae41590df2c132b7ef89a Mon Sep 17 00:00:00 2001 From: Arzumify Date: Wed, 28 Feb 2024 13:15:54 +0000 Subject: [PATCH] Updated with login screen --- website/privacy/index.html | 2 +- website/signup/index.html | 6 +++--- website/static/css/style.css | 6 +++--- website/static/js/main.js | 8 ++++++-- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/website/privacy/index.html b/website/privacy/index.html index 79c493d..8a139d4 100644 --- a/website/privacy/index.html +++ b/website/privacy/index.html @@ -69,7 +69,7 @@ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.


- +

diff --git a/website/signup/index.html b/website/signup/index.html index f2528eb..2d99ebd 100644 --- a/website/signup/index.html +++ b/website/signup/index.html @@ -17,11 +17,11 @@

Signup for a Burgernotes account

- +


Please note that it's impossible to reset your password, do not forget it!

-

Already have an account? If so, Login instead!

- Privacy & Terms + By signing up, you agree to our Privacy & Terms.

+

Already have an account? If so, Login instead!


diff --git a/website/static/css/style.css b/website/static/css/style.css index 1eb19c1..832cbb6 100644 --- a/website/static/css/style.css +++ b/website/static/css/style.css @@ -170,7 +170,7 @@ body { filter: invert(var(--invertdm)); padding-left: 17.5px; padding-right: 17.5px; - background-image: url("../static/svg/delete.svg"); + background-image: url("../../static/svg/delete.svg"); background-position: center; background-repeat: no-repeat; background-size: 55%; @@ -261,8 +261,8 @@ body { overflow-y: scroll; } -.notesBar .noteButton { - width: calc(100% - 5px - 5px); +.notesBar .noteButton, .notesBar .loadingStuff { + width: calc(100% - 7px - 7px - 3.5px); height: 35px; line-height: 0px; padding: 10px; diff --git a/website/static/js/main.js b/website/static/js/main.js index 2da1223..0cf630f 100644 --- a/website/static/js/main.js +++ b/website/static/js/main.js @@ -206,7 +206,11 @@ function updateUserInfo() { "Content-Type": "application/json; charset=UTF-8" } }) - .then((response) => response) + .catch((error) => { + noteBox.readOnly = true + noteBox.value = "" + noteBox.placeholder = "Failed to connect to the server.\nPlease check your internet connection." + }) .then((response) => { async function doStuff() { if (response.status == 500) { @@ -302,7 +306,7 @@ sessionManagerButton.addEventListener("click", (event) => { if (ua.includes("NT") || ua.includes("Linux")) { sessionImage.src = "/static/svg/device_computer.svg" } - if (ua.includes("iPhone" || ua.includes("Android") || ua.include ("iPod"))) { + if (ua.includes("iPhone" || ua.includes("Android") || ua.include("iPod"))) { sessionImage.src = "/static/svg/device_smartphone.svg" }