aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-04-25 15:47:08 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-04-25 20:18:49 +0200
commit61af3f41f028103be677e0363cebf13bd6b582ea (patch)
tree679327d700c136ee8f67aa31f17ef00832e16b53
parentaae079aa292f70ec7025286260e8b9248daf94bc (diff)
downloadnextcloud-server-61af3f41f028103be677e0363cebf13bd6b582ea.tar.gz
nextcloud-server-61af3f41f028103be677e0363cebf13bd6b582ea.zip
Fix auth flow background color and redirect view layout
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
-rw-r--r--core/css/login/authpicker.css10
-rw-r--r--core/templates/loginflow/redirect.php5
2 files changed, 11 insertions, 4 deletions
diff --git a/core/css/login/authpicker.css b/core/css/login/authpicker.css
index d0f32173d25..85016ee6a0e 100644
--- a/core/css/login/authpicker.css
+++ b/core/css/login/authpicker.css
@@ -1,5 +1,9 @@
.picker-window {
- background: rgba(255,255,255,0.3);
+ display: block;
+ padding: 10px;
+ margin-bottom: 20px;
+ background-color: rgba(0,0,0,.3);
+ color: #fff;
border-radius: 3px;
- margin-bottom:20px;
-} \ No newline at end of file
+ cursor: default;
+}
diff --git a/core/templates/loginflow/redirect.php b/core/templates/loginflow/redirect.php
index 9e51d1fcb26..7ef0184f61f 100644
--- a/core/templates/loginflow/redirect.php
+++ b/core/templates/loginflow/redirect.php
@@ -19,13 +19,16 @@
*
*/
script('core', 'login/redirect');
+style('core', 'login/authpicker');
/** @var array $_ */
/** @var \OCP\IURLGenerator $urlGenerator */
$urlGenerator = $_['urlGenerator'];
?>
-<?php p($l->t('Redirecting…')) ?>
+<div class="picker-window">
+ <p class="info"><?php p($l->t('Redirecting …')) ?></p>
+</div>
<form method="POST" action="<?php p($urlGenerator->linkToRouteAbsolute('core.ClientFlowLogin.generateAppPassword')) ?>">
<input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>" />