From 75e1a3a979990c9db3e6473fd62f86a6a5d349a5 Mon Sep 17 00:00:00 2001 From: LeeGordon83 Date: Wed, 27 Sep 2023 10:50:29 +0100 Subject: [PATCH] Revert "reduced white space on rainfall pages (#551)" This reverts commit fd5ae35521ddea1c927f575e75bfeffb27878cdf. --- server/views/rainfall-station.html | 223 +++++++++++++++-------------- 1 file changed, 112 insertions(+), 111 deletions(-) diff --git a/server/views/rainfall-station.html b/server/views/rainfall-station.html index 3bf0bee85..f57179fbe 100644 --- a/server/views/rainfall-station.html +++ b/server/views/rainfall-station.html @@ -1,142 +1,143 @@ {% extends 'layout.html' %} {% block content %} -
-
-

+
+
+

Rainfall at {{ model.stationName }} gauge

-
+

- {# Latest Status #} - {% if model.outOfDate === 'offline' %} -
-
-
-

This measuring station is offline

-

+{# Latest Status #} +{% if model.outOfDate === 'offline' %} +

+
+
+

This measuring station is offline

+

We are working to get it back online. You can check another river, sea, groundwater or rainfall level.

-
-
-
- {% endif %} - {% if model.outOfDate === 'problem' %} -
-
-
-

There's a problem with the latest measurement

-

+

+
+
+{% endif %} +{% if model.outOfDate === 'problem' %} +
+
+
+

There's a problem with the latest measurement

+

The latest measurement is unreliable. This could be due to a fault with the measuring equipment.

-
-
-
- {% endif %} - {% if model.outOfDate === 'closed' %} -
-
-
-

This measuring station is closed

-

+

+
+
+{% endif %} +{% if model.outOfDate === 'closed' %} +
+
+
+

This measuring station is closed

+

No data is available. You can check another river, sea, groundwater or rainfall level.

-
-
-
- {% endif %} +
+
+
+{% endif %} -
-
- +
+
+ -
-
-
-
-

+
+
+
+
+

Totals up to {{ model.latestTimeFormatted }} on {{ model.latestDayFormatted }} -

-
-
-
-
+

+
+
+
+
1 hour
-
- - {{ model.telemetryRainfall.latest1hr }}mm +
+ + {{ model.telemetryRainfall.latest1hr }}mm -
-
-
-
+ +
+
+
6 hours
-
- - {{ model.telemetryRainfall.latest6hr }}mm +
+ + {{ model.telemetryRainfall.latest6hr }}mm -
-
-
-
+ +
+
+
24 hours
-
- - {{ model.telemetryRainfall.latest24hr }}mm +
+ + {{ model.telemetryRainfall.latest24hr }}mm -
-
-
+
-
+
- {% if model.outOfDate === '' %} -
-
-

Rainfall over the last 5 days in millimetres

-
- - Download data CSV (12KB) -
-
- {% endif %} +
+ +{% if model.outOfDate === '' %} +
+
+

Rainfall over the last 5 days in millimetres

+
+ Download data CSV (12KB) +
+
+{% endif %} -
-
- {% include "partials/context-footer.html" %} - {% include "partials/related-content.html" %} -
-
+
+
+ {% include "partials/context-footer.html" %} + {% include "partials/related-content.html" %} +
+
- {% endblock %} +{% endblock %} - {% block bodyEnd %} - {{ super() }} - - - - {% endblock %} +{% block bodyEnd %} +{{ super() }} + + + +{% endblock %}