-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
70 lines (63 loc) · 3.3 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>MARTA Bus Optimization</title>
<base href="/">
<link rel="shortcut icon" href="imgs/marta-square.ico">
<link rel="stylesheet" href="css/index.css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script src='https://d3js.org/d3.v4.min.js'></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.min.js" crossorigin="anonymous" defer></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.bundle.min.js" integrity="sha384-lZmvU/TzxoIQIOD9yQDEpvxp6wEU32Fy0ckUgOH4EIlMOCdR823rg4+3gWRwnX1M" crossorigin="anonymous" defer></script>
<script src="js/main.min.js" defer></script>
<script src="https://d3js.org/d3-queue.v3.min.js"></script>
<script src="/js/map.js"></script>
<link rel="stylesheet" type="text/css" href="css/day.css" id="time-stylesheet">
</head>
<body onload="initMap()">
<nav id="headerMarta" class="navbar navbar-expand-sm navbar-light bg-light">
<a class="navbar-brand" href="#"><img id="navLogo" src="imgs/marta.png" alt="MARTA Logo" height="33" width="100"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="#">Home</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Bus Routes
</a>
<div id="dropdown" class="dropdown-menu" aria-labelledby="navbarDropdown">
<!-- <a class="dropdown-item" href="#">Bus 1</a>
<a class="dropdown-item" href="#">Bus 2</a> -->
<!-- CAN ADD MORE BUS ROUTES HERE -->
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Colors
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#" id="day" onclick="changeDay()">Light Mode</a>
<a class="dropdown-item" href="#" id="night" onclick="changeNight()">Dark Mode</a>
</div>
</li>
</ul>
</div>
<button id='enable' class='button'> Enable Coverages</button>
<button id='removeBtn' class='button'> Remove Coverage</button>
</nav>
<div id="wrapper">
<div id="map"></div>
</div>
</script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBpWRyIAxW2rc8HgZssAWARXef2c7qEGgU&callback=initMap">
</script>
</body>
</html>