Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.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

now ui request

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
n9mfk
Posts: 845
Joined: Sun 10 May 2009 8:52 pm
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Location: Springfield, IL

now ui request

Post by n9mfk »

Steve,

on mx ui now page for the two wind baring would it be had to add the wind direction letter also ?

thanks Beau
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: now ui request

Post by steve »

Like this?
2015-01-29 14_59_35-Cumulus MX.png
Unzip now.html and now.js and replace the ones under 'interface' in your Cumulus folder on your PC. I think it might look better without the degree symbols, you could change these new lines in now.js to remove them if you think so too:

Code: Select all

$('#BearingCP').html('° '+ cp[Math.floor(((parseInt(data.Bearing) + 11) / 22.5) % 16 )]);
$('#AvgbearingCP').html('° '+ cp[Math.floor(((parseInt(data.Avgbearing) + 11) / 22.5) % 16 )]);
to

Code: Select all

$('#BearingCP').html(cp[Math.floor(((parseInt(data.Bearing) + 11) / 22.5) % 16 )]);
$('#AvgbearingCP').html(cp[Math.floor(((parseInt(data.Avgbearing) + 11) / 22.5) % 16 )]);
You do not have the required permissions to view the files attached to this post.
Steve
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: now ui request

Post by mcrossley »

steve wrote:I think it might look better without the degree symbols
Me too, nice change.

The forum needs a 'thumbs up' smilie!
n9mfk
Posts: 845
Joined: Sun 10 May 2009 8:52 pm
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Location: Springfield, IL

Re: now ui request

Post by n9mfk »

Thanks Steve
I also took the deg off
Beau
User avatar
Buford T. Justice
Posts: 423
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ecowitt GW1002
Operating System: Windows 11 Pro
Location: USA

Re: now ui request

Post by Buford T. Justice »

I guess 3017 doesn't show ° at all. I see it if I hit the refresh button and only momentarily until the sign is replaced by the wind direction.

I think it would look better with it after the number which is the preferred format.

Temperature has a number, a space, the degree sign, and unit used...

12.5 °C
79.3 °F

The wind should be bearing, degree sign, space, direction...

180° S
270° W

To do this, change now.html from...

Code: Select all

                        <tr>
                            <td>Bearing</td>
                            <td><span id="Bearing">--</span></td>
                            <td><span id="BearingCP">&deg;</span></td>
                        </tr>
                        <tr>
                            <td>Average Bearing</td>
                            <td><span id="Avgbearing">--</span></td>
                            <td><span id="AvgbearingCP">&deg;</span></td>
                        </tr>
To...

Code: Select all

                        <tr>
                            <td>Bearing</td>
                            <td><span id="Bearing">--</span>°</td>
                            <td><span id="BearingCP">--</span></td>
                        </tr>
                        <tr>
                            <td>Average Bearing</td>
                            <td><span id="Avgbearing">--</span>°</td>
                            <td><span id="AvgbearingCP">--</span></td>
                        </tr>
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: now ui request

Post by steve »

Until I incorporated this change as standard, they were all exactly the same - the value in one column and the units in the next column. I prefer it the way it is now, the degree symbol seems superfluous to me, but of course one of the main advantages of the UI working the way it does in MX is that you can make it look exactly how you want.
Steve
BCJKiwi
Posts: 1255
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: now ui request

Post by BCJKiwi »

I have configured this to show a degree symbol next to the number in the same column as the number, and, the cardinal letters in the next column where the degree symbol used to be.

Code: Select all

                        <tr>
                            <td>Bearing</td>
                            <td><span id="Bearing">--</span>&nbsp;&deg;</td>
                            <td><span id="BearingCP"></span></td>
                        </tr>
                        <tr>
                            <td>Average Bearing</td>
                            <td><span id="Avgbearing">--</span>&nbsp;&deg;</td>
                            <td><span id="AvgbearingCP"></span></td>
                        </tr>
Starting at line 190 in <CumulusMXdir>/interface/now.html
Locked