-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresponse.html
More file actions
62 lines (61 loc) · 3.28 KB
/
Copy pathresponse.html
File metadata and controls
62 lines (61 loc) · 3.28 KB
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
<!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="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Reddit+Sans:ital,wght@0,200..900;1,200..900&display=swap" rel="stylesheet">
<title>GO Transit API</title>
</head>
<body>
<nav id="mainNav">
<div id="navgrid">
<img id="logo" src="img/GO_Transit_logo.svg" alt="GO Transit Logo" class="logo">
<h1 class="reddit-sans-departures">Oakville GO Departures</h1>
<div class="clock-wrap">
<div id="liveClock" title="Local time"></div>
<button id="clockToggle" title="Toggle 24/12 hour format">24H</button>
</div>
</div>
</nav>
<p id="loading" class="reddit-sans-body">Loading...</p>
<div id="tableGrid">
<div id="departures"></div>
<div id="search">
<h2 class="reddit-sans-body">Where To?</h2>
<form id="searchForm">
<label for="to" class="reddit-sans-body">To:</label>
<input type="text" id="to" name="to" value="un" required>
<label for="start" class="reddit-sans-body">Start Time (HHMM):</label>
<input type="text" id="start" name="start" value="0900" required>
<label for="max" class="reddit-sans-body">Max Results:</label>
<button type="submit" class="reddit-sans-body">Search</button>
</form>
<div id="stationPanel">
<h3 class="reddit-sans-body">Lakeshore West Stops</h3>
<div id="stationLayout">
<div id="lineSvgWrap">
<!-- SVG will also be accessible as an image for layout; script will fetch inline for interaction -->
<img id="lineSvgImg" src="img/linedisplay.svg" alt="Line display"/>
</div>
<ul id="stationList" class="reddit-sans-body">
<li><button class="station-btn" data-code="aldershot">Aldershot</button></li>
<li><button class="station-btn" data-code="burlington">Burlington</button></li>
<li><button class="station-btn" data-code="appleby">Appleby</button></li>
<li><button class="station-btn" data-code="bronte">Bronte</button></li>
<li><button class="station-btn" data-code="oakville">Oakville</button></li>
<li><button class="station-btn" data-code="clarkson">Clarkson</button></li>
<li><button class="station-btn" data-code="port_credit">Port Credit</button></li>
<li><button class="station-btn" data-code="long_branch">Long Branch</button></li>
<li><button class="station-btn" data-code="mimico">Mimico</button></li>
<li><button class="station-btn" data-code="exhibition">Exhibition</button></li>
<li><button class="station-btn" data-code="union">Union Station</button></li>
</ul>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>