forked from Ailur/burgernotes-server
burger
This commit is contained in:
parent
614c1fbdbf
commit
e24192f1f5
4
main
4
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")
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue