forked from Adleraci/adlerka.top
test
This commit is contained in:
parent
8ab13c554e
commit
e514573ebb
@ -60,18 +60,20 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function init(){
|
function init() {
|
||||||
getUserInfo();
|
getUserInfo();
|
||||||
}
|
}
|
||||||
window.onload = init();
|
|
||||||
|
window.onload = init;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Centralized Status Message -->
|
<!-- Centralized Status Message -->
|
||||||
<p id="StatusMessage"></p>
|
<p id="StatusMessage"></p>
|
||||||
|
|
||||||
|
<button type="button" onclick="logout()">Logout</button><br>
|
||||||
|
|
||||||
<div class="form-container" id="updateUserProfileForm">
|
<div class="form-container" id="updateUserProfileForm">
|
||||||
<h1>Update User</h1>
|
<h1>Update User</h1>
|
||||||
<form>
|
|
||||||
<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>
|
||||||
|
|
||||||
@ -86,16 +88,19 @@
|
|||||||
|
|
||||||
<button type="button" onclick="updateUserProfile()">Update Profile</button>
|
<button type="button" onclick="updateUserProfile()">Update Profile</button>
|
||||||
|
|
||||||
|
<br><br>
|
||||||
|
|
||||||
<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>
|
||||||
</form><br>
|
<br>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
<div class="form-container" id="changePasswordForm">
|
<div class="form-container" id="changePasswordForm">
|
||||||
<h1>Change Password</h1>
|
<h1>Change Password</h1>
|
||||||
<form>
|
|
||||||
<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>
|
||||||
|
|
||||||
@ -103,7 +108,8 @@
|
|||||||
<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>
|
||||||
</form><br>
|
<br>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button type="button" onclick="logout()">Logout</button><br>
|
<hr>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user