forked from officialankan/weather-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmonth-view.html
37 lines (37 loc) · 1.2 KB
/
month-view.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
<!-- month view -->
<table class="table table-hover">
<thead>
<tr>
<th class="text-center" rowspan="3">Month</th>
<th class="text-center" colspan="6">Temperature</th>
<th class ="text-center" colspan="2">Rainfall</th>
</tr>
<tr>
<th colspan="3" class="text-center">Daytime max</th>
<th colspan="3" class="text-center">Nighttime min</th>
<th rowspan="2" class="text-center">Total (mm)</th>
<th rowspan="2" class="text-center">Rainy days</th>
</tr>
<tr>
<th>highest</th>
<th>average</th>
<th>lowest</th>
<th>highest</th>
<th>average</th>
<th>lowest</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="data in month | orderBy: 'Date':true ">
<td>{{ data.Date | date:"MMMM yyyy"}}</td>
<td>{{ data.TempOutMaxHi }}</td>
<td>{{ data.TempOutMaxAve }}</td>
<td>{{ data.TempOutMaxLo }}</td>
<td>{{ data.TempOutMinHi }}</td>
<td>{{ data.TempOutMinAve }}</td>
<td>{{ data.TempOutMinLo }}</td>
<td>{{ data.Rain + ' mm' }}</td>
<td>{{ data.RainDays }}</td>
</tr>
</tbody>
</table>