-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.handlebars
63 lines (59 loc) · 2.35 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
59
60
61
62
63
<div class="nsw-rfs-majorincident-popup">
<h4>{{title}}</h4>
<div class="row">
<div class="alert-box info-box">
<span class="key">Alert Level</span>
<br>
<span class="fa-stack fa-3x">
<i class="info-icon fa fa-square fa-stack-2x text-{{alert-level-color}}"></i>
<i class="info-icon oc-fire-station fa-stack-1x fa-inverse"></i>
</span>
<br>
<span class="text-{{alert-level-color}} box-label">{{alert-level}}</span>
</div>
<div class="status-box info-box" data-toggle="tooltip" title="{{status-tooltip}}">
<span class="key">Status</span>
<br>
<span class="fa-stack fa-3x">
<i class="info-icon fa fa-square fa-stack-2x text-{{status-color}}"></i>
<i class="info-icon oc-fire-station fa-stack-1x fa-inverse"></i>
</span>
<br>
<span class="text-{{status-color}} box-label">{{status}}</span>
</div>
</div>
<div class="row">
<div class="col-md-12">
<table class="table table-condensed table-striped">
<tbody>
<tr>
<td class="key">Type</td>
<td>{{type}}</td>
</tr>
<tr>
<td class="key">Fire</td>
<td>{{#if fire}}Yes{{else}}No{{/if}}</td>
</tr>
<tr>
<td class="key">Size</td>
<td>{{size}}</td>
</tr>
<tr>
<td class="key">Responsible <br>Agency</td>
<td>{{&responsible-agency}}</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.rfs.nsw.gov.au/fire-information/fires-near-me">NSW RFS Current Incidents</a></small></span>
</div>
</div>