A small suggestion to uniform the rendering of the gauges page of CumulusMX
Posted: Mon 18 Jul 2022 12:56 pm
On Juanuary 2022 I first installed CumulusMX on a Raspberry Pi mod. 3B+ to publish on the web weather data sensed by my Davis Vantage Pro2; I used the pre-built Raspberry image of version 3.14.2 build 3162 available at that time and yesterday I updated to the current version of CumulusMX (3.19.1 build 3194 of July 14, 2022).
I noted that already in v3.14.2 the aspect of the gauges in the corresponding web page was not homogeneus for all of them; in fact, the Wind Rose background appear square and a little smaller than the backgrounds of all other gauges.This "problem" persists also in v3.19.1 to which I just updated.
Opening the gauges.htm file I noted that the class declaration for the <div> section corresponding to Wind Rose (line 134) is:
while for all other gauge divs it is
Replacing with solves this small aesthetic problem.
IMHO this correction should be done on the original gauges.htm file.
Greetings.
I noted that already in v3.14.2 the aspect of the gauges in the corresponding web page was not homogeneus for all of them; in fact, the Wind Rose background appear square and a little smaller than the backgrounds of all other gauges.This "problem" persists also in v3.19.1 to which I just updated.
Opening the gauges.htm file I noted that the class declaration for the <div> section corresponding to Wind Rose (line 134) is:
Code: Select all
<div class="w3-panel w3-theme-l5 at-gauge-small" style="order:0;">Code: Select all
<div class="w3-panel w3-theme-l5 at-gaugeSmall" style="order:0;">Code: Select all
"w3-panel w3-theme-l5 at-gauge-small"Code: Select all
"w3-panel w3-theme-l5 at-gaugeSmall"IMHO this correction should be done on the original gauges.htm file.
Greetings.