Default Website Development: Difference between revisions

m
Line 67: Line 67:


===An Alternate Default Website===
===An Alternate Default Website===
====Available 24th June 2023====
====Available 22nd November 2023====
As an alternative to the supplied website, you can now download a reworked alternative [https://www.cumuluswiki.org/images/4/4c/DefaultWebSiteV3.zip DefaultWebSiteV3.zip] ]. (Updated 09:15 6th July 2023).
As an alternative to the supplied website, you can now download a reworked alternative [https://www.cumuluswiki.org/images/4/4c/DefaultWebSiteV3.zip Alternative Default Site]. (Updated 12:36 22nd November 2023).


This update corrects some spellinglistakes, fixes the missing '@' symbol on th records pages and includes some additional themes.
This update almost completely uses flex boxes instead of tables and is very flexible to change.  Just change the order style number to re-arrange the panes on the screen without any copy-n-paste required.


Note the the 'page-manager.js' file is set to collect data from a sub-folder.  To correct this change line 32 to the following:
Note the system is configured to collect data from a sub-folder called 'data'You need to edit the ws-extra.js file variable 'dataPath' on line 13.  It should either be empty or contain a valid folder name followed by '/' to access your data.  The gauges.js file has also been configured to use this variable.


<nowiki>let dataLocation="";</nowiki>
To change the them you need to edit the 'page-manager.js file.
The object 'CMXConfig' holds all the options available.  Full details are included in the readme.txt file included in the zip.


This site includes some of the features made available in the AI mentioned below.  It is even more responsive, has more consistent graphs and no sidebars.  It is easy to add or remove additional panels and a template page is provided to enable you to add your own pages more easily.  It includes normal and dark mode themes that can be configured by editing its 'page-manager.js' file.
To see it in action visit: [https://weather.oaktreewebs.co.uk Oaktree Weather]
 
To see it in action visit: https://weather.oaktreewebs.co.uk


===An Alternative Interface===
===An Alternative Interface===
A new addition to the existing Interface site used for managing your weather station is now available.  You can find out about it here: [[Alternative_Interface|Alternative Interface]].
A new addition to the existing Interface site used for managing your weather station is now available.  You can find out about it here: [[Alternative_Interface|Alternative Interface]].
320

edits