-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathviewProfile.html
More file actions
28 lines (23 loc) · 1.45 KB
/
viewProfile.html
File metadata and controls
28 lines (23 loc) · 1.45 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
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>User Profile</title> <!-- The html page for displaying a selected user's profile page -->
<link rel="stylesheet" href="css/viewProfileStyle.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">{profileHeading:} PROFILE</h1>
<div class="ui">
<img src="{image:}" alt="Profile Picture 380x420" height="420" width="380">
<!-- The dynamically generated html code from the python to display the user's profile data goes here. -->
<h1 style="text-align:center">{UPI:}<br><br>NAME: {fullname:}<br><br>POSITION: {position:}<br><br>DESCRIPTION: {description:}<br><br>LOCATION: {location:}</h1>
</div>
</body>
</html>