diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-03-06 11:00:58 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-03-06 11:00:58 +0100 |
commit | b15c11b93be53d5fd5cfcee9b387b8744d08cff4 (patch) | |
tree | c463a88460212dfe6af955da025e332634339a4b /core | |
parent | 511df0ec99ddc8beb855d8741b3a0dec569bed5e (diff) | |
download | nextcloud-server-b15c11b93be53d5fd5cfcee9b387b8744d08cff4.tar.gz nextcloud-server-b15c11b93be53d5fd5cfcee9b387b8744d08cff4.zip |
Use button instead of simple links
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core')
-rw-r--r-- | core/templates/twofactorselectchallenge.php | 5 | ||||
-rw-r--r-- | core/templates/twofactorshowchallenge.php | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/core/templates/twofactorselectchallenge.php b/core/templates/twofactorselectchallenge.php index 813d1572884..431f4c78c22 100644 --- a/core/templates/twofactorselectchallenge.php +++ b/core/templates/twofactorselectchallenge.php @@ -19,10 +19,9 @@ </ul> </p> <p class="two-factor-link"> - <a <?php print_unescaped($_['logout_attribute']); ?>><?php p($l->t('Cancel log in')) ?></a> + <a class="button" <?php print_unescaped($_['logout_attribute']); ?>><?php p($l->t('Cancel log in')) ?></a> <?php if (!is_null($_['backupProvider'])): ?> - <br> - <a href="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.TwoFactorChallenge.showChallenge', + <a class="button" href="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.TwoFactorChallenge.showChallenge', [ 'challengeProviderId' => $_['backupProvider']->getId(), 'redirect_url' => $_['redirect_url'], diff --git a/core/templates/twofactorshowchallenge.php b/core/templates/twofactorshowchallenge.php index 815406fd899..ec760ead7c7 100644 --- a/core/templates/twofactorshowchallenge.php +++ b/core/templates/twofactorshowchallenge.php @@ -22,10 +22,9 @@ $template = $_['template']; <?php endif; ?> <?php print_unescaped($template); ?> <p class="two-factor-link"> - <a <?php print_unescaped($_['logout_attribute']); ?>><?php p($l->t('Cancel log in')) ?></a> + <a class="button" <?php print_unescaped($_['logout_attribute']); ?>><?php p($l->t('Cancel log in')) ?></a> <?php if (!is_null($_['backupProvider'])): ?> - <br> - <a href="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.TwoFactorChallenge.showChallenge', + <a class="button" href="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.TwoFactorChallenge.showChallenge', [ 'challengeProviderId' => $_['backupProvider']->getId(), 'redirect_url' => $_['redirect_url'], |