-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheditprofile.html
173 lines (147 loc) · 7.71 KB
/
editprofile.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
<!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>BookID</title>
<meta name="title" content="BookID" />
<link rel="shortcut icon" href="img/logo.png" type="image/svg+xml" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@500;700&display=swap" rel="stylesheet" />
<script src="https://use.fontawesome.com/2e95bf0c1a.js"></script>
<script src="https://kit.fontawesome.com/6f3e2f204d.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="css/styleformprofiles.css" />
</head>
<body>
<header class="header" data-header>
<div class="container">
<a href="home.html" class="logo">
<img src="img/logo-white.png" width="74" height="24" alt="BookID home" class="logo-light" />
<img src="img/logo-white.png" width="74" height="24" alt="BookID home" class="logo-dark" />
</a>
<nav class="navbar" data-navbar>
<div class="navbar-top">
<a href="home.html" class="logo">
<img src="img/logo.png" width="74" height="24" alt="BookID home" />
</a>
<button class="nav-close-btn" aria-label="close menu" data-nav-toggler>
<ion-icon name="close-outline" aria-hidden="true"></ion-icon>
</button>
</div>
<ul class="navbar-list">
<li>
<a href="home.html" class="navbar-link">Home</a>
</li>
<li>
<a href="explore.html" class="navbar-link">Explore</a>
</li>
<li>
<a href="rooms.html" class="navbar-link">Rooms</a>
</li>
<li>
<a href="bookings.html" class="navbar-link">Bookings</a>
</li>
<li>
<a href="about.html" class="navbar-link">About</a>
</li>
</ul>
</nav>
<img src="" alt="" id="userPhotoNavbar" class="user-pic" onclick="toggleMenu()" />
<div class="sub-menu-wrap" id="subMenu">
<div class="sub-menu">
<a href="profile.html">
<div class="user-info">
<img id="userPhotoNav" src="" alt="" />
<h3 id="userNameNav">Nama User</h3>
</div>
</a>
<hr />
<a href="editprofile.html" class="sub-menu-link">
<img src="img/profile.png" />
<p>Edit Profile</p>
<span>></span>
</a>
<a href="#" id="logout" class="sub-menu-link">
<img src="img/logout.png" />
<p>Logout</p>
<span>></span>
</a>
</div>
</div>
<button class="nav-open-btn" aria-label="open menu" data-nav-toggler>
<ion-icon name="menu-outline" aria-hidden="true"></ion-icon>
</button>
<div class="overlay" data-nav-toggler data-overlay></div>
</div>
</header>
<div class="hero-header">
<div class="form-login">
<section class="container-profile">
<header>Edit Profile</header>
<div class="error-box">
<div class="error-message">Error message</div>
</div>
<form action="#" class="form-profile">
<div class="input-box-photo">
<label>Photo (Click to update)</label>
<br />
<img src="./img/user2.png" id="photoPreview" alt="" />
<br />
<input type="file" id="photo" style="display: none" accept="image/*" />
<small>Error message</small>
</div>
<div class="input-box">
<label>Full Name</label>
<input type="text" id="name" placeholder="Enter full name" />
<i class="fa fa-check-circle"></i>
<i class="fa fa-exclamation-circle"></i>
<small>Error message</small>
</div>
<div class="input-box">
<label>Phone</label>
<input type="tel" id="phone" placeholder="Enter phone number" />
<i class="fa fa-check-circle"></i>
<i class="fa fa-exclamation-circle"></i>
<small>Error message</small>
</div>
<div class="input-box">
<label>Email Address</label>
<input type="email" id="email" placeholder="Enter email address" />
<i class="fa fa-check-circle"></i>
<i class="fa fa-exclamation-circle"></i>
<small>Error message</small>
</div>
<div class="input-box">
<label>Password (Leave it blank if you don't want to update)</label>
<input type="password" id="password" placeholder="Enter password" />
<i class="fa fa-check-circle"></i>
<i class="fa fa-exclamation-circle"></i>
<small>Error message</small>
</div>
<div class="input-box">
<label>Confirm Password (Leave it blank if you don't want to update)</label>
<input type="password" id="confPassword" placeholder="Enter confirm password" />
<i class="fa fa-check-circle"></i>
<i class="fa fa-exclamation-circle"></i>
<small>Error message</small>
</div>
<button id="submit"><i class="fa-solid fa-pen-to-square"></i> Update</button>
</form>
</section>
</div>
</div>
<script src="./config/config.js"></script>
<script src="./js/pageprotection.js"></script>
<script src="./js/logout.js"></script>
<script src="./js/getme.js"></script>
<script src="./js/index.js"></script>
<script src="./js/validationdb.js"></script>
<script src="./js/validationtool.js"></script>
<script src="./js/regex.js"></script>
<script src="./js/editprofile.js"></script>
<script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"></script>
</body>
</html>