aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/templates
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-08-11 10:15:40 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-08-26 19:49:00 +0200
commitf630bd27f7ff881050a4ca516a96d00c8ba8afb6 (patch)
treea3ab3bbf29b0418059c6a398e9d3dac01852defa /apps/settings/templates
parent68ed1af3c0afd678e6dcb8d49cbfac7ee0e1e5a2 (diff)
downloadnextcloud-server-f630bd27f7ff881050a4ca516a96d00c8ba8afb6.tar.gz
nextcloud-server-f630bd27f7ff881050a4ca516a96d00c8ba8afb6.zip
Adapt to new Nextcloud vue style
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/settings/templates')
-rw-r--r--apps/settings/templates/settings/personal/security/password.php32
1 files changed, 18 insertions, 14 deletions
diff --git a/apps/settings/templates/settings/personal/security/password.php b/apps/settings/templates/settings/personal/security/password.php
index 85959e252cc..2d1f9f27625 100644
--- a/apps/settings/templates/settings/personal/security/password.php
+++ b/apps/settings/templates/settings/personal/security/password.php
@@ -37,25 +37,29 @@ if ($_['passwordChangeSupported']) {
<h2 class="inlineblock"><?php p($l->t('Password'));?></h2>
<span id="password-error-msg" class="msg success hidden">Saved</span>
<div class="personal-settings-setting-box personal-settings-password-box">
- <form id="passwordform" method="POST">
- <label for="pass1" class="hidden-visually"><?php p($l->t('Current password')); ?>: </label>
+ <form id="passwordform" method="POST">
+ <div class="input-control">
+ <label for="pass1"><?php p($l->t('Current password')); ?>: </label>
<input type="password" id="pass1" name="oldpassword"
placeholder="<?php p($l->t('Current password'));?>"
autocomplete="current-password" autocapitalize="none" autocorrect="off" />
+ </div>
- <div class="personal-show-container">
- <label for="pass2" class="hidden-visually"><?php p($l->t('New password'));?>: </label>
- <input type="password" id="pass2" name="newpassword"
- maxlength="469"
- placeholder="<?php p($l->t('New password')); ?>"
- data-typetoggle="#personal-show"
- autocomplete="new-password" autocapitalize="none" autocorrect="off" />
- <input type="checkbox" id="personal-show" class="hidden-visually" name="show" /><label for="personal-show" class="personal-show-label"></label>
- </div>
+ <div class="personal-show-container">
+ <label for="pass2" ><?php p($l->t('New password'));?>: </label>
+ <input type="password" id="pass2" name="newpassword"
+ maxlength="469"
+ placeholder="<?php p($l->t('New password')); ?>"
+ data-typetoggle="#personal-show"
+ autocomplete="new-password" autocapitalize="none" autocorrect="off" />
+ <input type="checkbox" id="personal-show" class="hidden-visually" name="show" />
+ <label for="personal-show" class="personal-show-label"></label>
+ </div>
- <input id="passwordbutton" type="submit" value="<?php p($l->t('Change password')); ?>" />
-
- </form>
+ <div>
+ <input id="passwordbutton" class="primary" type="submit" value="<?php p($l->t('Change password')); ?>" />
+ </div>
+ </form>
</div>
<span class="msg"></span>
</div>