-
Notifications
You must be signed in to change notification settings - Fork 4
/
profile.html
199 lines (169 loc) · 7.89 KB
/
profile.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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Profile</title>
<link rel="shortcut icon" href="Assets/logo.png" type="image/x-icon">
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="CSS/style.css">
</head>
<body>
<nav class="navbar navbar-expand-lg py-4">
<div class="container">
<a class="navbar-brand fs-1" href="home.html"><i class="fas fa-utensils"></i> Savory</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0 gap-4">
<li class="nav-item dropdown ">
<a id="navMenu" class="nav-link active dropdown-toggle text-white" href="#" role="button" data-bs-toggle="dropdown"
aria-expanded="false">
Menus
</a>
<ul class="dropdown-menu">
<li><a id="navMenu1" class="dropdown-item " href="egyptmenu.html">Egyptian Menu</a></li>
<li><a id="navMenu2" class="dropdown-item " href="italianmenu.html">Italian Menu</a></li>
<li>
<hr class="dropdown-divider ">
</li>
<li><a id="navMenu3" class="dropdown-item " href="japanese.html">Japanese Menu</a></li>
<li><a id="navMenu4" class="dropdown-item " href="mexico.html">Mexico Menu</a></li>
</ul>
</li>
<li class="nav-item">
<a id="navRecipes" class="nav-link " aria-current="page" href="recipes.html">Recipes</a>
</li>
<li class="nav-item">
<a id="navContact" class="nav-link" href="contact.html">Contact</a>
</li>
<li class="nav-item">
<a id="navAbout" class="nav-link" href="about.html">About Us</a>
</li>
<li class="nav-item">
<a id="navServices" class="nav-link" href="services.html">Services</a>
</li>
<li class="nav-item">
<a id="navAboutStuff" class="nav-link" href="stuff.html">Stuff</a>
</li>
</ul>
<div class="icons d-flex justify-content-between align-items-center gap-3">
<a class="p-0" href="https://wa.me/201552924534" target="_blank"><i class="fa-brands fa-whatsapp"></i></a>
<i class="fas fa-solid fa-bag-shopping cartIcon"></i>
<div class="btn-group">
<button type="button" class="btn " onclick="toggleTheme()">
<i id="theme-icon" class="fas fa-sun"></i>
</button>
</div>
<div class="btn-group">
<button type="button" class="btn dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
<i id="lang-icon" class="fas fa-globe"></i>
</button>
<ul class="dropdown-menu dropdown-menu-lg-end">
<li>
<a class="dropdown-item" href="#" onclick="setLanguage('en')">En</a>
</li>
<li>
<a class="dropdown-item" href="#" onclick="setLanguage('ar')">Ar</i></a>
</li>
</ul>
</div>
<a href="profile.html"> <img width="40px" height="40px" class="profile rounded-circle bg-white" src="Assets/image-avatar.png" alt=""></a>
</div>
</div>
</div>
</nav>
<div class="myCart " style="display: none;">
<h4>Cart <a href="order.html" class="text-danger"><i class="fa-solid fa-reply-all fa-flip"></i></a></h4>
<div class="content d-flex flex-column gap-2">
</div>
</div>
<div class="user-card">
<h2>Account</h2>
<button class="test-btn"><a href="history.html" target="_blank">orders history</a> </button>
<div class="d-flex align-items-center mb-5 ">
<img width="120px" height="120px" class="profile " src="Assets/image-avatar.png" alt="User Picture" class="user-image me-5" id="userImage">
<div class="d-flex flex-column ">
<button class="btn btn-action changpic ms-3" id="changePicBtn"><i class="fa-solid fa-user-pen"></i></button>
<button class="btn btn-action delpic ms-3" id="deletePicBtn"><i class="fa-solid fa-user-xmark"></i></button>
<input type="file" id="imageInput" accept="image/*">
</div>
</div>
<form id="userForm">
<div class="row">
<!-- Left Column -->
<div class="col-md-6">
<div class="mb-3">
<label for="ProfileFname" class="form-label">First Nmae</label>
<input type="text" name="fName" class="form-control" id="ProfileFname" style="border-radius: 20px;" >
<div class="">
</div>
</div>
<div class="mb-3">
<label for="ProfileLname" class="form-label">Last Nmae</label>
<input type="text" name="lName" class="form-control" id="ProfileLname" style="border-radius: 20px;" >
<div class="">
</div>
</div>
<div class="mb-3">
<label for="ProfileEmail" class="form-label">Email</label>
<input type="email" name="email" class="form-control" id="ProfileEmail" disabled style="border-radius: 20px;">
</div>
</div>
<!-- Right Column -->
<div class="col-md-6">
<div class="mb-3">
<label for="profilePhone" class="form-label">Phone Number</label>
<input type="tel" name="phone" class="form-control" id="profilePhone" style="border-radius: 20px;" placeholder="Enter phone number">
<div class="">
</div>
</div>
<div class="mb-3">
<label for="profilePassword" class="form-label">Password</label>
<input type="text" name="password" class="form-control" id="profilePassword" style="border-radius: 20px;" placeholder="Enter password">
<div class="">
</div>
</div>
<div class="mb-3">
<label for="accountType" class="form-label">Account Type</label>
<select class="form-control" id="accountType" name="accountType" style="border-radius: 20px;">
<option value="Basic">Basic</option>
<option value="Premium">Premium</option>
<option value="Admin">Admin</option>
</select>
</div>
</div>
</div>
<!-- Buttons -->
<div class="d-flex justify-content-end mt-4">
<button type="button" class="btn btn-secondary me-3" id="cancel">Cancel</button>
<button type="submit" class="btn text-white" id="saveChangesBtn" style="background-color: var(--main-color);">Save Changes</button>
</div>
</form>
</div>
<div class="toast-container position-fixed bottom-0 end-0 p-3">
<div id="liveToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-header">
<img src="Assets/hi.png" class="rounded me-2" width="30" heigth="30" alt="welcome">
<strong class="me-auto">Savory</strong>
<small>1 second ago</small>
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
<div class="toast-body text-white" style="background-color: var(--main-color);">
Data Updated successfully.
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="JS/main.js"></script>
</body>
</html>