-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·324 lines (261 loc) · 9.39 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Baltimore Gov Repairs Department </title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="assets/bootstrap/bootstrap4-alpha3.min.css">
<!-- Google Font Roboto -->
<link rel="stylesheet" href="assets/fonts/font-roboto.css">
<style>
body {
background-color: #222222;
color: #ffffff;
font-family: "Roboto", Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 1.5;
padding-bottom: 3.5rem;
padding-top: 3.5rem;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 300;
}
hr {
border-top: 1px solid #727273;
margin-bottom: 2rem;
margin-top: 2rem;
}
#revenue-tag {
border-radius: 0px !important;
font-size: inherit !important;
font-weight: inherit !important;
}
.align-center {
text-align: center;
}
.card {
background-color: transparent;
border: none;
margin-bottom: 0px;
}
#sales-doughnut-chart-us, #sales-doughnut-chart-nl, #sales-doughnut-chart-de {
height: 280px;
margin-top: 1rem;
width: 100%;
}
#page-views-spline-area-chart, #orders-spline-area-chart, #revenue-spline-area-chart {
height: 100px;
width: 100%;
}
#users-doughnut-chart, #users-spline-chart {
height: 280px;
margin-top: 2rem;
width: 100%;
}
#users-countries-bar-chart {
height: 360px;
margin-top: 2rem;
width: 100%;
}
.autocomplete {
/*the container must be positioned relative:*/
position: relative;
display: inline-block;
}
input {
border: 1px solid transparent;
background-color: #f1f1f1;
padding: 10px;
font-size: 16px;
}
input[type=text] {
background-color: #f1f1f1;
width: 100%;
}
input[type=submit] {
background-color: DodgerBlue;
color: #fff;
}
.autocomplete-items {
position: absolute;
border: 1px solid #d4d4d4;
border-bottom: none;
border-top: none;
z-index: 99;
/*position the autocomplete items to be the same width as the container:*/
top: 100%;
left: 0;
right: 0;
}
.autocomplete-items div {
padding: 10px;
cursor: pointer;
background-color: #333333;
border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
/*when hovering an item:*/
background-color: #555555;
}
.autocomplete-active {
/*when navigating through the items using the arrow keys:*/
background-color: DodgerBlue !important;
color: #ffffff;
}
</style>
<!-- Scripts -->
<script src="assets/jquery/jquery-3.1.0.min.js"></script>
<script src="assets/tether/tether.min.js"></script>
<script src="assets/bootstrap/bootstrap4-alpha3.min.js"></script>
<script src="https://canvasjs.com/assets/script/canvasjs.min.js"></script>
<script src="assets/jquery.scrollspeed/jquery.scrollspeed.min.js"></script>
<script src="assets/jquery.inview/jquery.inview.min.js"></script>
<script src="js/main.js"></script>
<script src="data_5_7.js"></script>
<script src="js/underscore.js"></script>
<style>
.button {
background-color: #00c700;
border-radius: 18px;
border: 2px solid #222222;
color: white;
padding: 10px 15px;
text-align: center;
font-size: 18px;
cursor: pointer;
}
.button:hover {
background-color: #00c7EE;
}
</style>
</head>
<body>
<div class="container">
<h1><b>Data Mechanic </b></h1>
<span style="float:right">
<p>
<p>
<!-- Button trigger modal -->
<button type="button" id="b11" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalLong">
User Help
</button>
<!-- Modal -->
<div class="modal in" id="exampleModalLong" tabindex="-1" role="dialog" aria-labelledby="exampleModalLongTitle" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle">Modal title</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<span style="color: #222222;">
<b>This App is developed for Baltimore City Government Fleet Management Repair Deparment withing Department of General Services.
<p>
<br>Please pay attention to the following points while using the app :</b>
<br>1) Click on Vehicle ID box and start typing 0,1,8 or 9 then select the vehicel from the list (default is selected as 000036)
<br>2) Click on CCTV Mapping to click see CCTV Mapping Data & Back to Application to come back to main page.
<br>3) On CCTV Mapping Page , select projects and click filter resutls to see results
<br>4) When you do select the Vehicle ID after typing 0,1,8 & 9 & select the vehicle watch the reuslts and rejoice.
</span>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary" data-dismiss="modal">Ok Thanks !</button>
</div>
</div>
</div>
</div>
</span>
<h4><b>Fleet Management System deisgned for Baltimore City</b></h4>
<h6><b>Designed by Akshay Nagar and Miaoyan Zhang</b></h6>
<p>
<h5 id="date"></h5>
<h5 class="m-t-1">Savings This year: <span class="tag tag-success" id="revenue-tag">$1,200,657</span></h5>
<hr class="m-t-2">
<a class="button" href="mappingbalt.html" role="button">CCTV Mapping</a><br>
<p>
<h3><b>Please Enter the Vehicle ID: </b></h3>
<form autocomplete="off" action="/action_page.php">
<div class="autocomplete" style="width:300px;">
<input id="myInput" type="text" placeholder="Example 000036">
</div>
<input type="button" value="Search" id="id_search">
</form>
<p>
<h4 id="vehicle_id">Vehicle ID: 030034</h4>
<h4 id="vehicle_dpt">Department: FIRE DEPARTMENT</h4>
<h4 id="vehicle_make">Make: PIERCE</h4>
<h4 id="vehicle_model">Model: PUMPER</h4>
<!-- <img src="/Users/akshaynagar/Desktop/Baltimore_App/assets/F12.jpg" height = 200> -->
<center>
<!-- sales doughnut charts -->
<div class="row">
<div class="col-md-4">
<div class="inview" id="sales-doughnut-chart-us"></div>
<h4 class="align-center">Chances of Comeback</h4>
</div>
<div class="col-md-4">
<div class="inview" id="sales-doughnut-chart-nl"></div>
<h4 class="align-center">Comeback Trip or Regular Trip</h4>
</div>
<div class="col-md-4">
<div class="inview" id="sales-doughnut-chart-de"></div>
<h4 class="align-center">Warranty Period</h4>
</div>
</div>
</center>
<!-- row sales doughnt charts -->
<hr>
<!-- stats spline area charts -->
<div class="row">
<div class="col-md-4">
<div class="card card-block">
<h5 class="card-title" >Total Cost Last Year this Vehicle</h5>
<h2 id ="number_1">$79600</h2>
<div class="inview" id="page-views-spline-area-chart"></div>
</div>
</div>
<div class="col-md-4">
<div class="card card-block">
<h5 class="card-title">Total Cost Last Month this Vehicle</h5>
<h2 id ="number_2">$62012</h2>
<div class="inview" id="orders-spline-area-chart"></div>
</div>
</div>
<div class="col-md-4">
<div class="card card-block">
<h5 class="card-title">Avg Cost Last 12 mo.(Department)</h5>
<h2 id ="number_3">$42066</h2>
<div class="inview" id="revenue-spline-area-chart"></div>
</div>
</div>
</div>
<!-- row stats spline area charts -->
<hr>
<h3>Comeback vs Regular (Department)</h3>
<!-- users doughnut and spline chart -->
<div class="row">
<div class="col-lg-3 col-md-4">
<div class="inview" id="users-doughnut-chart"></div>
</div>
<div class="col-lg-9 col-md-8">
<div class="inview" id="users-spline-chart"></div>
</div>
</div>
<!-- row users doughnut and spline chart -->
<hr>
<h3>Percentage of Repairs by Parts</h3>
<!-- users countries bar chart -->
<div class="row">
<div class="col-md-12">
<div class="inview" id="users-countries-bar-chart"></div>
</div>
</div>
<!-- row users countries bar chart -->
</div> <!-- container -->
</body>
</html>