Default Website Development: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
Line 75: Line 75:
* 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.
* 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===
==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).


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.
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.


'''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 is designed to work on all screen sizes while using exactly the same data that is uploaded to the default website.


To change the them you need to edit the 'page-manager.js file.
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.
The object 'CMXConfig' holds all the options available.  Full details are included in the readme.txt file included in the zip.


To see it in action visit: [https://weather.oaktreewebs.co.uk Oaktree Weather]
To find out more please visit


===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

Navigation menu