diff --git a/forecast.html b/forecast.html new file mode 100644 index 0000000..1330d35 --- /dev/null +++ b/forecast.html @@ -0,0 +1,248 @@ + + + + + Prognoza pogody - {{ city }} + + + + +

Prognoza pogody dla {{ city }}

+ + {% if error %} +

{{ error }}

+ {% elif forecast and forecast.time %} + + + + + + + + + + + {% for i in range(forecast.time|length) %} + + + + + + + {% endfor %} + +
DataTemperatura maks. (°C)Temperatura min. (°C)Opady (mm)
{{ forecast.time[i] }}{{ forecast.temperature_2m_max[i] }}{{ forecast.temperature_2m_min[i] }}{{ forecast.precipitation_sum[i] }}
+ +
+ +
+ + + + {% else %} +

Brak danych pogodowych.

+ {% endif %} + + +