From ba5304e4957b024f58c62b693cc6b8398f6df7f9 Mon Sep 17 00:00:00 2001 From: Silvio Heinze Date: Mon, 13 Jan 2025 18:41:35 +0100 Subject: [PATCH] templates cities and stations list: change margins h2 --- app/templates/cities/list.html | 4 +- app/templates/stations/list.html | 222 +++++++++++++++---------------- 2 files changed, 111 insertions(+), 115 deletions(-) diff --git a/app/templates/cities/list.html b/app/templates/cities/list.html index 323f00b..b5ea0a1 100644 --- a/app/templates/cities/list.html +++ b/app/templates/cities/list.html @@ -8,8 +8,7 @@ {% endblock styles %} {% block content %} -
-

{% trans "Cities and municipalities" %}

+

{% trans "Cities and municipalities" %}

{% if error %} {% endif %} {% endif %} -
{% endblock content %} \ No newline at end of file diff --git a/app/templates/stations/list.html b/app/templates/stations/list.html index 33d3604..7275e08 100644 --- a/app/templates/stations/list.html +++ b/app/templates/stations/list.html @@ -33,130 +33,128 @@ {% endblock styles %} {% block content %} -
-

{% trans "Stations overview" %}

+

{% trans "Stations overview" %}

- - {% if error %} - - {% endif %} - -
- -
-

{% trans "Top 10 with the highest values for PM2.5" %}

- + +{% if error %} + +{% else %} +
+ +
+

{% trans "Top 10 with the highest values for PM2.5" %}

+ - {% if top_stations.has_other_pages %} -
+ {% endfor %} + + {% if top_stations.has_next %} +
  • + + + +
  • + {% else %} +
  • + +
  • + {% endif %} + + + {% endif %} +
    - -
    -

    {% trans "Top 10 with the lowest values for PM2.5" %}

    - + +
    +

    {% trans "Top 10 with the lowest values for PM2.5" %}

    + - {% if lowest_stations.has_other_pages %} -
    + {% endfor %} + + {% if lowest_stations.has_next %} +
  • + + + +
  • + {% else %} +
  • + +
  • + {% endif %} + + + {% endif %}
    +{% endif %} {% endblock content %} \ No newline at end of file