-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (63 loc) · 2.09 KB
/
Copy pathindex.html
File metadata and controls
70 lines (63 loc) · 2.09 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
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<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=Inter:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css" type="text/css" />
<title>TfL Live Arrivals by Spectre0100</title>
<link rel='icon' type='image/x-icon' href='favicon/favicon.ico' />
</head>
<header>
<h1>TfL Live Arrivals</h1>
<p class="subtitle">
<a href="https://github.com/Spectre0100/Spectre0100.github.io"
>by Spectre0100
</a>
</p>
<button id="theme-toggle" class="theme-toggle" aria-label="Toggle theme">
<span class="theme-icon">☀️</span>
</button>
</header>
<main>
<!-- TfL Roundel SVG -->
<svg width="0" height="0" style="position:absolute">
<symbol id="tfl-roundel" viewBox="0 0 512 512">
<!-- Outer ring -->
<circle
cx="256"
cy="256"
r="170"
fill="none"
stroke="currentColor"
stroke-width="72"
/>
<!-- Horizontal bar -->
<rect x="0" y="228" width="512" height="72" rx="0" fill="currentColor" />
</symbol>
</svg>
<div class="update-indicator">
<span class="update-dot"></span>
<span id="last-updated">Connecting...</span>
</div>
<div id="disruptions-banner" class="disruptions-banner hidden">
<div class="disruptions-header" onclick="toggleDisruptions()">
<div class="disruptions-title">
<span class="disruptions-icon">⚠️</span>
<span>Disruptions</span>
<span class="disruptions-title-badges" id="disruptions-title-badges"></span>
</div>
<span class="expand-icon" id="expand-icon">▶</span>
</div>
<div class="disruptions-hint" id="disruptions-hint">
Tap for details
</div>
<div class="disruptions-content" id="disruptions-content"></div>
</div>
<div id="stations-container"></div>
</main>
<script src="script.js"></script>