From dc57b89f37bd616e9f57f8ec03558763aec4e9ec Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Fri, 26 Aug 2016 23:20:00 +0200 Subject: reorder 2fa challenge HTML --- core/templates/twofactorshowchallenge.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'core') diff --git a/core/templates/twofactorshowchallenge.php b/core/templates/twofactorshowchallenge.php index c5ee9aca4b4..7a921a41506 100644 --- a/core/templates/twofactorshowchallenge.php +++ b/core/templates/twofactorshowchallenge.php @@ -9,12 +9,12 @@ $provider = $_['provider']; $template = $_['template']; ?> -
- getDisplayName()); ?> +
+

getDisplayName()); ?>

t('Please authenticate using the selected factor.')) ?>

-
- -t('An error occured while verifying the token')); ?> - - + +

t('An error occured while verifying the token')); ?>

+ + + >t('Cancel login')) ?> -- cgit v1.2.3 From c93c5d142ee0185af01536b967839c4b2eff1b48 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Sat, 27 Aug 2016 11:10:36 +0200 Subject: fix 2fa challenge page wording --- core/templates/twofactorselectchallenge.php | 2 +- core/templates/twofactorshowchallenge.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'core') diff --git a/core/templates/twofactorselectchallenge.php b/core/templates/twofactorselectchallenge.php index 4209beac4e6..6a6438ca56a 100644 --- a/core/templates/twofactorselectchallenge.php +++ b/core/templates/twofactorselectchallenge.php @@ -19,4 +19,4 @@ ->t('Cancel login')) ?> +>t('Cancel log in')) ?> diff --git a/core/templates/twofactorshowchallenge.php b/core/templates/twofactorshowchallenge.php index 7a921a41506..7da8f743cbb 100644 --- a/core/templates/twofactorshowchallenge.php +++ b/core/templates/twofactorshowchallenge.php @@ -11,10 +11,9 @@ $template = $_['template'];

getDisplayName()); ?>

-

t('Please authenticate using the selected factor.')) ?>

t('An error occured while verifying the token')); ?>

->t('Cancel login')) ?> +>t('Cancel log in')) ?> -- cgit v1.2.3 From 4a9167315435a37f12b8c47ec3a9d9c81183e321 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Sat, 27 Aug 2016 11:33:15 +0200 Subject: use centered h2 for 2FA page headers --- core/css/styles.css | 4 +++ core/templates/twofactorselectchallenge.php | 42 ++++++++++++++--------------- core/templates/twofactorshowchallenge.php | 2 +- 3 files changed, 26 insertions(+), 22 deletions(-) (limited to 'core') diff --git a/core/css/styles.css b/core/css/styles.css index 428688060b7..38de922ac9d 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -32,6 +32,10 @@ body { background-size: cover; } +.two-factor-header { + text-align: center; +} + .two-factor-provider { text-align: center; width: 100%; diff --git a/core/templates/twofactorselectchallenge.php b/core/templates/twofactorselectchallenge.php index 6a6438ca56a..1c8fcd362e5 100644 --- a/core/templates/twofactorselectchallenge.php +++ b/core/templates/twofactorselectchallenge.php @@ -1,22 +1,22 @@ -
- t('Two-step verification')) ?> -

t('Enhanced security has been enabled for your account. Please authenticate using a second factor.')) ?>

-
-
- -
+
+

t('Two-step verification')) ?>

+

t('Enhanced security has been enabled for your account. Please authenticate using a second factor.')) ?>

+

+

+

+
>t('Cancel log in')) ?> diff --git a/core/templates/twofactorshowchallenge.php b/core/templates/twofactorshowchallenge.php index 7da8f743cbb..713032d923d 100644 --- a/core/templates/twofactorshowchallenge.php +++ b/core/templates/twofactorshowchallenge.php @@ -10,7 +10,7 @@ $template = $_['template']; ?>
-

getDisplayName()); ?>

+

getDisplayName()); ?>

t('An error occured while verifying the token')); ?>

-- cgit v1.2.3 From 78bb02d27ab3c9110b8e63117dc8a25ea0610ca2 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Sat, 27 Aug 2016 12:27:05 +0200 Subject: list 2FA providers as buttons --- core/css/styles.css | 5 ++++- core/templates/twofactorselectchallenge.php | 6 +++--- core/templates/twofactorshowchallenge.php | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) (limited to 'core') diff --git a/core/css/styles.css b/core/css/styles.css index 38de922ac9d..8a8bc852f3e 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -38,8 +38,11 @@ body { .two-factor-provider { text-align: center; - width: 100%; + width: 258px !important; display: inline-block; + margin-bottom: 0 !important; + background-color: rgba(0,0,0,0.3) !important; + border: none !important; } a.two-factor-cancel { diff --git a/core/templates/twofactorselectchallenge.php b/core/templates/twofactorselectchallenge.php index 1c8fcd362e5..1948499e604 100644 --- a/core/templates/twofactorselectchallenge.php +++ b/core/templates/twofactorselectchallenge.php @@ -1,11 +1,11 @@
-

t('Two-step verification')) ?>

-

t('Enhanced security has been enabled for your account. Please authenticate using a second factor.')) ?>

+

t('Two-factor authentication')) ?>

+

t('Enhanced security is enabled for your account. Please authenticate using a second factor.')) ?>

-- cgit v1.2.3