summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-04-26 13:20:10 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-04-28 23:41:36 -0300
commit08a33cc4751eebc4fc1384187677efac3ac6b1d0 (patch)
tree3e0bc98743229a896669732dacfe6a3873ff8719 /settings/templates
parent17ad8120fd48c70daab1c05b02cce57bd47ac72d (diff)
downloadnextcloud-server-08a33cc4751eebc4fc1384187677efac3ac6b1d0.tar.gz
nextcloud-server-08a33cc4751eebc4fc1384187677efac3ac6b1d0.zip
Fix styling of verification box to popover
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/personal.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index cc30acfa025..919fd13efe6 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -8,13 +8,12 @@
/** @var \OCP\Defaults $theme */
?>
-<div id="verification-dialog">
+<div id="verification-dialog" class="popovermenu bubble menu hidden">
<!-- dialog used to verify personal information such as the users website, email address, etc -->
<div class="verification-dialog-content">
- <button id="verify-dialog-close" class="icon-close svg"></button>
- <span class="explainVerification">How to verify your account details</span><br />
- <span class="verificationCode">verification code</span>
+ <p class="explainVerification">How to verify your account details</p>
+ <p class="verificationCode">Verification code</p>
<p>It can take up to 24 hours before the account is displayed as verified.</p>
</div>
@@ -111,11 +110,11 @@
<label for="email"><?php p($l->t('Email')); ?></label>
<span class="icon-password"/>
</h2>
- <span class="verify">
- <img id="verify-email" <?php
+ <div class="verify">
+ <img id="verify-email" class="verify-action" <?php
switch($_['emailVerification']) {
case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS:
- print_unescaped('src="' . image_path('core', 'actions/verifying.svg') . '" title="Verifying..."');
+ print_unescaped('src="' . image_path('core', 'actions/verifying.svg') . '" title="Verifying …"');
break;
case \OC\Accounts\AccountManager::VERIFIED:
print_unescaped('src="' . image_path('core', 'actions/verified.svg') . '" title="Verified"');
@@ -124,7 +123,7 @@
print_unescaped('src="' . image_path('core', 'actions/verify.svg') . '" title="Verify"');
}
?>>
- </span>
+ </div>
<input type="email" name="email" id="email" value="<?php p($_['email']); ?>"
<?php if(!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?>
placeholder="<?php p($l->t('Your email address')); ?>"
@@ -177,11 +176,11 @@
<label for="website"><?php p($l->t('Website')); ?></label>
<span class="icon-password"/>
</h2>
- <span class="verify">
+ <div class="verify">
<img id="verify-website" <?php
switch($_['websiteVerification']) {
case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS:
- print_unescaped('src="' . image_path('core', 'actions/verifying.svg') . '" title="Verifying..."');
+ print_unescaped('src="' . image_path('core', 'actions/verifying.svg') . '" title="Verifying …"');
break;
case \OC\Accounts\AccountManager::VERIFIED:
print_unescaped('src="' . image_path('core', 'actions/verified.svg') . '" title="Verified"');
@@ -190,7 +189,7 @@
print_unescaped('src="' . image_path('core', 'actions/verify.svg') . '" title="Verify" class="verify-action"');
}
?>>
- </span>
+ </div>
<input type="text" name="website" id="website" value="<?php p($_['website']); ?>"
placeholder="<?php p($l->t('Your website')); ?>"
autocomplete="on" autocapitalize="none" autocorrect="off" />
@@ -204,11 +203,11 @@
<label for="twitter"><?php p($l->t('Twitter')); ?></label>
<span class="icon-password"/>
</h2>
- <span class="verify">
+ <div class="verify">
<img id="verify-twitter" <?php
switch($_['twitterVerification']) {
case \OC\Accounts\AccountManager::VERIFICATION_IN_PROGRESS:
- print_unescaped('src="' . image_path('core', 'actions/verifying.svg') . '" title="Verifying..."');
+ print_unescaped('src="' . image_path('core', 'actions/verifying.svg') . '" title="Verifying …"');
break;
case \OC\Accounts\AccountManager::VERIFIED:
print_unescaped('src="' . image_path('core', 'actions/verified.svg') . '" title="Verified"');
@@ -217,6 +216,7 @@
print_unescaped('src="' . image_path('core', 'actions/verify.svg') . '" title="Verify" class="verify-action"');
}
?>>
+ </div>
<input type="text" name="twitter" id="twitter" value="<?php p($_['twitter']); ?>"
placeholder="<?php p($l->t('Your Twitter handle')); ?>"
autocomplete="on" autocapitalize="none" autocorrect="off" />