forked from hngi/Car-Park-App-Web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings_account.html
336 lines (305 loc) · 17.3 KB
/
settings_account.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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Car Park Admin</title>
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css">
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
<style>
#body-row {
margin-left: 0;
margin-right: 0;
}
#sidebar-container {
min-height: 100vh;
background-color: #0049B5;
padding: 0;
}
/* Sidebar sizes when expanded and expanded */
.sidebar-expanded {
width: 230px;
}
.sidebar-collapsed {
width: 60px;
}
/* Menu item*/
#sidebar-container .list-group a {
height: 50px;
color: white;
}
/* Submenu item*/
#sidebar-container .list-group .sidebar-submenu a {
height: 45px;
padding-left: 30px;
}
.sidebar-submenu {
font-size: 0.9rem;
}
/* Separators */
.sidebar-separator-title {
background-color: #0049B5;
height: 35px;
}
.sidebar-separator {
background-color: #0049B5;
height: 25px;
}
.logo-separator {
background-color: #0049B5;
height: 60px;
}
/* Closed submenu icon */
#sidebar-container .list-group .list-group-item[aria-expanded="false"] .submenu-icon::after {
content: " \f0d7";
font-family: FontAwesome;
display: inline;
text-align: right;
padding-left: 10px;
}
/* Opened submenu icon */
#sidebar-container .list-group .list-group-item[aria-expanded="true"] .submenu-icon::after {
content: " \f0da";
font-family: FontAwesome;
display: inline;
text-align: right;
padding-left: 10px;
}
</style>
</head>
<body>
<div class="container-fluid p-0" style="background-color: #ffffff;">
<div class="row " id="body-row">
<div id="sidebar-container" class="sidebar">
<ul class="list-group">
<li
class="list-group-item sidebar-separator-title text-muted d-flex align-items-center menu-collapsed">
</li>
<a href="#" data-toggle="sidebar-colapse"
class=" list-group-item list-group-item-action d-flex align-items-center border-0"
style="background-color: #0049B5">
<div class="d-flex w-100 justify-content-start align-items-center">
<span id="collapse-icon" class="fa fa-2x mr-3"></span>
<span id="collapse-text" class="menu-collapsed">Menu</span>
</div>
</a>
<a href="./dashboard_overview.html"
class="d-flex w-100 justify-content-start align-items-center list-group-item list-group-item-action border-0 flex-column align-items-start"
style="background-color: #0049B5">
<span class="mr-auto">
<img class="mr-auto"
src="https://res.cloudinary.com/benjee/image/upload/v1571813970/Vector_excuh3.svg"
alt="Dashboard" width="30" height="30">
<span class="menu-collapsed">Dashboard</span>
<span class="submenu-icon ml-auto"></span>
</span>
</a>
<a href="./mail_supportinbox.html"
class="d-flex w-100 justify-content-start align-items-center list-group-item list-group-item-action border-0 flex-column align-items-start"
style="background-color: #0049B5">
<span class="mr-auto">
<img class="mr-auto"
src="https://res.cloudinary.com/benjee/image/upload/v1571813955/Group_45_vky2t5.svg"
alt="Mail" width="30" height="30">
<span class="menu-collapsed">Mail</span>
<span class="submenu-icon ml-auto"></span>
</span>
</a>
<a href="#"
class="d-flex w-100 justify-content-start align-items-center list-group-item list-group-item-action border-0 flex-column align-items-start"
style="background-color: #0049B5">
<span class="mr-auto">
<img src="https://res.cloudinary.com/seun007/image/upload/v1572290891/image_2_mjjnfc.png"
alt="Manage Parks" width="30" height="30">
<span class="menu-collapsed">Manage Parks</span>
<span class="submenu-icon ml-auto"></span>
</span>
</a>
<a href="./notification.html"
class="d-flex w-100 justify-content-start align-items-center list-group-item list-group-item-action border-0 flex-column align-items-start"
style="background-color: #0049B5">
<span class="mr-auto">
<img src="https://res.cloudinary.com/seun007/image/upload/v1572455740/image_1_juyukf.png"
alt="Notification" width="30" height="30">
<span class="menu-collapsed">Notification</span>
<span class="submenu-icon ml-auto"></span>
</span>
</a>
<a href="./settings_account.html"
class="d-flex w-100 justify-content-start align-items-center list-group-item list-group-item-action border-0 flex-column align-items-start"
style="background-color: #0049B5">
<span class="mr-auto">
<img class="mr-auto"
src="https://res.cloudinary.com/benjee/image/upload/v1571813962/Vector_2_zvoqmz.svg"
alt="Settings" width="25" height="25">
<span class="menu-collapsed">Settings</span>
<span class="submenu-icon ml-auto"></span>
</span>
</a>
</ul>
</div>
<!--For main content area -->
<div class="col p-0 w-25">
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="d-flex">
<span id="collapse-menu" data-toggle="sidebar-container" class="fa mr-3 text-muted"
style="font-size: 22px; cursor: pointer;"></span>
</div>
<div class="col-7 p-2 mb-0">
<form class="form-inline active-cyan-4">
<div class="input-group w-75">
<input type="text" class="form-control w-75" placeholder="Search"
aria-label="Search" aria-describedby="basic-addon1">
<div class="input-group-append">
<span class="input-group-text" id="basic-addon1">
<i class="fas fa-search" aria-hidden="true"></i>
</span>
</div>
</div>
</form>
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse"
data-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">
<div class="col-8 pt-3 d-flex">
<p>
<i class="fa fa-user mx-1" aria-hidden="true"></i>
<span class="text-muted">John Travolta</span>
<i class="fas fa-bell mt-1 ml-5"></i>
<i class="fa fa-angle-down fa-lg ml-3 mt-1"></i>
</p>
</div>
<div class="col-4 d-flex border-left justify-content-start">
<img src="https://res.cloudinary.com/benjee/image/upload/v1571821721/Rectangle_15_cj6nwd.svg"
alt="EN" width="25" height="25">
<span class="text-muted pl-2">EN</span>
</div>
</div>
</nav>
<div class="col main p-3 text-white" style="background:#1A73E8;">
<div class="col">
<h1 style="font-size: 35px">Welcome back Admin</h1>
<h6 class="pt-2">CAR PARK APPLICATION </h6>
</div>
</div>
<div class="col shadow">
<nav class="nav">
<a class="nav-link active text-muted border-bottom border-primary" href="settings_account.html">Account</a>
<a class="nav-link text-muted" href="settings_users.html">Users</a>
<a class="nav-link text-muted" href="settings_paymenthistory.html">Payment History</a>
<a class="nav-link active text-muted" href="settings_notification.html">Notification</a>
</nav>
</div>
<div class="col mt-2 p-3">
<div class="container">
<div class="card" style="width: 100%;">
<div class="card-body">
<form>
<fieldset>
<div style="padding-left: 1.25rem; padding-right: 1.25rem">Personal
information
<span class="card-text" style="color: darkgray; padding-left: 50px">The
information can be edited from your profile page.</span>
<a href="#" class="btn btn-primary"
style="float: right; width: 120px;">Save</a>
</div>
<br>
<hr>
<br>
<div style="padding-left: 1.25rem; padding-right: 1.25rem">
<div class="form-group row">
<div class="col-sm-6">
First Name
<input type="email" class="form-control"
placeholder="First name">
</div>
<div class="col-sm-6">
Last Name
<input type="email" class="form-control"
placeholder="Last name">
</div>
</div>
<div class="form-group row">
<div class="col-sm-6">
Email
<input type="email" class="form-control" placeholder="Email">
</div>
<div class="col-sm-6"></div>
</div>
<div style="color: darkgray">we will use this email if we need to
contact you
about your account
</div>
<br><br><br>
<div class="form-group row">
<div class="col-sm-10">
<button type="submit" class="btn"
style="border-color: #488ac5; color: #488ac5">Change
Password
</button>
</div>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.slim.min.js">
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.15.0/umd/popper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script>
$(document).ready(function () {
// Hide submenus
$('#body-row .collapse').collapse('hide');
// Collapse/Expand icon
$('#collapse-icon').addClass('fa-angle-double-left');
$('#collapse-menu').addClass('fa-angle-double-right');
// Collapse click
$('[data-toggle=sidebar-colapse]').click(function () {
SidebarCollapse();
});
function SidebarCollapse() {
$('.menu-collapsed').toggleClass('d-none');
$('.sidebar-submenu').toggleClass('d-none');
$('.submenu-icon').toggleClass('d-none');
$('#sidebar-container').toggleClass('sidebar-expanded sidebar-collapsed');
// Collapse/Expand icon
$('#collapse-icon').toggleClass('fa-angle-double-right fa-angle-double-left');
}
});
// Collapse click
$('[data-toggle=sidebar-container]').click(function () {
SidemenuCollapse();
});
//Collapse Side Menu
function SidemenuCollapse() {
$('#sidebar-container').toggleClass('d-none');
// Collapse/Expand icon
$('#collapse-menu').toggleClass('fa-angle-double-right fa-angle-double-left');
}
//Hide Menu on Load
$(document).ready(function () {
$('#sidebar-container').toggleClass('d-none');
});
$(document).ready(function () {
$('.menu-collapsed').toggleClass('d-none');
$('.sidebar-submenu').toggleClass('d-none');
$('.submenu-icon').toggleClass('d-none');
$('#sidebar-container').toggleClass('sidebar-expanded sidebar-collapsed');
// Collapse/Expand icon
$('#collapse-icon').toggleClass('fa-angle-double-left fa-angle-double-right');
});
</script>
</body>
</html>