From a8f6a99bb3d3dba85705ed7df93145c28168d659 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Fri, 1 Nov 2019 20:51:19 +0800 Subject: englishpal: first commit --- app/templates/login.html | 14 ++++++++++++++ app/templates/signup.html | 17 +++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 app/templates/login.html create mode 100644 app/templates/signup.html (limited to 'app/templates') diff --git a/app/templates/login.html b/app/templates/login.html new file mode 100644 index 0000000..d70b042 --- /dev/null +++ b/app/templates/login.html @@ -0,0 +1,14 @@ +{% block body %} +{% if session['logged_in'] %} + +You're logged in already! + +{% else %} +
+

+

+

+
+{% endif %} +{% endblock %} + diff --git a/app/templates/signup.html b/app/templates/signup.html new file mode 100644 index 0000000..da99673 --- /dev/null +++ b/app/templates/signup.html @@ -0,0 +1,17 @@ +{% block body %} +{% if session['logged_in'] %} + +You're logged in already! Logout. + +{% else %} + +

{{ get_flashed_messages()[0] | safe }}

+ +
+

+

+

+
+{% endif %} +{% endblock %} + -- cgit v1.2.1