From f24dcae19fab7155e22a1776c6aaf052cefc654d Mon Sep 17 00:00:00 2001 From: chopster44 Date: Mon, 17 Jul 2023 20:14:00 +0100 Subject: [PATCH] Started main page ui --- frontend/index.css | 5 +++++ frontend/index.html | 11 ++++++++++- frontend/index.js | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/frontend/index.css b/frontend/index.css index 48b673c..2736ee1 100644 --- a/frontend/index.css +++ b/frontend/index.css @@ -1,3 +1,8 @@ .loginSpacer { height: 33%; +} + +#menu { + width: 100%; + padding: 5%; } \ No newline at end of file diff --git a/frontend/index.html b/frontend/index.html index a226a8a..a672499 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -25,7 +25,16 @@
\ No newline at end of file diff --git a/frontend/index.js b/frontend/index.js index 1568a75..4db2d55 100644 --- a/frontend/index.js +++ b/frontend/index.js @@ -16,7 +16,7 @@ async function login() { }); // if failed red button // else switch screen - if (response.status != 200) { + if (response.status !== 200) { document.getElementById("loginSubmit").classList.add("error"); } else { // switch screen