mirror of
https://github.com/unraid/webgui.git
synced 2026-05-12 23:30:01 -05:00
fix: enhance layout consistency in UserAdd.page
- Wrapped input elements in spans for improved visual structure. - This change continues the effort to enhance layout consistency across the plugin.
This commit is contained in:
@@ -156,20 +156,24 @@ _(Description)_:
|
||||
:user_add_description_help:
|
||||
|
||||
_(Custom image)_:
|
||||
: <span id="dropbox"><?=$void?></span><em>_(Drag-n-drop a PNG file or click the image at the left)_</em><input type="file" id="drop" accept="image/png" style="display:none">
|
||||
: <span class="inline-block">
|
||||
<span id="dropbox"><?=$void?></span>
|
||||
<em>_(Drag-n-drop a PNG file or click the image at the left)_</em>
|
||||
<input type="file" id="drop" accept="image/png" style="display:none">
|
||||
</span>
|
||||
|
||||
:user_add_custom_image_help:
|
||||
|
||||
_(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)">
|
||||
: <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 class="usage-disk sys none"><span id="strength-bar" style="width:0"></span><span></span></span><span id="strength-text"></span></span>
|
||||
|
||||
:user_password_help:
|
||||
|
||||
_(Retype password)_:
|
||||
<input type="hidden" name="userPasswordConf" value="">
|
||||
: <input type="password" name="userPasswordConfGUI" maxlength="129" autocomplete="new-password" onKeyUp="this.form.cmdUserEdit.disabled=(this.form.userName.value=='' || this.form.userPasswordGUI.value!=this.form.userPasswordConfGUI.value)">
|
||||
: <input type="hidden" name="userPasswordConf" value="">
|
||||
<input type="password" name="userPasswordConfGUI" maxlength="129" autocomplete="new-password" onKeyUp="this.form.cmdUserEdit.disabled=(this.form.userName.value=='' || this.form.userPasswordGUI.value!=this.form.userPasswordConfGUI.value)">
|
||||
|
||||
|
||||
: <span class="inline-block">
|
||||
|
||||
Reference in New Issue
Block a user