-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalert.html
81 lines (74 loc) · 2.26 KB
/
alert.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MTA Service Alert</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
}
.language-selector {
margin-top: 20px;
}
.btn {
display: inline-block;
background-color: #0056b3;
color: #ffffff;
padding: 10px 20px;
margin: 20px 0;
border-radius: 5px;
text-decoration: none;
transition: background-color 0.3s;
}
.btn:hover {
background-color: #003d82;
}
.elevator-entry {
background-color: #f4f4f4;
border: 1px solid #ddd;
padding: 10px;
margin-bottom: 10px;
border-radius: 5px;
width: 80%;
max-width: 800px;
}
.elevator-entry h2 {
color: #0056b3;
}
.elevator-entry p {
margin: 5px 0;
}
h1 {
margin-top: 20px;
}
.service-alert-title {
margin-top: 20px;
font-size: 28px;
font-weight: bold;
}
</style>
</head>
<body>
<h1 data-translate="header">MTA Elevator Accessibility Status</h1>
<div class="language-selector">
<select id="language-selector" onchange="translatePage(this.value)">
<option value="en">English</option>
<option value="es">Spanish</option>
<option value="fr">French</option>
</select>
</div>
<a href="https://map.mta.info" target="_blank" class="btn">View MTA Map</a>
<a href="https://new.mta.info/map/5341" target="_blank" class="btn">Go to MTA Map</a>
<div class="service-alert-title">Service Alerts</div>
<div id="service-alerts-status"></div>
<script src="service_alert.js"></script>
<div id="elevator-status"></div>
<script src="mta_elevator_status.js"></script>
</body>
</html>