-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprofile.html
119 lines (105 loc) · 4.38 KB
/
profile.html
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Profile page</title>
<link rel="stylesheet" href="css/profile.css" />
<script>
function myFunction() {
var str = document.getElementById("num").value;
if (str == "") {
alert("Input is empty, please enter number id");
} else if (isNaN(str)) {
alert("Input is not number");
} else {
alert("Friend application has been sent");
}
}
</script>
</head>
<body>
<!--Navbar-->
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="chart.html">Nutrition</a></li>
<li><a href="mental-health.html">Mental Health</a></li>
<li><a href="exercise-options.html">Exercise Options</a>
<ul>
<li><a href="exercises.html">Exercises</a></li>
<li><a href="exercises-goal-game.html">Goal & Game</a></li>
<li><a href="exercise-challenge.html">Challenge</a></li>
</ul>
</li>
<li><a href="profile.html">Profile</a></li>
</ul>
</nav>
<div>
<ul class="breadcrumb">
<li><a href="index.html">Home</a></li>
<li>Profile</li>
</ul>
<ul class="breadcrumb">
<li><a href="index.html">Home</a></li>
<li>Profile</li>
</ul>
</div>
<div class="wrapper">
<div class="profile">
<div class="top-section1" id="topSection1">
<img src="profilePhoto.jpg" style="vertical-align:middle;">
<span class="gender&name">
<font size="5"><img src="personGender.png"> User001</font>
</span>
</div>
<div class="top-section2" id="content">
<br />
<p class="weight">  Weight: 130 pounds</p>
<p class="alreadyLost">  Already lost 10 pounds</p>
</div>
<div class="bottom-section">
<table align="center" border="3" margin="auto" width="700px" height="100" borderColor="black">
<caption>
<font size="5">Your Friends</font>
<input type="text" value="add friedns using id (e.g. 001)" id="num">
<input type="button" onclick="myFunction()" value="add">
</caption>
<tr>
<td><img src="profilePhoto.jpg" height="50" width="50" style="vertical-align:middle"></td>
<td>
<p>Friend A (ID: 002)</p>
<p>Already lost 15 pounds.</p>
</tr>
<tr>
<td><img src="profilePhoto.jpg" height="50" width="50" style="vertical-align:middle"></td>
<td>
<p>Friend B (ID: 003)</p>
<p>Already lost 23 pounds.</p>
</tr>
<tr>
<td><img src="profilePhoto.jpg" height="50" width="50" style="vertical-align:middle"></td>
<td>
<p>Friend C (ID: 004)</p>
<p>Already lost 20 pounds.</p>
</tr>
<tr>
<td><img src="profilePhoto.jpg" height="50" width="50" style="vertical-align:middle"></td>
<td>
<p>Friend D (ID: 005)</p>
<p>Already lost 4 pounds.</p>
</tr>
<tr>
<td><img src="profilePhoto.jpg" height="50" width="50" style="vertical-align:middle"></td>
<td>
<p>Friend E (ID: 005)</p>
<p>Already lost 8 pounds.</p>
</tr>
</table>
</div>
</div>
</div>
<a href="javascript:history.go(-1)" class="previous-page"><b>‹</b></a>
</body>
</html>