-
Notifications
You must be signed in to change notification settings - Fork 3
/
user_dashboard.html
198 lines (186 loc) · 5.27 KB
/
user_dashboard.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>USER DASHBOARD</title>
<link rel="stylesheet" type="text/css" href="user_dashboard.css">
</head>
<body>
<div class="container">
<div class="navigation">
<ul>
<li>
<a href="#">
<span class="icon"><ion-icon name="car-sport-outline"></span>
<span class="title"></ion-icon>CAR POOLING</span>
</a>
</li>
<li>
<a href="#">
<span class="icon"><ion-icon name="home-outline"></span>
<span class="title"></ion-icon>Dashboard</span>
</a>
</li>
<!-- <li>
<a href="#">
<span class="icon"><ion-icon name="people-outline"></span>
<span class="title"></ion-icon>Customers</span>
</a>
</li> -->
<li>
<a href="#">
<span class="icon"><ion-icon name="chatbubble-outline"></ion-icon></span>
<span class="title">Message</span>
</a>
</li>
<li>
<a href="#">
<span class="icon"><ion-icon name="help-circle-outline"></ion-icon></span>
<span class="title">Help</span>
</a>
</li>
<li>
<a href="#">
<span class="icon"><ion-icon name="settings-outline"></ion-icon></span>
<span class="title">Settings</span>
</a>
</li>
<li>
<a href="#">
<span class="icon"><ion-icon name="lock-closed-outline"></ion-icon></span>
<span class="title">Password</span>
</a>
</li>
<li>
<a href="#">
<span class="icon"><ion-icon name="log-out-outline"></ion-icon></span>
<span class="title">Sign Out</span>
</a>
</li>
</ul>
</div>
<div class="main">
<div class="topbar">
<div class="toggle">
<ion-icon name="menu-outline"></ion-icon>
</div>
<!-- SEARCH -->
<div class="search">
<label>
<input type="text" placeholder="Search Here">
<ion-icon name="search-outline"></ion-icon>
</label>
</div>
<!-- USERIMG-->
<div class="user">
<img src="images/user.jpg">
</div>
</div>
<!-- CARDS -->
<div class="cardBox">
<!-- <div class="card">
<div>
<div class="numbers">1,504</div>
<div class="cardName">Total Passengers</div>
</div>
<div class="iconBx">
<ion-icon name="walk-outline"></ion-icon>
</div>
</div> -->
<div class="card">
<div>
<div class="numbers">XYZ-123</div>
<div class="cardName">Car Details</div>
</div>
<div class="iconBx">
<ion-icon name="car-sport-outline"></ion-icon>
</div>
</div>
<div class="card">
<div>
<div class="numbers">284</div>
<div class="cardName">Comments</div>
</div>
<div class="iconBx">
<ion-icon name="chatbubbles-outline"></ion-icon>
</div>
</div>
<div class="card">
<div>
<div class="numbers">Rs. 700.50</div>
<div class="cardName">Amout to pay</div>
</div>
<div class="iconBx">
<ion-icon name="cash-outline"></ion-icon>
</div>
</div>
</div>
<!-- data list -->
<div class="details">
<div class="recentorders">
<div class="cardHeader">
<h2>TRACK ROUTE</h2>
</div><br><br>
<table>
<img src="images/user_route2.png">
</table>
</div>
<!-- New customers -->
<div class="recentCustomers">
<div class="cardHeader">
<h2>TRAVELLING WITH ME</h2>
</div>
<table><tr>
<!-- <tr> -->
<td width="60px"><div class="imgBx"><img src="images/img1.jpg"></div></td>
<td><h4>David<br><span>Patparganj</span></h4></td>
<!-- </tr>
<tr> -->
<td width="60px"><div class="imgBx"><img src="images/img2.jpg"></div></td>
<td><h4>Alex<br><span>Vasundhara</span></h4></td>
<!-- </tr>
<tr> -->
<td width="60px"><div class="imgBx"><img src="images/img3.jpg"></div></td>
<td><h4>Diana<br><span>Mayur Vihar</span></h4></td>
<!-- </tr>
<tr> -->
<td width="60px"><div class="imgBx"><img src="images/img4.jpg"></div></td>
<td><h4>Alexa<br><span>Pushp Vihar</span></h4></td>
<!-- </tr>
<tr> -->
<td width="60px"><div class="imgBx"><img src="images/img5.jpg"></div></td>
<td><h4>Liam<br><span>Gurugram</span></h4></td>
<!-- </tr>
<tr> -->
<td width="60px"><div class="imgBx"><img src="images/img6.jpg"></div></td>
<td><h4>Oliver<br><span>Noida</span></h4></td>
<!-- </tr> -->
</tr></table>
</div>
</div>
</div>
</div>
<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>
<script type="text/javascript">
//Menu Toggle
let toggle=document.querySelector('.toggle');
let navigation=document.querySelector('.navigation');
let main=document.querySelector('.main');
toggle.onclick=function(){
navigation.classList.toggle('active');
main.classList.toggle('active');
}
// add hovered class in selected list item
let list=document.querySelectorAll('.navigation li');
function activeLink(){
list.forEach((item)=>
item.classList.remove('hovered'));
this.classList.add('hovered');
}
list.forEach((item)=>
item.addEventListener('mouseover',activeLink));
</script>
</body>
</html>