|
|
@ -117,7 +117,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.weatherday {
|
|
|
|
.weatherday {
|
|
|
|
float: left;
|
|
|
|
float: left;
|
|
|
|
width: 25%;
|
|
|
|
width: 12.5%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.weatherperiod img {
|
|
|
|
.weatherperiod img {
|
|
|
|
width: 50%;
|
|
|
|
width: 50%;
|
|
|
@ -192,16 +192,16 @@
|
|
|
|
<div class="weatherday">
|
|
|
|
<div class="weatherday">
|
|
|
|
<h6>Today</h6>
|
|
|
|
<h6>Today</h6>
|
|
|
|
% for period in forecast:
|
|
|
|
% for period in forecast:
|
|
|
|
% if daycount <= 3:
|
|
|
|
% if (daycount <= 4) and (period["day"] != curr_day):
|
|
|
|
% if period["day"] != curr_day:
|
|
|
|
<%
|
|
|
|
<%
|
|
|
|
daycount += 1
|
|
|
|
daycount += 1
|
|
|
|
curr_day = period["day"]
|
|
|
|
curr_day = period["day"]
|
|
|
|
%>
|
|
|
|
%>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="weatherday">
|
|
|
|
<div class="weatherday">
|
|
|
|
<h6>${period["day"]}</h6>
|
|
|
|
<h6>${period["day"]}</h6>
|
|
|
|
% endif
|
|
|
|
% endif
|
|
|
|
|
|
|
|
% if daycount <= 3:
|
|
|
|
<div class="weatherperiod">
|
|
|
|
<div class="weatherperiod">
|
|
|
|
<img src="file://${period['symbol']}" />
|
|
|
|
<img src="file://${period['symbol']}" />
|
|
|
|
<p class="weathertime">${period["period"]}</p>
|
|
|
|
<p class="weathertime">${period["period"]}</p>
|
|
|
|