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