From 1502d74973c938c6334f1cddac5425a6e0ed813a Mon Sep 17 00:00:00 2001 From: Burathar Date: Wed, 22 Jul 2020 20:18:37 +0200 Subject: [PATCH] add new files for set and change password --- app/templates/auth/change_password.html | 18 ++++++++++++++++++ app/templates/user_profile.html | 6 ++++++ 2 files changed, 24 insertions(+) create mode 100644 app/templates/auth/change_password.html create mode 100644 app/templates/user_profile.html diff --git a/app/templates/auth/change_password.html b/app/templates/auth/change_password.html new file mode 100644 index 0000000..b085405 --- /dev/null +++ b/app/templates/auth/change_password.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} +{% import 'bootstrap/wtf.html' as wtf %} + +{% block app_content %} +
+
+
+ {% if current_user.password_hash %} +

Change Password

+ {% else %} +

Set Password

+ {% endif %} + {{ wtf.quick_form(form, button_map={'submit': 'primary'}) }} +
+
+
+
+{% endblock %} diff --git a/app/templates/user_profile.html b/app/templates/user_profile.html new file mode 100644 index 0000000..998952c --- /dev/null +++ b/app/templates/user_profile.html @@ -0,0 +1,6 @@ +{% extends 'base.html' %} + +{% block app_content %} +

My Profile

+ +{% endblock %} \ No newline at end of file