From f633ef94107c7ff9fca6507ec5406d7420d256c9 Mon Sep 17 00:00:00 2001 From: jakub_figat Date: Thu, 24 Jul 2025 12:21:03 +0000 Subject: [PATCH] Add forecast.html --- forecast.html | 248 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 248 insertions(+) create mode 100644 forecast.html 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 %} + + +