forked from hngi/fg-expense-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathExpenditureReport.html
480 lines (464 loc) · 13.7 KB
/
ExpenditureReport.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
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/header.css" />
<link rel="stylesheet" href="css/footer.css" />
<link rel="stylesheet" href="css/contact.css" />
<link rel="stylesheet" href="css/expenditurereport.css" />
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous"
/>
<link
href="https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css?family=Mukta:700|Roboto+Slab&display=swap"
rel="stylesheet"
/>
<script
src="https://kit.fontawesome.com/8f691340fb.js"
crossorigin="anonymous"
></script>
<title>ExpenseNg</title>
</head>
<body>
<!-- navbar -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container">
<a class="navbar-brand" href="#"
><img
src="img/Group 380.svg"
class="logo1"
alt="logo"
srcset="" /><img
src="img/Frame 384.svg"
class="logo2"
alt="logo"
srcset=""
/></a>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarNavDropdown"
aria-controls="navbarNavDropdown"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="#"
>Expenditure Report<span class="sr-only">(current)</span></a
>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Ministry Info</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Company Info</a>
</li>
<li class="nav-item">
<a class="nav-link" href="contact.html">Reference</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- banner -->
<div class="banner-section">
<div class="home-banner">
<div class="container">Expenditure Report</div>
</div>
<div class="banner">
<div class="container">
<h1>Expenditure Report</h1>
<p
>Explore the amount allocated to every ministry in both graphical
and tabular format. Increase your knowledge about how much each
ministry gets allocated every month. and how much they spend.</p
>
</div>
</div>
</div>
<br />
<br />
<!-- The chart Begins -->
<section class="container">
<div class="row">
<div class="col-md-6">
<div class="outsidegraph">
<div class="graph">
<span class="date">20th, May 2020</span>
<span class="amount">Amount Awarded (Billions)</span>
<div class="graphbody">
<div class="graphlines">
<div class="graphline"></div>
<div class="graphline"></div>
<div class="graphline"></div>
<div class="graphline"></div>
<div class="graphline"></div>
<div class="graphline"></div>
<div class="graphline"></div>
<div class="graphline"></div>
<div class="graphline"></div>
<div class="graphline"></div>
<div class="numbers">
<div>10</div>
<div>9</div>
<div>8</div>
<div>7</div>
<div>6</div>
<div>5</div>
<div>4</div>
<div>3</div>
<div>2</div>
<div>1</div>
</div>
</div>
<div class="graphlabel">
<span>Highest funds</span>
<span>8.7bn</span>
</div>
<svg
width="572"
height="359"
viewBox="0 0 572 359"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M114.786 38.269L0.733398 52.144V358.48H571.51V52.144L548.956 133.217L499.746 99.4819H416.193L332.64 44.5264L260.876 65.7468L214.5 9L114.786 38.269Z"
fill="url(#paint0_linear)"
fill-opacity="0.16"
/>
<path
d="M1 54.0485L112.5 39.0853L214.5 9.5L261.433 65.4749L332.05 46.7029L418.861 101.386H501.159L550.273 137.026L570.183 55.6808"
stroke="#00945E"
stroke-width="1.63234"
/>
<ellipse
cx="214.765"
cy="4.89703"
rx="4.76529"
ry="4.89703"
fill="#338164"
/>
<line
x1="214.5"
y1="10"
x2="214.5"
y2="358"
stroke="#004A2F"
stroke-dasharray="2 2"
/>
<defs>
<linearGradient
id="paint0_linear"
x1="286.122"
y1="-1.72339"
x2="286.122"
y2="358.481"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#00935D" />
<stop
offset="0.75"
stop-color="#00945E"
stop-opacity="0"
/>
</linearGradient>
</defs>
</svg>
</div>
</div>
</div>
</div>
</div>
</section>
<br />
<br />
<!---TABLE BEGINS--->
<section class="container">
<div class="table-section reponsive-div">
<div class="main-table">
<div class="table-top">
<h3>Daily Expenditure</h3>
<h5
>20th May, 2020
<button onclick = "show_filter()">Filter <i class="fas fa-filter"></i></button
></h5>
</div>
<div class="table-data">
<div style="overflow-x: auto;">
<table>
<tr>
<th>Projects</th>
<th>Ministry</th>
<th>Company</th>
<th>Amount</th>
<th>Date</th>
</tr>
<tr>
<td class="profileSummary">Rehabilitation of Lagos</td>
<td>Transport</td>
<td>Julius Beger</td>
<td>₦806,650,320</td>
<td>20th May, 2020</td>
</tr>
<tr>
<td class="profileSummary">Building of Class Blocks</td>
<td>Education</td>
<td>Samsung</td>
<td>₦806,650,320</td>
<td>20th May, 2020</td>
</tr>
<tr>
<td class="profileSummary">Rehabilitation of Lagos</td>
<td>Transport</td>
<td>Julius Beger</td>
<td>₦806,650,320</td>
<td>20th May, 2020</td>
</tr>
<tr>
<td class="profileSummary">Building of Class Blocks</td>
<td>Education</td>
<td>Samsung</td>
<td>₦806,650,320</td>
<td>20th May, 2020</td>
</tr>
<tr>
<td class="profileSummary">Rehabilitation of Lagos</td>
<td>Transport</td>
<td>Julius Beger</td>
<td>₦806,650,320</td>
<td>20th May, 2020</td>
</tr>
<tr>
<td class="profileSummary">Building of Class Blocks</td>
<td>Education</td>
<td>Samsung</td>
<td>₦806,650,320</td>
<td>20th May, 2020</td>
</tr>
<tr>
<td class="profileSummary">Rehabilitation of Lagos</td>
<td>Transport</td>
<td>Julius Beger</td>
<td>₦806,650,320</td>
<td>20th May, 2020</td>
</tr>
<tr>
<td class="profileSummary">Building of Class Blocks</td>
<td>Education</td>
<td>Samsung</td>
<td>₦806,650,320</td>
<td>20th May, 2020</td>
</tr>
<tr>
<td class="profileSummary">Rehabilitation of Lagos</td>
<td>Transport</td>
<td>Julius Beger</td>
<td>₦806,650,320</td>
<td>20th May, 2020</td>
</tr>
<tr>
<td class="profileSummary">Building of Class Blocks</td>
<td>Education</td>
<td>Samsung</td>
<td>₦806,650,320</td>
<td>20th May, 2020</td>
</tr>
<tr>
<td class="profileSummary">Rehabilitation of Lagos</td>
<td>Transport</td>
<td>Julius Beger</td>
<td>₦806,650,320</td>
<td>20th May, 2020</td>
</tr>
<tr>
<td class="profileSummary">Building of Class Blocks</td>
<td>Education</td>
<td>Samsung</td>
<td>₦806,650,320</td>
<td>20th May, 2020</td>
</tr>
<tr>
<td class="profileSummary">Rehabilitation of Lagos</td>
<td>Transport</td>
<td>Julius Beger</td>
<td>₦806,650,320</td>
<td>20th May, 2020</td>
</tr>
<tr>
<td class="profileSummary">Building of Class Blocks</td>
<td>Education</td>
<td>Samsung</td>
<td>₦806,650,320</td>
<td>20th May, 2020</td>
</tr>
</table>
</div>
</div>
<!---PAGINATION--->
<div class="table-footer">
<span> 1-20 of 320 results </span>
<div class="pagination">
<a href="#">‹</a>
<a class="active" href="#">1</a>
<a href="#">2</a>
<a href="#">3</a>
<a href="#">..</a>
<a href="#">6</a>
<a href="#">›</a>
</div>
</div>
</div>
</div>
<!---TABLE ENDS--->
</section>
<!-----FILTER POPUP-->
<div id = "filter-screen">
<div class = "filter-popup center">
<div class = "filter-header">Filter</div>
<div class = "filter-subtext">Select Date</div>
<input type="date" id="" name="">
<div class = "filter-subtext">View By</div>
<div class = "view-by-selection clearfix">
<button class = "view-choice" id = "day" onclick="filterSelectionView('day')">Day</button>
<button class = "view-choice" id = "month" onclick="filterSelectionView('month')">Month</button>
<button class = "view-choice" id = "year" onclick="filterSelectionView('year')">Year</button>
</div>
<div class = "filter-subtext">Sort By</div>
<div class = "sort-selection center">
<button class = "sort-choice" id = "htl" onclick="filterSelectionSort('htl')">Amount (Highest to Lowest)</button>
<button class = "sort-choice" id = "lth" onclick="filterSelectionSort('lth')">Amount (Lowest to Highest)</button>
</div>
<div class="applyy">
<button class="apply-filter center" onclick="apply()">Apply Filter</button></div>
</div>
</div>
<!-- Pop up for project summary -->
<section class="section-wrapper">
<div class="section-container">
<div class="section-img">
<img src="img/Julius-Berger 1.svg" alt="user avatar">
</div>
<div class="section-write-up">
<div class="project-date">
<div class="projects">
<p class="project small-font">Project</p>
<p class="project-name big-font">Rehabilitation Of Lagos Ibadan Expressway</p>
</div>
<div class="dates">
<p class="date big-font">20th, May 2020</p>
</div>
</div>
<div class="company-info">
<div class="company">
<p class="small-font">Contracted Company</p>
<p class="big-font">Julius Berger</p>
</div>
<div class="company">
<p class="small-font">Company CEO</p>
<p class="big-font">Julius Berger</p>
</div>
<div class="company last">
<p class="small-font">Company Twitter Handle</p>
<p class="big-font">@fedmintransport</p>
</div>
</div>
<div class="ministry-info">
<div class="ministry">
<div class="ministry-name">
<p class="small-font">Contracting Ministry</p>
<p class="big-font">Ministry of Transportation</p>
</div>
<div class="ministry-name">
<p class="small-font">Ministry Twitter Handle</p>
<p class="big-font">@fedmintransport</p>
</div>
</div>
<div class="minister">
<div class="minister-name">
<p class="small-font">Minister</p>
<p class="big-font">Mohammed Musa Bello</p>
</div>
<div class="minister-name">
<p class="small-font">Minister Twitter Handle</p>
<p class="big-font">@mohammedbello</p>
</div>
</div>
</div>
<div class="btns">
<div class="share-button">
<div class="btn">
<a href="#" class="share small-font">Share</a>
<img src="img/Vector.svg" alt="user avatar">
</div>
</div>
<div class="close-button">
<div class="btn">
<a href="#" class="share small-font">Close</a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- footer -->
<footer>
<div class="main-footer-wrapper">
<div class="main-box1">
<div class="brand-logo"> <img src="img/logo.png" /><br /> </div>
<div class="twitter">
<img src="img/twitter-logo.png" />
<a href="#">@expenseng</a>
</div>
</div>
<div class="main-box2">
<div class="box1">
<h4>About Us</h4>
<a href="#">About Expenseng.com</a>
<a href="#">Contact Us</a>
</div>
<div class="box2">
<h4>Pages</h4>
<a href="#">Home</a>
<a href="#">Daily Payment Report</a>
<a href="#">Companies</a>
<a href="#">Ministry</a>
</div>
</div>
</div>
<div class="last-footer">
<ul>
<li><a href="#">Accessibility |</a></li>
<li><a href="#"> Privacy Policy |</a></li>
<li><a href="#"> Freedom of Information Act</a></li>
<li class="push">
<a href="#">© 2020 EXPENSENG.com</a>
</li>
</ul>
</div>
</footer>
<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!--Scripts for chart-->
<!-- custom script -->
<script src="js/main.js"></script>
<script src="./js/ExpenditureScript.js"></script>
</body>
</html>