-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoffline.html
76 lines (69 loc) · 1.81 KB
/
offline.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
<html>
<head>
<meta charset="UTF-8">
<link rel="manifest" href="/manifest.json">
<title>City Dashboard</title>
<style>
body {
background-color: #e8e8e8;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: #333;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
color: #4a90e2;
}
.container {
width: 80%;
max-width: 800px;
margin-top: 20px;
padding: 20px;
background-color: white;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}
#clock, #nextTramTime, #weatherContainer {
font-size: 20px;
margin-bottom: 20px;
}
table {
width: 100%;
border-collapse: collapse;
}
th, td {
text-align: center;
border: 1px solid #ddd;
padding: 8px;
}
th {
background-color: #f2f2f2;
}
tr:nth-child(even) {
background-color: #f9f9f9;
}
</style>
</head>
<body>
<div class="container">
<h1>Clock Live</h1>
<div id="clock">01:38:56</div>
<script src="clock.js"></script>
</div>
<div class="container">
<h1>Next Tram Departure from Hlawkagasse</h1>
<div id="nextTramTime">Next departures: 05:03, 05:10, 05:17, 05:24</div>
<script src="tramSchedule.js"></script>
</div>
<div class="container">
<h1>Weather Forecast</h1>
<div id="weatherContainer">
<!-- Weather Table Here -->
</div>
<script src="weather.js"></script>
</div>
</body>
</html>