webui: password webmode as a panel

This commit is contained in:
Maxim Prokhorov
2024-07-12 19:00:06 +03:00
parent ed26dbda8b
commit 72fbdc2425
7 changed files with 214 additions and 149 deletions

View File

@@ -19,26 +19,11 @@
</fieldset>
<fieldset>
<legend>Access</legend>
<legend>Security</legend>
<div class="pure-control-group">
<label>Admin password</label>
<input name="adminPass0" placeholder="New password" data-settings-real-name="adminPass" minlength="8" maxlength="63" type="password" data-action="reboot" autocomplete="new-password" spellcheck="false">
<span class="no-select password-reveal"></span>
<button type="button" class="pure-button button-settings-password pure-input-1">Change Admin Password</button>
</div>
<div class="pure-control-group">
<label>Repeat password</label>
<input name="adminPass1" placeholder="Repeat password" data-settings-real-name="adminPass" minlength="8" maxlength="63" type="password" data-action="reboot" autocomplete="new-password" spellcheck="false">
<span class="no-select password-reveal"></span>
</div>
<div class="pure-control-group">
<span class="pure-form-message">
The administrator password is used to access this web interface (user 'admin'), but also to connect to the device when in AP mode or to flash a new firmware over-the-air (OTA).<br>
It must be <strong>8..63 characters</strong> (numbers and letters and any of these special characters: _,.;:~!?@#$%^&amp;*&lt;&gt;\|(){}[]) and have at least <strong>one lowercase</strong> and <strong>one uppercase</strong> or <strong>one number</strong>.</span>
</div>
</fieldset>
<fieldset>