diff --git a/app/app.py b/app/app.py index a20983b..2d04e5d 100644 --- a/app/app.py +++ b/app/app.py @@ -91,6 +91,10 @@ def logout(): session.pop('user_id', None) return redirect('/') +@app.route('/auth/profile/') +def logout(): + return render_template('account.j2', userName='alice') #temporary name + @app.route('/assets/css/index.css') def index_css(): return send_from_directory('static/assets/css', 'index.css') diff --git a/app/templates/account.j2 b/app/templates/account.j2 new file mode 100644 index 0000000..351dddb --- /dev/null +++ b/app/templates/account.j2 @@ -0,0 +1,19 @@ +{% from 'header.j2' import header_login %} +{% from 'imports.j2' import imports_main %} + + + {{ instanceBranding }} - Register + {{ imports_main() }} + + + {{ header_login() }} +
+

+ {{ instanceBranding }} - Account +

+

+ Hello, {{ userName }}! +

+
+ +