adds view mode design

This commit is contained in:
2020-05-21 15:38:22 +02:00
parent b0f4e98513
commit 46eece9b98
7 changed files with 65 additions and 6 deletions

View File

@ -39,6 +39,13 @@ def index():
else:
return flask.render_template('login.html')
@app.route("/view")
def view():
if not current_user.is_authenticated:
return flask.render_template('login.html')
else:
return (flask.render_template('view.html'))
@app.route("/calendar")
@login_required
def calendar():