-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
126 lines (107 loc) · 4.65 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
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<META HTTP-EQUIV="expires" CONTENT="Wed, 19 Feb 2003 08:00:00 GMT"><!-- from https://www.webdeveloper.com/forum/d/28218-force-page-to-not-load-from-cache/3 -->
<title>Overview - Payanam</title>
<link href="lib/bootstrap.v4.0.0.min.css" crossorigin="anonymous" alt="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" rel="stylesheet">
<link href="lib/jquery-ui.css" rel="stylesheet">
<link href="lib/tabulator.min.css" rel="stylesheet">
<link href="lib/leaflet.css" orig="https://unpkg.com/leaflet@1.2.0/dist/leaflet.css" rel="stylesheet">
<link href='lib/leaflet.fullscreen.css' alt='https://api.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v1.0.1/leaflet.fullscreen.css' rel='stylesheet' />
<link rel="stylesheet" href="lib/easy-button.css" alt="https://cdn.jsdelivr.net/npm/leaflet-easybutton@2/src/easy-button.css">
<link href="js/style.css" rel="stylesheet">
<!-- Put the CSSs first and JSs next -->
<script src="lib/jquery-3.3.1.min.js" type="text/javascript"></script>
<script src="lib/jquery-ui.min.js" type="text/javascript"></script>
<script src="lib/popper.v1.12.9.min.js" crossorigin="anonymous" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" alt="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="lib/bootstrap.v4.0.0.min.js" crossorigin="anonymous" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" alt="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="lib/tabulator.min.js" type="text/javascript"></script>
<script src="lib/papaparse.min.js" type="text/javascript"></script>
<script src="lib/leaflet.js"></script>
<script src="lib/easy-button.js" alt="https://cdn.jsdelivr.net/npm/leaflet-easybutton@2/src/easy-button.js"></script>
<script src='lib/Leaflet.fullscreen.min.js' alt='https://api.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v1.0.1/Leaflet.fullscreen.min.js'></script>
<script src="lib/leaflet-ant-path.js"></script>
<script src="lib/Leaflet.Control.Custom.js"></script>
<script src="lib/leaflet-providers.js"></script>
<style>
body {
color: black;
}
.tabulator {
color: black !important;
size: 0.9em;
}
#map {
height: 100%;
width: 100%;
min-width: 300px;
}
.nopad {
padding-left: 0px;
padding-right: 0px;
}
.divOnMap1 {
padding: 10px;
background: rgba(255, 255, 255, 0.6);
/*font-size: 14px;*/
border-radius: 5px;
box-shadow:0px 0px 5px black;
}
.greenTick {
color: green;
font-size: 2em;
line-height: 0.5em;
}
</style>
</head>
<body>
<div id="topMenu"></div>
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<big><big>Routes Overview</big> </big>
<button onclick="loadRoutes('progress')" class="btn btn-outline-primary btn-sm">Load routes<br>in progress</button>
<button onclick="loadRoutes('locked')" class="btn btn-outline-success btn-sm">Load locked<br>routes</button>
<button onclick="loadRoutes('all')" class="btn btn-outline-warning btn-sm">Load all <br>routes</button>
</div><div class="col-md-3">
<small><div class="alert alert-secondary" id="status">Status</div></small>
</div><div class="col-md-3">
<small>Note: data here is refreshed every 10 mins or so at backend. So Ctrl+F5 (full refresh) to get latest updates.</small>
</div>
</div>
<div class="row">
<div class="col-md-7 nopad">
<div id="routes"></div>
</div><div class="col-md-5 nopad">
<div id="map"></div>
</div></div>
<br>
<div class="row">
<div class="col-md-8">
<h5>Toggle more columns:</h5>
<label><input type="checkbox" id="autoMapped"> % automapped</label> |
<label><input type="checkbox" id="manuallyMapped"> % manually mapped</label> |
<label><input type="checkbox" id="hull"> convex hull area</label> |
<label><input type="checkbox" id="filename"> filename</label> |
<label><input type="checkbox" id="busType"> bus type</label>
<br><label><input type="checkbox" id="onwardMapped"> Onward %</label> |
<label><input type="checkbox" id="returnMapped"> Return %</label>
</div>
<div class="col-md-4">
<small>
<p class="alert alert-warning">Notes:<br>
- Color bars : If less than 50%, yellow. If more, blue.<br>
- "hull" column : A geometric value of the extent of map area occupied by a route, calculated using Convex Hull algorithm.</p>
</small>
</div>
</div>
<br>
<br>
<p id="keyStatus"></p>
</div>
<!-- END HTML. BEGIN SCRIPT-->
<script src="js/common.js"></script>
<script src="js/overview.js"></script>
</body>
</html>