-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile.html
More file actions
87 lines (77 loc) · 2.56 KB
/
profile.html
File metadata and controls
87 lines (77 loc) · 2.56 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Train5D | Wellness Coaching for Beginners</title>
<link rel="stylesheet" href="css/main.css" />
<link rel="stylesheet" href="css/profile.css" />
<!-- Include CryptoJS for Gravatar support -->
<script src="https://crypto-js.googlecode.com/svn/tags/3.1.2/rollups/md5.js"></script>
</head>
<body>
<main>
<div class="main-container">
<!-- Profile Image Section -->
<div class="profile-section">
<img
src="default-avatar.png"
alt="User's profile image"
id="profileImage"
class="clickable"
/>
</div>
<!-- Profile Form Section -->
<div class="profile-form">
<h2>Profile Details</h2>
<label for="firstName">First Name</label>
<input
type="text"
id="firstName"
placeholder="Enter your first name"
/>
<label for="lastName">Last Name</label>
<input type="text" id="lastName" placeholder="Enter your last name" />
<label for="displayName">Display Name</label>
<input
type="text"
id="displayName"
placeholder="Enter your display name"
/>
<label for="email">Email</label>
<input
type="email"
id="email"
placeholder="Enter your email address"
/>
<label for="nutritionLink">Nutrition (Healthie)</label>
<input
type="url"
id="nutritionLink"
placeholder="Enter your Healthie link"
/>
<label for="trainingLink">Training & Workouts (QuickCoach)</label>
<input
type="url"
id="trainingLink"
placeholder="Enter your QuickCoach link"
/>
<div class="form-actions">
<button type="submit" id="updateProfileBtn">Update Profile</button>
<button type="button" class="cancel" id="cancelBtn">Cancel</button>
</div>
</div>
</div>
<!-- Modal for Image Upload (Optional) -->
<div id="avatarModal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<h2>Update Avatar</h2>
<input type="file" id="modalFileUpload" />
</div>
</div>
</main>
<script src="js/header.js"></script>
<script src="js/avatar.js"></script>
</body>
</html>