2024-02-03 17:35:45 +01:00
|
|
|
<!-- Centralized Status Message -->
|
|
|
|
<p id="StatusMessage"></p>
|
|
|
|
|
2024-02-04 09:28:38 +01:00
|
|
|
<button type="button" onclick="logout()">Logout</button><br>
|
|
|
|
|
2024-02-03 16:08:26 +01:00
|
|
|
<div class="form-container" id="updateUserProfileForm">
|
2024-02-04 09:26:17 +01:00
|
|
|
<h1>Update User</h1>
|
2024-02-04 09:57:48 +01:00
|
|
|
|
|
|
|
<h2>Profile</h2>
|
2024-02-04 09:28:38 +01:00
|
|
|
<label for="updateFirstName">First Name:</label>
|
|
|
|
<input type="text" id="updateFirstName" name="updateFirstName" required><br>
|
|
|
|
|
|
|
|
<label for="updateLastName">Last Name:</label>
|
|
|
|
<input type="text" id="updateLastName" name="updateLastName" required><br>
|
2024-02-03 16:08:26 +01:00
|
|
|
|
2024-02-04 09:28:38 +01:00
|
|
|
<label for="updateNickname">Nickname:</label>
|
|
|
|
<input type="text" id="updateNickname" name="updateNickname" required><br>
|
2024-02-03 16:08:26 +01:00
|
|
|
|
2024-02-04 09:28:38 +01:00
|
|
|
<label for="updateMinecraftNick">Minecraft Nick:</label>
|
|
|
|
<input type="text" id="updateMinecraftNick" name="updateMinecraftNick" required><br>
|
2024-02-03 16:08:26 +01:00
|
|
|
|
2024-02-04 09:28:38 +01:00
|
|
|
<button type="button" onclick="updateUserProfile()">Update Profile</button>
|
2024-02-03 16:08:26 +01:00
|
|
|
|
2024-02-04 09:28:38 +01:00
|
|
|
<br><br>
|
2024-02-03 16:08:26 +01:00
|
|
|
|
2024-02-04 09:57:48 +01:00
|
|
|
<h2>Email</h2>
|
|
|
|
|
2024-02-04 09:28:38 +01:00
|
|
|
<label for="updateNewEmail">New Email:</label>
|
|
|
|
<input type="email" id="updateNewEmail" name="updateNewEmail" required><br>
|
2024-02-04 09:26:17 +01:00
|
|
|
|
2024-02-04 09:28:38 +01:00
|
|
|
<button type="button" onclick="updateEmail()">Update Email</button>
|
2024-02-03 16:08:26 +01:00
|
|
|
|
2024-02-04 09:57:48 +01:00
|
|
|
<br><br>
|
|
|
|
|
|
|
|
<h2>Password</h2>
|
2024-02-04 09:28:38 +01:00
|
|
|
|
|
|
|
<label for="changeOldPassword">Old Password:</label>
|
|
|
|
<input type="password" id="changeOldPassword" name="changeOldPassword" required><br>
|
2024-02-03 17:30:51 +01:00
|
|
|
|
2024-02-04 09:28:38 +01:00
|
|
|
<label for="changeNewPassword">New Password:</label>
|
|
|
|
<input type="password" id="changeNewPassword" name="changeNewPassword" required><br>
|
2024-02-04 09:26:17 +01:00
|
|
|
|
2024-02-04 09:28:38 +01:00
|
|
|
<button type="button" onclick="changePassword()">Change Password</button>
|
2024-02-03 17:30:51 +01:00
|
|
|
</div>
|
|
|
|
|
2024-02-04 09:28:38 +01:00
|
|
|
<hr>
|
|
|
|
|