forked from hngi/Car-Park-App-Web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
carpark_manage_addcar.html
407 lines (373 loc) · 17.1 KB
/
carpark_manage_addcar.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
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
<!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">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Nunito&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;
}
/* First column styling*/
.form-container, .header-container{
background: #FFFFFF;
border: 1px solid rgba(63, 63, 68, 0.005);
box-shadow: 0px 1px 3px rgba(63, 63, 68, 0.15), 0px 1px 0px rgba(63, 63, 68, 0.05);
border-radius: 4px;
}
.add-car-btn{
background-color: #ffffff;
outline-color: #1A73E8;
color:#1A73E8;
float:right;
margin-right:30px;
margin-top:3px;
}
@media only screen and (max-width:700px){
.add-car-btn{
background-color: #ffffff;
outline-color: #1A73E8;
color:#1A73E8;
float:right;
margin-top:-10px;
float:left;
}
}
@media only screen and (max-width:420px){
.add-car-btn{
background-color: #ffffff;
outline-color:#1A73E8;
color:#1A73E8;
margin-right:0;
margin-top:-10px;
float:left;
}
.p-car{
margin-top:5px;
margin-left:-30;
}
}
.p-car{
margin-top:5px;
margin-left:30px;
}
.add-car-btn-2{
background: #1A73E8;
border-radius: 6px;
color:#ffffff;
font-family: Lato;
font-style: normal;
font-weight: bold;
font-size: 18px;
line-height: 18px;
color: #FFFFFF;
}
.col-sm-5{
margin:15px;
}
.form-control{
height:50px;
}
.label{
font-family: Lato;
font-style: normal;
font-weight: 500;
font-size: 16px;
line-height: 20px;
letter-spacing: -0.05px;
color: #3A3B3F;
}
.p-note{
font-family: Lato;
font-style: normal;
font-weight: normal;
font-size: 14px;
line-height: 17px;
display: flex;
align-items: center;
color: #BDBDBD;
}
</style>
</head>
<body>
<div class="container-fluid p-0" style="background-color: #F6F6F6;">
<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 menu-hover"
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="desktop8.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 menu-hover"
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_support.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 menu-hover"
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="carpark_manage_addcar.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 menu-hover dashboard-background"
style="background-color: #0049B5">
<span class="mr-auto">
<img src="https://res.cloudinary.com/dfjzditzc/image/upload/v1572534298/Vector_1_n2czaq.png"
alt="Users" width="30" height="30">
<span class="menu-collapsed">Manage Parks</span>
<span class="submenu-icon ml-auto"></span>
</span>
</a>
<a href="users.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 menu-hover"
style="background-color: #0049B5">
<span class="mr-auto">
<img src="https://res.cloudinary.com/dfjzditzc/image/upload/v1572534068/Vector_kvvh85.png"
alt="Users" width="30" height="30">
<span class="menu-collapsed">Notifications</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 menu-hover"
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">
<input class="form-control form-control-sm mr-3 w-75" type="text" placeholder="Search"
aria-label="Search">
<i class="fas fa-search" aria-hidden="true"></i>
</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">
<i class="fa fa-user pr-1" aria-hidden="true"></i>
<p class="text-muted">John Travolta</p>
</div>
<div class="col-4 d-flex border-left justify-content-end">
<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; height: auto; padding-top: 25px !important; padding-bottom: 21px !important; padding-left: 20px;">
<div class="col" style="height: 100%; padding-left: 0;">
<h1 style="font-size: 45px; line-height: 53px; font-weight: normal;">Welcome back Admin</h1>
<h6 class="pt-2" style="font-weight: bold; font-size: 20px; line-height: 23px; padding-top: 14px !important;">CAR PARK APPLICATION </h6>
</div>
</div>
<div class="col shadow nav-cont">
<nav class="nav nav-column">
<a class="nav-link active text-muted border-bottom border-primary demo-border" href="carpark_manage_addcar.html">Add Car Parks</a>
<a class="nav-link text-muted nav-hover analy" href="carpark_manage.html">Manage Car Parks</a>
<a class="nav-link text-muted nav-hover"
href="carpark_status.html">Car Parks Status</a>
</nav>
</div>
<!--car park owners page starts from here-->
<div class="col mt-1">
<div class="container header-container">
<div class="row justify-content-center">
<div class="col-sm-6">
<p class="p-car">Car Park Information</p>
</div>
<div class="col-sm-6">
<button type="submit" class="btn btn-primary add-car-btn">Add Another Car Park</button>
</div>
</div>
</div>
<div class="container form-container">
<div class="row justify-content-center">
<div class="col-sm-5 mt-4">
<label class="label">Name of Car Park</label>
<input class="form-control" type="text">
</div>
<div class="col-sm-5 mt-4">
<label class="label">Name of Car Park Owner</label>
<input class="form-control" type="text">
</div>
</div>
<div class="row justify-content-center">
<div class="col-sm-5">
<label class="label">Address of Car Park</label>
<input class="form-control" type="text">
</div>
<div class="col-sm-5">
<label class="label">Phone Number of Car Park Owner</label>
<input class="form-control" type="phone">
</div>
</div>
<div class="row justify-content-center">
<div class="col-sm-5">
<label class="label">Car Park Fee</label>
<input class="form-control" type="text">
<p class="p-note mt-4">This information here is what will be shown to users</p>
</div>
<div class="col-sm-5">
</div>
</div>
<div class="row justify-content-center">
<div class="col-sm-5">
<button class="btn btn-primary add-car-btn-2">Add Car Park</button>
</div>
<div class="col-sm-5">
</div>
</div>
</div>
</div>
</div>
</div>
<!--car park owners ends here-->
</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>
<script>
$("#dropmenu").click(function(){
$(".dropdown-menu").toggle();
});
</script>
</body>
</html>