Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.28.5 (build 3282) - 23 February 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Six Across by Two Down Layout

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
User avatar
The Dalek Hunter
Posts: 224
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Ecowitt GW1000B, Ecowitt GW2000
Operating System: macOS Sonoma on a Mac Mini M2
Contact:

Six Across by Two Down Layout

Post by The Dalek Hunter »

I have the SteelSeries Gauges here

https://wx-watch.co.uk/weathercat/custom/steel/

Being fed by WeatherCat.

I want to display the webpage on an old Android tablet in landscape mode.
How do I set the layout so the gauges are displayed in a six across by two down layout?

Thanks
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: Six Across by Two Down Layout

Post by sfws »

if the documentation here is of no help, see if the documentation here is more useful.
Last edited by sfws on Fri 17 Jun 2022 8:52 am, edited 1 time in total.
broadstairs
Posts: 706
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW1003/GW1103/GW2000
Operating System: Windows 7 and Linux
Location: Broadstairs, Kent, UK
Contact:

Re: Six Across by Two Down Layout

Post by broadstairs »

I just had a play with mine and it is possible to remove some of the div and /div statements (actually the /div and div pairs in that order to concatenate the rows) to make them appear in longer rows which will reformat back to shorter rows if the screen is smaller in width. It is trial and error to decide which pairs of statements to remove but it does work. It may be easier to have a separate page for the 2x6 rows so that it wont mess up on other screens.

Stuart
broadstairs
Posts: 706
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW1003/GW1103/GW2000
Operating System: Windows 7 and Linux
Location: Broadstairs, Kent, UK
Contact:

Re: Six Across by Two Down Layout

Post by broadstairs »

You can see my effort at https://www.stella-maris.org.uk/wxgauges2.phtml.

Stuart
User avatar
The Dalek Hunter
Posts: 224
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Ecowitt GW1000B, Ecowitt GW2000
Operating System: macOS Sonoma on a Mac Mini M2
Contact:

Re: Six Across by Two Down Layout

Post by The Dalek Hunter »

Thanks for the help - I am afraid my coding skills are ≤ 0 !

I was hoping the answer would be "Go to line 86 and change the 3 to a 6 and the and the 4 to a 2"

:D :D :D :D
broadstairs
Posts: 706
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW1003/GW1103/GW2000
Operating System: Windows 7 and Linux
Location: Broadstairs, Kent, UK
Contact:

Re: Six Across by Two Down Layout

Post by broadstairs »

I'll upload a basic copy of my html which does this so you could have a play and copy some of it to see how you get on. It might just get you moving forward with this.

Stuart
User avatar
The Dalek Hunter
Posts: 224
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Ecowitt GW1000B, Ecowitt GW2000
Operating System: macOS Sonoma on a Mac Mini M2
Contact:

Re: Six Across by Two Down Layout

Post by The Dalek Hunter »

Many thanks indeed.

I will take a look later
Post Reply