forked from nebulx29/MMM-bergfex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
76 lines (71 loc) · 1.41 KB
/
index.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
---
layout: default
title: Ski Areas
datatable: true
---
<h1>Ski Areas</h1>
{% for area in site.data.snow_reports %}
<div>
<h2>{{ area.skiArea }}</h2>
<p>Valley snow: {{ area.valley }}</p>
<p>Mountain snow: {{ area.berg }}</p>
<p>Lifts open: {{ area.lift.open }} / {{ area.lift.total }}</p>
<p>Last update: {{ area.update }}</p>
<h3>Lifts</h3>
<table class="display">
<colgroup>
<col width="15%" />
<col width="20%" />
<col width="45%" />
<col width="20%" />
</colgroup>
<thead>
<tr class="header">
<th>Status</th>
<th>Short</th>
<th>Name</th>
<th>Type</th>
</tr>
</thead>
<tbody>
{% for lift in area.details.liften %}
<tr>
<td markdown="span">{{lift.status}}</td>
<td markdown="span">{{lift.short}}</td>
<td markdown="span">{{lift.name}}</td>
<td markdown="span">{{lift.type}}</td>
</tr>
{% endfor %}
</tbody>
</table>
<h3>Pistes</h3>
<table class="display">
<colgroup>
<col width="5%" />
<col width="10%" />
<col width="10%" />
<col width="50%" />
<col width="25%" />
</colgroup>
<thead>
<tr class="header">
<th>Status</th>
<th>Type</th>
<th>Short</th>
<th>Name</th>
<th>Length</th>
</tr>
</thead>
<tbody>
{% for piste in area.details.pisten %}
<tr>
<td markdown="span">{{piste.status}}</td>
<td markdown="span">{{piste.type}}</td>
<td markdown="span">{{piste.short}}</td>
<td markdown="span">{{piste.name}}</td>
<td markdown="span">{{piste.length}}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endfor %}