mirror of
https://gitlab.silvrtree.co.uk/martind2000/old-silvrgit.git
synced 2025-01-26 21:36:17 +00:00
23 lines
614 B
Plaintext
23 lines
614 B
Plaintext
|
|
|
|
<div id="container" class="mui-panel">
|
|
<h1>Weather</h1>
|
|
<div class="mui-row"><div class="mui-col-md-12">Currently: <%=data.weather.currently%></div></div>
|
|
<div class="mui-row"><div class="mui-col-md-12">Later: <%=data.weather.today%></div></div>
|
|
|
|
<% if (data.weather.alerts.length > 0) {
|
|
for (var i =0; i < data.weather.alerts.length; i++) {
|
|
%>
|
|
|
|
<div class="mui-row">
|
|
<div class="mui-col-md-12 mui--text-danger"><%=data.weather.alerts[i].title%></div>
|
|
<div class="mui-col-md-12"><%=data.weather.alerts[i].description%></div>
|
|
</div>
|
|
|
|
<%
|
|
|
|
}
|
|
}%>
|
|
|
|
</div>
|