diff --git a/main b/main index 0423095..d6a588b 100644 --- a/main +++ b/main @@ -352,6 +352,10 @@ def listusers(secretkey): def apilogout(): return render_template("logout.html") +@app.errorhandler(500) +def burger(e): + return {}, 500 + # Start server if __name__ == "__main__": print("[INFO] Server started") diff --git a/static/css/style.css b/static/css/style.css index 1a1c22a..7573e21 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -172,7 +172,7 @@ body { .inoutdiv input { width: calc(100% - 20px); - height: 25px; + height: 30px; margin-bottom: 10px; padding-left: 10px; padding-right: 10px; @@ -190,10 +190,10 @@ body { padding-left: 20px; padding-right: 20px; - border: solid; - border-color: rgb(207, 207, 207); - border-width: 1px; + border: none; border-radius: 8px; + + font-size: 14px; } .inoutdiv a { @@ -219,6 +219,7 @@ body { text-decoration: none; background-color: #157efb; border-radius: 8px; + margin-left: 5px; } .mainDiv .feature { diff --git a/static/js/login.js b/static/js/login.js index 4fd9862..c6982dd 100644 --- a/static/js/login.js +++ b/static/js/login.js @@ -82,7 +82,7 @@ signupButton.addEventListener("click", (event) => { showElements(true) } else { - statusBox.innerText = "something went wrong! (error code: " + respStatus + ")" + statusBox.innerText = "something went wrong! (error code: " + response.status + ")" showElements(true) } }