-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (40 loc) · 1.73 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
<!DOCTYPE html>
<html>
<head>
<title>UTA Analyzer</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css">
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
<style type="text/css"> #mapid { height: 600px; width: 800px; } </style>
</head>
<body>
<div class="container">
<h1>UTA Analyzer</h1>
<p>Map current location of vehicles for a specific route. Map all current vehicles. Map all vehicle stops.</p>
<div class="form-row">
<div class="form-group row">
<label for="route" class="col-sm-4 col-form-label">Route #</label>
<div class="col-sm-8">
<input type="text" class="form-control" id="route" value="750">
</div>
</div>
<div class="form-group row">
<div class="col-sm-12">
<button class="btn btn-primary getroute">Get Route</button>
</div>
</div>
</div>
<button class="btn btn-primary getAll">Get ALL Routes</button>
<button class="btn btn-primary getStops">Get Stops</button>
<button class="btn btn-danger clearMarkers">Clear Markers</button>
<div><strong>Vehicle Count</strong>: <span class="count"></span></div>
<div id="mapid"></div>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-csv/0.8.9/jquery.csv.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jxon/1.6.1/index.min.js"></script>
<script src="logic.js"></script>
</body>
</html>