From 4a9167315435a37f12b8c47ec3a9d9c81183e321 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Sat, 27 Aug 2016 11:33:15 +0200 Subject: [PATCH] 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(-) 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')); ?>

-- 2.39.5