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():
return render_template("logout.html")
@app.errorhandler(500)
def burger(e):
return {}, 500
# Start server
if __name__ == "__main__":
print("[INFO] Server started")

View File

@ -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 {

View File

@ -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)
}
}