Default Website Development: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
 
===An Alternate Default Website===
====Available 24th22nd JuneNovember 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]Alternative Default Site]. (Updated 0912:1536 6th22nd JulyNovember 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.
This update corrects some spellinglistakes, fixes the missing '@' symbol on th records pages and includes some additional themes.
 
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.
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:
 
To change the them you need to edit the 'page-manager.js file.
<nowiki>let dataLocation="";</nowiki>
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]
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
 
===An Alternative Interface===
338

edits

Navigation menu