diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-19 16:04:44 +0000 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-19 16:04:44 +0000 |
| commit | 5d8b44f847f259c7c01e5908d056f2337636cff5 (patch) | |
| tree | 02e4c624b44aaab05d3ffc44f396c247b48a5628 /app | |
| parent | visuals (diff) | |
| download | AnnotateChange-5d8b44f847f259c7c01e5908d056f2337636cff5.tar.gz AnnotateChange-5d8b44f847f259c7c01e5908d056f2337636cff5.zip | |
Make landing page make more sense
Diffstat (limited to 'app')
| -rw-r--r-- | app/main/routes.py | 1 | ||||
| -rw-r--r-- | app/templates/index.html | 14 |
2 files changed, 13 insertions, 2 deletions
diff --git a/app/main/routes.py b/app/main/routes.py index 5d14fc6..e69282c 100644 --- a/app/main/routes.py +++ b/app/main/routes.py @@ -7,6 +7,5 @@ from app.main import bp @bp.route("/") @bp.route("/index") -@login_required def index(): return render_template("index.html", title="Home") diff --git a/app/templates/index.html b/app/templates/index.html index 7c6793a..8ac96eb 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -1,5 +1,17 @@ {% extends "base.html" %} {% block app_content %} -<h1>Hi, {{ current_user.username }}!</h1> +{% if current_user.is_authenticated %} +<span>Hi, {{ current_user.username }}!</span> +{% else %} +<article> + <div> + Welcome to <i>AnnotateChange</i> a tool for annotating time + series data for changepoint analysis. + <br> + <br> + Please log in or register to get started. + </div> +</article> +{% endif %} {% endblock %} |
