user ui changes

This commit is contained in:
Bruno Rybársky 2024-02-04 09:57:48 +01:00
parent e409287632
commit 8e44b5aaf0

@ -74,6 +74,8 @@
<div class="form-container" id="updateUserProfileForm"> <div class="form-container" id="updateUserProfileForm">
<h1>Update User</h1> <h1>Update User</h1>
<h2>Profile</h2>
<label for="updateFirstName">First Name:</label> <label for="updateFirstName">First Name:</label>
<input type="text" id="updateFirstName" name="updateFirstName" required><br> <input type="text" id="updateFirstName" name="updateFirstName" required><br>
@ -90,17 +92,17 @@
<br><br> <br><br>
<h2>Email</h2>
<label for="updateNewEmail">New Email:</label> <label for="updateNewEmail">New Email:</label>
<input type="email" id="updateNewEmail" name="updateNewEmail" required><br> <input type="email" id="updateNewEmail" name="updateNewEmail" required><br>
<button type="button" onclick="updateEmail()">Update Email</button> <button type="button" onclick="updateEmail()">Update Email</button>
<br>
</div>
<hr> <br><br>
<h2>Password</h2>
<div class="form-container" id="changePasswordForm">
<h1>Change Password</h1>
<label for="changeOldPassword">Old Password:</label> <label for="changeOldPassword">Old Password:</label>
<input type="password" id="changeOldPassword" name="changeOldPassword" required><br> <input type="password" id="changeOldPassword" name="changeOldPassword" required><br>
@ -108,7 +110,6 @@
<input type="password" id="changeNewPassword" name="changeNewPassword" required><br> <input type="password" id="changeNewPassword" name="changeNewPassword" required><br>
<button type="button" onclick="changePassword()">Change Password</button> <button type="button" onclick="changePassword()">Change Password</button>
<br>
</div> </div>
<hr> <hr>