Fix auth flow background color and redirect view layout

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2017-04-25 15:47:08 +02:00 committed by Roeland Jago Douma
parent aae079aa29
commit 61af3f41f0
No known key found for this signature in database
GPG Key ID: F941078878347C0C
2 changed files with 11 additions and 4 deletions

View File

@ -1,5 +1,9 @@
.picker-window { .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; border-radius: 3px;
margin-bottom:20px; cursor: default;
} }

View File

@ -19,13 +19,16 @@
* *
*/ */
script('core', 'login/redirect'); script('core', 'login/redirect');
style('core', 'login/authpicker');
/** @var array $_ */ /** @var array $_ */
/** @var \OCP\IURLGenerator $urlGenerator */ /** @var \OCP\IURLGenerator $urlGenerator */
$urlGenerator = $_['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')) ?>"> <form method="POST" action="<?php p($urlGenerator->linkToRouteAbsolute('core.ClientFlowLogin.generateAppPassword')) ?>">
<input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>" /> <input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>" />