diff options
author | Cara Salter <cara@devcara.com> | 2022-09-21 21:33:40 -0400 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-09-21 21:33:40 -0400 |
commit | f9b99ce66f56995a29709e9bf24750dab9430767 (patch) | |
tree | 3624255932ab500bcfa3043932acd31b23fe86b3 /app/templates/index.html | |
parent | b1ffd5220866dc9479fa284dfb2f0a0e111a6031 (diff) | |
download | nccd-f9b99ce66f56995a29709e9bf24750dab9430767.tar.gz nccd-f9b99ce66f56995a29709e9bf24750dab9430767.zip |
bunch of features
registration, logging out, listing networks, user profiles
Diffstat (limited to 'app/templates/index.html')
-rw-r--r-- | app/templates/index.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/templates/index.html b/app/templates/index.html index 3c69e80..efaf29e 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -1,5 +1,13 @@ {% extends "base.html" %} {% block content %} +{% if current_user.is_authenticated %} +<h1>Hi, {{current_user.pref_name}}!</h1> +{% else %} +<h1>Hello!</h1> +<p>Much of this tool requires authentication. Head on over <a + href="{{url_for('auth.login')}}">here</a> +to login, or <a href="{{url_for('auth.register')}}">here</a> to register. +{% endif %} {% endblock %} |