-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile.html
More file actions
70 lines (59 loc) · 2.11 KB
/
profile.html
File metadata and controls
70 lines (59 loc) · 2.11 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
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1" />
<title>AgriTrust — Profil Membre</title>
<!-- Fonts & Icons -->
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" />
<script src="https://cdn.jsdelivr.net/npm/web3@1.10.0/dist/web3.min.js"></script>
<link rel="stylesheet" href="css/style.css">
<link rel="manifest" href="/manifest.json">
<meta name="theme-color" content="#4CAF50">
</head>
<body>
<div id="app">
<!-- HEADER -->
<header class="header">
<div class="logo">
<div class="logo-mark"><i class="fas fa-user-circle"></i></div>
<div class="logo-text">
<h1>Mon Profil</h1>
<p class="subtitle">Espace membre</p>
</div>
</div>
<a href="dashboard.html" class="icon-btn" aria-label="Accueil"><i class="fas fa-home"></i></a>
</header>
<!-- MAIN CONTENT -->
<main class="container">
<!-- 🧩 Profil utilisateur -->
<section class="card profile-card">
<div class="profile-photo">
<i class="fas fa-user-circle default-icon"></i>
<!-- image remplacée dynamiquement par profile.js -->
</div>
<h2 id="member-name">Nom Membre</h2>
<p id="member-id" class="member-id">ID : -</p>
</section>
<!-- 🔘 Déconnexion -->
<section class="card logout-card">
<button id="logout-btn" class="btn-secondary">
<i class="fas fa-sign-out-alt"></i> Déconnexion
</button>
</section>
</main>
<!-- ✅ Toast déconnexion -->
<div id="toast" class="toast hidden"></div>
</div>
<!-- JS -->
<script src="js/blockchain.js"></script>
<script src="js/profile.js"></script>
<!-- PWA (Service Worker) -->
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js').catch(console.warn);
}
</script>
</body>
</html>