Page 5 of 18
Re: Alternative CumulusMX Interface
Posted: Fri 03 Dec 2021 8:16 pm
by BigOkie
NeilThomas wrote: ↑Fri 03 Dec 2021 7:09 pm
Hi
That’s great. It’s always best to use a complete install rather than copying individual files/folders.
I’m glad everything is working OK now.
Neil
But it's not like on the initial install I didn't use the install. I just unzipped the folder locally and then transferred it via sftp versus me transferring the zip file to the Pi and unzipping via the command line there in this instance. Just seems weird. Maybe the difference between EOL characters windows vs linux? Who knows.
Re: Alternative CumulusMX Interface
Posted: Sat 04 Dec 2021 4:06 pm
by water01
Neil I assume with the additions that Mark has done in 3159 that there will be an update?
Re: Alternative CumulusMX Interface
Posted: Tue 07 Dec 2021 12:03 pm
by NeilThomas
To all AI.CumulusMX users
Following on from Marks update to build 3159, please find an update for the alternative interface.
Please note: It ONLY contains the changed data log editing pages and associated javascripts. (It also has a brief readme file.
ai.cmx-build3159 changes.zip
Re: Alternative CumulusMX Interface
Posted: Tue 07 Dec 2021 12:30 pm
by Mapantz
'Play Sound' is not staying checked when I enable them and refresh page.
Re: Alternative CumulusMX Interface
Posted: Tue 07 Dec 2021 12:42 pm
by NeilThomas
Hi
I'll look into it.
Neil
Re: Alternative CumulusMX Interface
Posted: Wed 08 Dec 2021 10:03 am
by NeilThomas
Hi
Does your system retain the sound settings using the default interface?
On my rPi, I can set a sound to play and it does not retain the setting even using the default interface. I therefore think this might be something to refer to Mark. It could also be something to do with the rPi. I don't think it is something introduced by my AI.
Sorry I cannot be more helpful.
Neil
Re: Alternative CumulusMX Interface
Posted: Wed 08 Dec 2021 10:05 am
by mcrossley
Re: Alternative CumulusMX Interface
Posted: Wed 08 Dec 2021 6:36 pm
by NeilThomas
Additional Update to the data and extra data log editors.
I have made more changes to the javascript files associated with these pages. You can now not select a date in the future on either page - not a lot of point but now you cannot do so accidentally. Also made the calendars disappear after a date is selected.
ai.cmx-b3159 changes.zip
Read the included readme file for more information.
Re: Alternative CumulusMX Interface
Posted: Wed 08 Dec 2021 10:05 pm
by flort
Hi Neil,
Just updated the interface files and noticed that when I go into the Data Logs Editor it defaults to the date of 9th November instead of 9th December. Other than that, the only other suggestion I would make is that when you go into a record to edit it the non-editable fields (first three) are in white whereas all the other fields which are editable are the background colour. Normally the editable fields would be white.
Regards,
Trevor
Re: Alternative CumulusMX Interface
Posted: Thu 09 Dec 2021 9:18 am
by NeilThomas
Hi Trevor
If you read the included ReadMe file I have included details about the changes I have made to the javascript files. The original scripts loaded only the current day whereas you can now select both the start and end day. If you would prefer either or both log editing pages to load the current day initially then you need to change line 10 in the datalogs.js file and extradatalogs.js as shown below:
Code: Select all
var then = new Date(now.getFullYear(), now.getMonth()-1, now.getDate());
to read:
Code: Select all
var then = new Date(now.getFullYear(), now.getMonth(), now.getDate());
This will force both 'from' date date pickers to show todays date and load just todays data.
With regards to the colour of the input boxes, the three read-only boxes are coloured light grey by the datatables stylesheet. If you would prefer to have white editable text boxes then make the following change to line 48 (datalogs.html & extradatalogs.html):
You might also want to add the following additional style to keep the background colour of the date pikers.colour:
Code: Select all
#dateFrom, #dateTo { background-colour: var(--l4);}
Hope this is ok.
flort wrote: ↑Wed 08 Dec 2021 10:05 pm
Hi Neil,
Just updated the interface files and noticed that when I go into the Data Logs Editor it defaults to the date of 9th November instead of 9th December. Other than that, the only other suggestion I would make is that when you go into a record to edit it the non-editable fields (first three) are in white whereas all the other fields which are editable are the background colour. Normally the editable fields would be white.
Regards,
Trevor
Re: Alternative CumulusMX Interface
Posted: Thu 09 Dec 2021 1:07 pm
by flort
Hi Neil,
Thanks for the info. I have made the changes and all looks good.
Regards,
Trevor
Re: Alternative CumulusMX Interface
Posted: Thu 09 Dec 2021 3:18 pm
by Mapantz
Is a cookie supposed to be saved when we change themes? If I choose a theme, then closed the tab, the theme reverts back to default when I open the dashboard again.
Re: Alternative CumulusMX Interface
Posted: Thu 09 Dec 2021 4:22 pm
by NeilThomas
Hi all
I have now updated the upload package to reflect the changes and to make the 'To date' selector start as today. The start Date selector has been altered to start 7 days before 'now' but you can select today if you wish.
If you prefer to have both start as today then again edit the datalogs.js and extradatalogs.js 'then' line as shown in the previous post.
You can download it from here:
ai.cmx-b3159 changes.zip
Neil
flort wrote: ↑Thu 09 Dec 2021 1:07 pm
Hi Neil,
Thanks for the info. I have made the changes and all looks good.
Regards,
Trevor
Re: Alternative CumulusMX Interface
Posted: Thu 09 Dec 2021 4:26 pm
by NeilThomas
Hi
No. I do not use cookies but you do need to use the button 'Use as default' on the Theme page to make the theme load after you have closed the tab / browser. The downside for this is that if you use a different browser, the theme will revert but the upside is you are not posting information back and for for no reason.
Neil
Mapantz wrote: ↑Thu 09 Dec 2021 3:18 pm
Is a cookie supposed to be saved when we change themes? If I choose a theme, then closed the tab, the theme reverts back to default when I open the dashboard again.
Re: Alternative CumulusMX Interface
Posted: Thu 09 Dec 2021 4:27 pm
by yamen
Updated cumulusmx and ai.cmx and everything is working except i can't access third party uploads setting page ,the same page is accessible from the official interface.