{% extends "base.html" %} {% block title %}{{_("Weather")}} | {{response.location}} | {{response.date.strftime('%a, %d %B %Y')}}{% endblock %} {% block header %} {{_("Weather")}} {% endblock %} {% block content %}

{% if response.period == 'day' %} ⬅️ ⬆️ {{response.location}} | {{format_date(response.date, 'E, d MMMM Y', locale=request.state.language)}} ➡️ {% endif %} {% if response.period == 'days' %} {{response.location}} | {{format_date(response.date, 'E, d MMMM Y', locale=request.state.language)}} {% endif %}

{% for value in response.values %} {% if response.period == 'day' %} {% endif %} {% if response.period == 'days' %} {% endif %} {% endfor %} {% for value in response.values %} {% endfor %} {% for value in response.values %} {% endfor %} {% for value in response.values %} {% endfor %} {% for value in response.values %} {% endfor %} {% for value in response.values %} {% endfor %} {% for value in response.values %} {% endfor %} {% for value in response.values %} {% endfor %}
{{value.date.strftime('%H:%M')}} {{format_date(value.date, 'E d', locale=request.state.language)}}
{{_("Cloudiness")}}
{% for icon in value.sky | cloudness_icon %}
{{icon}}
{% endfor %}
{{_("Temperature, °C")}}
{% for temperature in value.temperature %}
{{temperature}}
{% endfor %}
{{_("Wind direction")}}
{{value.wind_direction | wind_direction_icon}}
{{_("Wind speed, m/s")}}
{{value.wind_speed}} {% if value.wind_gust != value.wind_speed %} ({{value.wind_gust}}) {% endif %}
{{_("Precipitation, mm")}}
{{value.precipitation or ' '}}
{{_("Pressure, mmHg")}}
{% for pressure in value.pressure %}
{{pressure}}
{% endfor %}
{{_("Humidity, %")}}
{{value.humidity}}
{% endblock %}