-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathakun.html
185 lines (163 loc) · 6.09 KB
/
akun.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!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</title>
<link rel="stylesheet" href="box/akun.css">
<link rel="icon" type="" href="image/homecare.png">
<script src="https://kit.fontawesome.com/b99e675b6e.js"></script>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script>
$(document).ready(function () {
$(".hamburger .hamburger__inner").click(function () {
$(".wrapper").toggleClass("active")
})
$(".top_navbar .fas").click(function () {
$(".profile_dd").toggleClass("active");
});
})
function openForm() {
document.getElementById("myForm").style.display = "block";
}
function closeForm() {
document.getElementById("myForm").style.display = "none";
}
function saveProfile() {
// Script untuk menyimpan perubahan profil
alert("Profil berhasil disimpan!");
}
</script>
</head>
<body>
<div class="wrapper">
<div class="top_navbar">
<div class="hamburger">
<div class="hamburger__inner">
<div class="one"></div>
<div class="two"></div>
<div class="three"></div>
</div>
</div>
<div class="menu">
<div class="logo">
HomeCare
</div>
<div class="right_menu">
<ul>
<li><i class="fas fa-user"></i>
<div class="profile_dd">
<a href="home.html">
<div class="dd_item">Beranda</div>
</a>
<a href="index.html">
<div class="dd_item">Logout</div></a>
</div>
</li>
</ul>
</div>
</div>
</div>
<div class="main_container">
<div class="sidebar">
<div class="sidebar__inner">
<div class="profile">
<div class="img">
<img src="image/profile.png" alt="profile_pic">
</div>
<div class="profile_info">
<p>Welcome</p>
<p class="profile_name">Aifa Besyaqila</p>
</div>
</div>
<ul>
<li>
<a href="#" class="active">
<span class="icon"><i class="fas fa-dice-d6"></i></span>
<span class="title">Edit Profil</span>
</a>
</li>
<li>
<a href="riwayat.html ">
<span class="icon"><i class="fab fa-elementor"></i></span>
<span class="title">Kesehatan</span>
</a>
</li>
<li>
<a href="kontakdarurat.html">
<span class="icon"><i class="fab fa-delicious"></i></span>
<span class="title">Our Team</span>
</a>
</li>
<li>
<a href="bantuan.html">
<span class="icon"><i class="fas fa-chart-pie"></i></span>
<span class="title">Bantuan </span>
</a>
</li>
<li>
<a href="hapusakun.html">
<span class="icon"><i class="fas fa-border-all"></i></span>
<span class="title">Hapus Akun</span>
</a>
</li>
</ul>
</div>
</div>
<div class="container">
<h1>Akun Profil</h1>
<form>
<label for="nama">Nama:</label>
<input type="text" id="nama" name="nama"><br><br>
<label for="birthdate">Tanggal Lahir:</label>
<input type="date" id="birthdate" name="birthdate" value="1990-01-01"><br><br>
<label for="jk">Jenis Kelamin:</label>
<select id="jk" name="jk">
<option value="laki-laki">Laki-laki</option>
<option value="perempuan">Perempuan</option>
</select><br><br>
<label for="alamat">Alamat:</label>
<textarea id="alamat" name="alamat"></textarea><br><br>
<label for="phone">Telepon:</label>
<input type="tel" id="phone" name="phone" value="+62 8 "><br><br>
<label for="email">Email:</label>
<input type="email" id="email" name="email" value="@example.com"><br><br>
<label for="password">Sandi:</label>
<input type="password" id="password" name="password" value="******">
<button class="ganti-sandi" onclick="openForm()">Ganti Sandi</button><br><br>
<button type="submit" onclick="saveProfile()">Simpan</button><br>
<br>
<div class="form-popup" id="myForm">
<form action="/change-password" class="form-container">
<h4>Ganti Sandi</h4><br>
<label for="oldpwd">Sandi Lama</label>
<input type="password" placeholder="Masukkan Sandi Lama" name="oldpwd" required>
<br><br>
<label for="newpwd">Sandi Baru</label>
<input type="password" placeholder="Masukkan Sandi Baru" name="newpwd" required>
<br><br>
<label for="confirmpwd">Konfirmasi Sandi Baru</label>
<input type="password" placeholder="Konfirmasi Sandi Baru" name="confirmpwd" required>
<button type="simpan" class="ganti-sandi">Simpan</button>
<button type="tutup" class="ganti-sandi" onclick="closeForm()">Tutup</button>
</form><br><br>
</div>
</form>
</div>
<div class="container">
<div class="item">
Yuk segara lengkapi data diri anda ! perhatikan dengan benar ya. Semua datadiri anda akan mempermudah proses pelayanan kami.
Sayangi jaga diri dan keluarga anda, segera konsultasikan kepada kami.
Kami memahami bahwa Anda mungkin merasa khawatir tentang pergi ke rumah sakit, tetapi kami menjamin bahwa kami memiliki protokol keamanan yang ketat untuk melindungi kesehatan Anda selama kunjungan.
</div>
<footer>
<p>© 2023 Copy Right HomeCare. All Rights Reserved.</p>
</footer>
</div>
</div>
</div>
</div>
</div>
</body>
</html>