fix: update password input layout for improved consistency

- Adjusted the structure of password input sections in UserAdd.page and UserEdit.page to ensure consistent layout and styling.
- This change continues the effort to enhance visual consistency across the plugin.
This commit is contained in:
Zack Spear
2025-05-23 15:25:02 -07:00
parent 86ee76932e
commit 348ca248b9
2 changed files with 13 additions and 13 deletions

View File

@@ -169,13 +169,13 @@ _(Password)_:
<input type="hidden" name="userPassword" value="">
<input type="password" name="userPasswordGUI" maxlength="129" autocomplete="new-password" onKeyUp="validatePassword(this.value);this.form.cmdUserEdit.disabled=(this.form.userName.value=='' || this.form.userPasswordGUI.value!=this.form.userPasswordConfGUI.value)">
<i id="showPass" class="fa fa-eye" style="cursor:pointer" title="_(Show / Hide password)_" onclick="showPassword()"></i>
</span>
<span>
<span class="usage-disk sys none">
<span id="strength-bar" style="width:0"></span>
<span></span>
<span>
<span class="usage-disk sys none">
<span id="strength-bar" style="width:0"></span>
<span></span>
</span>
<span id="strength-text"></span>
</span>
<span id="strength-text"></span>
</span>
:user_password_help:

View File

@@ -202,7 +202,7 @@ _(Delete)_<input type="checkbox" name="confirmDelete" onChange="chkDelete(this.f
<input type="button" value="_(Done)_" onclick="done('UserEdit')">
</span>
</form>
<br><br>
<form markdown="1" method="POST" action="/update.htm" onsubmit="return checkPassword(this)" target="progressFrame">
<input type="hidden" name="userName" value="<?=htmlspecialchars($name)?>">
@@ -211,13 +211,13 @@ _(Password)_:
<input type="hidden" name="userPassword" value="">
<input type="password" name="userPasswordGUI" maxlength="129" autocomplete="new-password" onKeyUp="validatePassword(this.value);this.form.cmdUserEdit.disabled=(this.form.userPasswordGUI.value != this.form.userPasswordConfGUI.value);">
<i id="showPass" class="fa fa-eye" style="cursor:pointer" title="_(Show / Hide password)_" onclick="showPassword()"></i>
</span>
<span>
<span class="usage-disk sys none">
<span id="strength-bar" style="width:0"></span>
<span></span>
<span>
<span class="usage-disk sys none">
<span id="strength-bar" style="width:0"></span>
<span></span>
</span>
<span id="strength-text"></span>
</span>
<span id="strength-text"></span>
</span>
:user_password_help: