-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheditProfile.html
More file actions
38 lines (29 loc) · 1.67 KB
/
editProfile.html
File metadata and controls
38 lines (29 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>Edit Profile</title> <!-- The html page for displaying the form with which a user can update their profile page -->
<link rel="stylesheet" href="css/editProfileStyle.css">
</head>
<body>
<div id="outer"> <!-- This div contains all the buttons that appear on the top 'menu'. -->
<div class="inner"><button type="submit" class="msgBtn" onclick="window.location.href='/openUsersListPage'" >View Users</button></div>
<div class="inner"><button type="submit" class="msgBtn" onclick="window.location.href='/viewProfilePage'">View My Profile</button></div>
<div class="inner"><button type="submit" class="msgBtn" onclick="window.location.href='/editProfile'">Edit My Profile</button></div>
<div class="inner"><button type="submit" class="msgBtn" onclick="window.location.href='/signout'">Log Out</button></div>
<div class="inner"><button type="submit" class="msgBtn" onclick="window.location.href='/openSetUserStatusPage'">Set User Status</button></div>
</div>
<h1 style="text-align:center">EDIT MY PROFILE</h1>
<div class="ui">
<form action="/updateClientProfileDetails" method="post" enctype="multipart/form-data"> <!-- form that the user uses to enter their profile credentials. -->
Full Name: <input type="text" name="fullname"/><br/>
Position: <input type="text" name="position"/><br/>
Description: <input type="text" name="description"/><br/>
Location: <input type="text" name="location"/><br/>
Picture: <input type="text" name="picture"/>
<input name = "username" value="{clientUsername:}" type="hidden">
<input type="submit" value="Save Changes"/>
</form>
</div>
</body>
</html>