Dashboard Temp Share Shortlinks Frames API

HTMLify

profile.html
Views: 56 | Author: karbonsites
 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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Health Monitor - Profile</title>
    <link rel="stylesheet" href="style.css">
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap" rel="stylesheet">
</head>
<body>
    <header class="header">
        <div class="container header-content">
            <h1 class="logo">HealthPulse</h1>
            <nav>
                <a href="index.html" class="nav-link">Dashboard</a>
                <a href="profile.html" class="nav-link active">Profile</a>
                <a href="tips.html" class="nav-link">Tips & Products</a>
                <a href="admin.html" class="nav-link admin-link">Admin</a>
            </nav>
        </div>
    </header>

    <main class="container main-content">
        <section id="userProfile" class="card fade-in">
            <h2 class="section-title">User Health Profile</h2>
            
            <div class="profile-details">
                <h3>Account Information</h3>
                <p><strong>User ID:</strong> <span id="profUserId">U1001</span></p>
                <p><strong>Name:</strong> <span id="profName">Jane Doe</span></p>
                <p><strong>Email:</strong> <span id="profEmail">jane.doe@example.com</span></p>
            </div>

            <div class="profile-details">
                <h3>Physical Data</h3>
                <div class="data-grid">
                    <p><strong>Age:</strong> <span id="profAge">30</span></p>
                    <p><strong>Height:</strong> <span id="profHeight">165 cm</span></p>
                    <p><strong>Weight:</strong> <span id="profWeight">68 kg</span></p>
                    <p><strong>Occupation:</strong> <span id="profOccupation">Software Engineer</span></p>
                </div>
            </div>

            <div class="profile-details">
                <h3>Mental Health Metrics (Last 7 Days)</h3>
                <div class="chart-placeholder">
                    <p>Visual Log Chart Placeholder (Data Visualization)</p>
                    <canvas id="moodChart" width="300" height="150"></canvas>
                </div>
            </div>

            <button class="cta-button edit-button">Edit Profile Data</button>
        </section>

        <section id="adminViewInfo" class="card fade-in-delay">
            <h2 class="section-title">Admin View Access</h2>
            <p>This section simulates data accessible by the admin for targeted suggestions.</p>
            <div class="admin-data-block">
                <p><strong>Average Daily Energy Score:</strong> <span class="stat-value">7.2 / 10</span></p>
                <p><strong>Most Common State:</strong> <span class="stat-value">Slightly Stressed</span></p>
            </div>
        </section>
    </main>

    <footer class="footer">
        <p>&copy; 2024 HealthPulse. Designed for Mobile First.</p>
    </footer>

    <script src="script.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>

  <a href="https://karbonsites.space/home" target="_blank" id="karbon-promo-banner">
      <span></span>
      <div>Built with <b>Karbon Sites</b></div>
  </a>
</body>
</html>