fixes routing bug and provides temporary fix for css overlap
This commit is contained in:
parent
39b899283c
commit
6374c8d983
@ -185,13 +185,13 @@ def callback():
|
|||||||
# Begin user session by logging the user in
|
# Begin user session by logging the user in
|
||||||
login_user(user)
|
login_user(user)
|
||||||
|
|
||||||
return flask.redirect(flask.url_for('index'))
|
return flask.redirect(flask.url_for('account'))
|
||||||
|
|
||||||
@app.route("/logout")
|
@app.route("/logout")
|
||||||
@login_required
|
@login_required
|
||||||
def logout():
|
def logout():
|
||||||
logout_user()
|
logout_user()
|
||||||
return redirect(url_for("index"))
|
return redirect(url_for("startpage"))
|
||||||
|
|
||||||
|
|
||||||
@app.route("/device/<path:device>/calendarevents.json")
|
@app.route("/device/<path:device>/calendarevents.json")
|
||||||
|
@ -4,6 +4,7 @@ body
|
|||||||
{
|
{
|
||||||
font-family: "Trebuchet MS", Helvetica, sans-serif;
|
font-family: "Trebuchet MS", Helvetica, sans-serif;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
height: calc(100% - 0.5rem)
|
height: calc(100% - 0.5rem)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user