From 204a308be0f741726b9a620d88fbc22b22124c81 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 29 Dec 2023 18:55:37 +0000 Subject: Namespace all modules under gn2. We move all modules under a gn2 directory. This is important for "correct" packaging and deployment as a Guix service. --- gn2/wqflask/templates/new_security/login_user.html | 119 +++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 gn2/wqflask/templates/new_security/login_user.html (limited to 'gn2/wqflask/templates/new_security/login_user.html') diff --git a/gn2/wqflask/templates/new_security/login_user.html b/gn2/wqflask/templates/new_security/login_user.html new file mode 100644 index 00000000..b8cdf6ef --- /dev/null +++ b/gn2/wqflask/templates/new_security/login_user.html @@ -0,0 +1,119 @@ +{% extends "base.html" %} +{% block title %}Register{% endblock %} +{% block content %} + +
+ + {{ flash_me() }} + +

Sign in here.

+ + {% if redis_is_available: %} +
+ +
+
+ +
+ +
+
+ +
+ + +
+ +
+ +
+ Remember me
+ Import existing collections +
+
+ +
+ +
+ + +
+
+
+ +
+ +

Don't have an account?

+ + {% if redis_is_available: %} + Create a new account + {% else %} +
+

You cannot create an account at this moment.
+ Please try again later.

+
+ {% endif %} + +
+

Login with external services

+ + {% if external_login: %} +
+ {% if external_login["github"]: %} + Login with Github + {% else %} +

Github login is not available right now

+ {% endif %} + + {% if external_login["orcid"]: %} + Login with ORCID + {% else %} +

ORCID login is not available right now

+ {% endif %} +
+ {% else: %} +
+

Sorry, you cannot login with Github or ORCID at this time.

+
+ {% endif %} + + + {% else: %} +
+

You cannot login at this moment using your GeneNetwork account (the authentication service is down).
+ Please try again later.

+
+ {% endif %} + {% if not external_login: %} +
+
+ Note: it is safe to use GeneNetwork without a login. Login is only required for keeping track of + collections and getting access to some types of restricted data. +
+ {% endif %} +
+
+ + {% endblock %} + +{% block css %} + +{% endblock %} + +{% block js %} + +{% endblock %} -- cgit v1.2.3