Files
richard-churchman 39b4230a84 Enhanced validations, UI error handling, and tree data filtering
* Added name duplication checks to validations for most endpoints invoked via the CRUD.js functionality (applies to most configuration pages).
* Improved user interface rendering of backend validation errors, including styled lists and highlighted form elements on validation error.
* Implemented tree data filtering in configuration tree to speed up exploration.
2025-11-29 14:08:55 +02:00

73 lines
3.2 KiB
Plaintext
Executable File

@* Copyright (C) 2022-present Jube Holdings Limited
*
* This file is part of Jube™ software.
*
* Jube™ is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
* Jube™ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public License along with Jube™. If not,
* see <https://www.gnu.org/licenses/>.
*@
@page
<script src="/js/Account/ChangePassword.js"></script>
<form id="FormChange">
<table id="PasswordResetTable" class="tTStyle">
<tr>
<td>
<label for="ExistingPassword">Existing Password</label>
</td>
<td>
<input type="password" id="ExistingPassword" name="ExistingPassword" class="k-textbox">
<span class="errorMessage" data-for="Password"></span><span id="MessageAuthenticate"
class="errorMessage"></span>
</td>
</tr>
<tr>
<td>
<label for="NewPassword">New Password</label>
</td>
<td>
<input type="password" id="NewPassword" name="NewPassword" class="k-textbox"/>
<span class="errorMessage" data-for="NewPassword"></span>
</td>
</tr>
<tr>
<td>
<label for="VerifyNewPassword">Verify New Password</label>
</td>
<td>
<input type="password" id="VerifyNewPassword" name="VerifyNewPassword" class="k-textbox"/>
<span class="errorMessage" data-for="VerifyNewPassword"></span>
<div id="MessageChange" class="errorMessage">
Please check password complexity:
<ul>
<li>
Your password length must be at least 8.
</li>
<li>
Your password length must not exceed 16.
</li>
<li>
Your password must contain at least one uppercase letter.
</li>
<li>
Your password must contain at least one lowercase letter.
</li>
<li>
Your password must contain at least one number.
</li>
<li>
Your password must contain at least one (!? *.).
</li>
</ul>
</div>
</td>
</tr>
</table>
<div class="topPaddedGeneral">
<button id="Change" type="submit">Change Password and Login</button>
<span id="DoneMessage" class="done"></span>
</div>
</form>