mirror of
https://github.com/unraid/webgui.git
synced 2026-01-06 01:29:54 -06:00
fix: enhance layout consistency in DiskSettings.page
- Updated password input fields to use flex containers for improved alignment with the show passphrase checkbox. - This change continues the effort to enhance visual consistency across the plugin.
This commit is contained in:
@@ -291,9 +291,14 @@ _(Existing encryption key)_:
|
||||
<?if (!$keyfile):?>
|
||||
<div markdown="1" id="oldtext">
|
||||
_(Enter existing passphrase)_:
|
||||
: <input type="password" name="oldtext" class="lock" maxlength="512" value="" autocomplete="off" spellcheck="false"><input name="showPass" type="checkbox" class="lock" onchange="showInput(this.checked,true)">_(show passphrase)_
|
||||
: <div class="flex flex-row items-center gap-2">
|
||||
<input type="password" name="oldtext" class="lock" maxlength="512" value="" autocomplete="off" spellcheck="false">
|
||||
<label for="showPass">
|
||||
<input name="showPass" type="checkbox" class="lock" onchange="showInput(this.checked,true)">
|
||||
_(show passphrase)_
|
||||
</label>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div markdown="1" id="oldfile" style="display:none">
|
||||
_(Select existing keyfile)_:
|
||||
: <input type="file" name="oldfile" class="lock" onchange="getFileContent(event,this.form,'olddata')">
|
||||
@@ -309,7 +314,13 @@ _(Change encryption key)_:
|
||||
|
||||
<div markdown="1" id="newtext">
|
||||
_(Type new passphrase)_:
|
||||
: <input type="password" name="newtext" class="lock" maxlength="512" value="" autocomplete="off" spellcheck="false" onkeyup="checkInput(this.form)" placeholder="_(use printable characters only)_"><input name="showPass" type="checkbox" class="lock" onchange="showInput(this.checked,false)">_(show passphrase)_
|
||||
: <div class="flex flex-row items-center gap-2">
|
||||
<input type="password" name="newtext" class="lock" maxlength="512" value="" autocomplete="off" spellcheck="false" onkeyup="checkInput(this.form)" placeholder="_(use printable characters only)_">
|
||||
<label for="showPass">
|
||||
<input name="showPass" type="checkbox" class="lock" onchange="showInput(this.checked,false)">
|
||||
_(show passphrase)_
|
||||
</label>
|
||||
</div>
|
||||
|
||||
_(Retype new passphrase)_:
|
||||
: <input type="password" name="newcopy" class="lock" maxlength="512" value="" autocomplete="off" spellcheck="false" onkeyup="checkInput(this.form)">
|
||||
|
||||
Reference in New Issue
Block a user