From 89b56cf987933871b6d1b05010b1c06501a32d5f Mon Sep 17 00:00:00 2001 From: nyx Date: Thu, 13 Mar 2025 19:15:29 -0500 Subject: [PATCH] start wokf on ancocunr page --- app/app.py | 4 ++++ app/templates/account.j2 | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 app/templates/account.j2 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 }}! +

+
+ +