%# /templates/chelsea.html.ep % layout 'default'; % title 'Chelsea Weather Dashboard'; <% content_for 'head' => begin %> <% end %>

🏖️ Chelsea Forecast

REFRESH
<% if (scalar @$forecast > 0) { %> <% for my $day (@$forecast) { %> <% my $anchor_id = (split(',', $day->{label}))[0]; %>
<%= $day->{label} %>
<% for my $r (@{$day->{rows}}) { %> <% } %>
Time Cond Temp Wind Gusts Waves Rain
<%= $r->{time} %> <%= $r->{icon} %> <%= $r->{temp} %>° <%= $r->{ws_kmh} %>km/h <%= $r->{wg_kmh} %>km/h <%= $r->{wh} %>m <%= $r->{rain} %>mm
<% } %> <% } else { %>

⚠️ Scraper Error

The forecast data could not be retrieved from the source. Please check the server logs.

<% } %>