From ebef8e0e73ea69191545c309bb3f0b602dcc93ca Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 9 Apr 2019 15:44:19 -0700 Subject: resyle login views --- python/fatcat_web/templates/auth_ia_login.html | 34 +++++--- python/fatcat_web/templates/auth_login.html | 105 +++++++++++++++++++++---- 2 files changed, 111 insertions(+), 28 deletions(-) (limited to 'python/fatcat_web/templates') diff --git a/python/fatcat_web/templates/auth_ia_login.html b/python/fatcat_web/templates/auth_ia_login.html index ebf08021..8e1e3026 100644 --- a/python/fatcat_web/templates/auth_ia_login.html +++ b/python/fatcat_web/templates/auth_ia_login.html @@ -1,12 +1,10 @@ {% extends "base.html" %} -{% block body %} -

Login with Internet Archive account

-

Warning: still experimental! +{% block fullbody %} +

+
-
-
-
+

Login via Internet Archive

{% if current_user.is_authenticated %}
@@ -14,18 +12,28 @@

You should logout first. Re-authenticating would be undefined behavior.

{% else %} + +

Use your archive.org username (or email) + and password to log in to Fatcat. +

-
- -
-
- - -
+
+ +
+
+
+ + +
+
+
{% endif %} +
+
+ {% endblock %} diff --git a/python/fatcat_web/templates/auth_login.html b/python/fatcat_web/templates/auth_login.html index 9ccae816..bcb11680 100644 --- a/python/fatcat_web/templates/auth_login.html +++ b/python/fatcat_web/templates/auth_login.html @@ -1,18 +1,93 @@ {% extends "base.html" %} -{% block body %} -

Login

- -

via OAuth / OpenID Connect: -

- -

Other options... -

+{% block fullbody %} +
+
+ +

Login / Signup

+ +

Select a provider below to create a Fatcat editor account or log back in. +Note that currently editor accounts are locked 1-to-1 with external identities. + +

Before creating an account, please review our +Norms and Policies. + +
+ +

+ + + +
+

+ +
+ ORCiD +
via OpenID Connect
+
+

+
+
+ + +
+

+ +
+ Wikipedia +
via OpenID Connect
+
+

+
+
+ + +
+

+ +
+ Gitlab +
via OpenID Connect
+
+

+
+
+ + +
+

+ +
+ Google +
via OpenID Connect
+
+

+
+
+ +{# alternative style +
+ +#} + +
+

Operators can also authenticate directly using +an auth token. +

If you have problems getting logged in, please +contact us. + +

+
{% endblock %} -- cgit v1.2.3