-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.handlebars
58 lines (54 loc) · 1.96 KB
/
popup.handlebars
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
<div class="nsw-oeh-beachwatch-popup">
<h4>{{title}}</h4>
<div class="row">
<div class="alert-box info-box">
<span class="fa-stack fa-3x">
<i class="info-icon fa fa-circle fa-stack-2x text-{{advice-color}}"></i>
<i class="info-icon oc-swimming fa-stack-1x fa-inverse"></i>
</span>
<br>
<span class="text-{{advice-color}} box-label">Pollution is {{advice}}</span>
</div>
<div class="temp-box info-box">
<span class="ocean-temp">
{{oceanTemp}}°C
</span>
<br>
<span>Water Temp</span>
</div>
</div>
<div class="row">
<div class="col-md-12">
<table class="table table-condensed table-striped">
<tbody>
<tr>
<td class="key">Patrolled</td>
<td>{{patrolInfo}}</td>
</tr>
<tr>
<td class="key">Swell</td>
<td>{{swell}}</td>
</tr>
<tr>
<td class="key">High tide</td>
<td>{{highTide}}</td>
</tr>
<tr>
<td class="key">Low tide</td>
<td>{{lowTide}}</td>
</tr>
<tr>
<td class="key">Last Updated</td>
<td>
{{current-as-of-ago}}<br>
<small>({{current-as-of}})</small>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="attribution">
<span><small>Based on information from <a target="_blank" href="http://www.environment.nsw.gov.au/topics/water/beaches">NSW OEH Beachwatch</a></small></span>
</div>
</div>