Default Website Development: Difference between revisions

m
* To create a whole new sub-menu, copy and paste either the section that starts with the '''title: "Records"...''' or '''title: "Charts"...''' and then edit as required.
 
===An Alternate Default Website===
====Available 30th 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 Alternative Default Site]. (Updated 12:36 22nd November 2023).
 
Following on from the development of the current default website, the author of the default website has generated an alternative that is more adaptable and responsive.
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.
 
It is designed to work on all screen sizes while using exactly the same data that is uploaded to the default website.
'''Important 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.
 
It allows your data to be sent to its own sub-folder of the site rather than mixing in with the web pages so makes it easier to manage. It comes with a number of themes or colour schemes that you can implement as required.
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.
 
To find out more please visit
To see it in action visit: [https://weather.oaktreewebs.co.uk Oaktree Weather]
 
===An Alternative Interface===
338

edits