This commit is contained in:
maaa 2023-08-03 21:33:02 +02:00
parent 614c1fbdbf
commit e24192f1f5
3 changed files with 10 additions and 5 deletions

4
main
View File

@ -352,6 +352,10 @@ def listusers(secretkey):
def apilogout(): def apilogout():
return render_template("logout.html") return render_template("logout.html")
@app.errorhandler(500)
def burger(e):
return {}, 500
# Start server # Start server
if __name__ == "__main__": if __name__ == "__main__":
print("[INFO] Server started") print("[INFO] Server started")

View File

@ -172,7 +172,7 @@ body {
.inoutdiv input { .inoutdiv input {
width: calc(100% - 20px); width: calc(100% - 20px);
height: 25px; height: 30px;
margin-bottom: 10px; margin-bottom: 10px;
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
@ -190,10 +190,10 @@ body {
padding-left: 20px; padding-left: 20px;
padding-right: 20px; padding-right: 20px;
border: solid; border: none;
border-color: rgb(207, 207, 207);
border-width: 1px;
border-radius: 8px; border-radius: 8px;
font-size: 14px;
} }
.inoutdiv a { .inoutdiv a {
@ -219,6 +219,7 @@ body {
text-decoration: none; text-decoration: none;
background-color: #157efb; background-color: #157efb;
border-radius: 8px; border-radius: 8px;
margin-left: 5px;
} }
.mainDiv .feature { .mainDiv .feature {

View File

@ -82,7 +82,7 @@ signupButton.addEventListener("click", (event) => {
showElements(true) showElements(true)
} }
else { else {
statusBox.innerText = "something went wrong! (error code: " + respStatus + ")" statusBox.innerText = "something went wrong! (error code: " + response.status + ")"
showElements(true) showElements(true)
} }
} }