-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrains.html
81 lines (74 loc) · 3.63 KB
/
trains.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
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Trainwall.uk - A train timetable for your wall</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.1/css/bulma.min.css" integrity="sha256-zIG416V1ynj3Wgju/scU80KAEWOsO5rRLfVyRDuOv7Q=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<link rel="apple-touch-icon" sizes="180x180" href="/assets/images/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/images/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/images/icons/favicon-16x16.png">
<link rel="manifest" href="/assets/images/icons/site.webmanifest">
<link rel="mask-icon" href="/assets/images/icons/safari-pinned-tab.svg" color="#282828">
<meta name="msapplication-TileColor" content="#ffc40d">
<meta name="theme-color" content="#000000">
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js"></script>
<script>window.addEventListener("load",function(){window.cookieconsent.initialise({palette:{popup:{background:"#edeff5",text:"#838391"},button:{background:"#4b81e8"}},position:"bottom-right"})});</script>
<!-- Matomo -->
<script type="text/javascript">
var _paq = _paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
_paq.push(["setCookieDomain", "*.trainwall.uk"]);
_paq.push(["setDomains", ["*.trainwall.uk"]]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//analytics.delta360.net/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '4']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//analytics.delta360.net/piwik.php?idsite=4&rec=1" style="border:0;" alt="" /></p></noscript>
<!-- End Matomo Code -->
</head>
<body>
<div class="hero-body" style="padding: 2% 0;">
<div class="container has-text-centered">
<img src="/assets/images/trainwall.svg" width="150px"></br></br>
<div id="app">
<table class="table is-bordered is-striped is-hoverable is-fullwidth">
<thead>
<tr>
<th>Destination</th>
<th>Origin</th>
<th>Platform</th>
<th>Status</th>
<th>Arrival</th>
<th>Departure</th>
<th>Operator</th>
</tr>
</thead>
<tbody>
<tr v-for="item in items">
<td>{{ item.destination_name }}</td>
<td>{{ item.origin_name }}</td>
<td>{{ item.platform }}</td>
<td>{{ item.status }}</td>
<td>{{ item.aimed_arrival_time }} <span v-if="item.expected_arrival_time">(exp. {{ item.expected_arrival_time }})</span></td>
<td>{{ item.aimed_departure_time }} <span v-if="item.expected_departure_time">(exp. {{ item.expected_departure_time }})</span></td>
<td>{{ item.operator_name }}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<script src="/assets/js/wallboard.min.js"></script>
</body>
</html>