start wokf on ancocunr page
This commit is contained in:
parent
5410c8bcd3
commit
89b56cf987
2 changed files with 23 additions and 0 deletions
|
@ -91,6 +91,10 @@ def logout():
|
||||||
session.pop('user_id', None)
|
session.pop('user_id', None)
|
||||||
return redirect('/')
|
return redirect('/')
|
||||||
|
|
||||||
|
@app.route('/auth/profile/')
|
||||||
|
def logout():
|
||||||
|
return render_template('account.j2', userName='alice') #temporary name
|
||||||
|
|
||||||
@app.route('/assets/css/index.css')
|
@app.route('/assets/css/index.css')
|
||||||
def index_css():
|
def index_css():
|
||||||
return send_from_directory('static/assets/css', 'index.css')
|
return send_from_directory('static/assets/css', 'index.css')
|
||||||
|
|
19
app/templates/account.j2
Normal file
19
app/templates/account.j2
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{% from 'header.j2' import header_login %}
|
||||||
|
{% from 'imports.j2' import imports_main %}
|
||||||
|
<html lang=en>
|
||||||
|
<head>
|
||||||
|
<title>{{ instanceBranding }} - Register</title>
|
||||||
|
{{ imports_main() }}
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{{ header_login() }}
|
||||||
|
<div style="text-align:center">
|
||||||
|
<h1>
|
||||||
|
{{ instanceBranding }} - Account
|
||||||
|
</h1>
|
||||||
|
<h3>
|
||||||
|
Hello, {{ userName }}!
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Add table
Reference in a new issue