Default Website Development: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m (Inserted "download" word in all places for consistency)
Line 10: Line 10:


The available frameworks are:
The available frameworks are:
* A lefthand sidebar with the main panel on the right. [https://cumuluswiki.org/images/7/75/LeftSBTemplates.zip Left-handed sidebar template]. These can be viewed at [https://weather.oaktreewebs.co.uk/ATL-1c.htm OaktreeWebs Weather]. Updated: 16 June 2021
* A lefthand sidebar with the main panel on the right. Download at [https://cumuluswiki.org/images/7/75/LeftSBTemplates.zip Left-handed sidebar template]. These can be viewed at [https://weather.oaktreewebs.co.uk/ATL-1c.htm OaktreeWebs Weather]. Updated: 16 June 2021
* A righthand sidebar with the man panel on the left. [Https://cumuluswiki.org/images/6/67/RightSBTemplates.zip Right-handed sidebar templates]. This is similar to the default site but the sidebar starts higher up the screen. Again, these can be viewed at [https://weather.oaktreewebs.co.uk/ATR-1c.htm OaktreeWebs Weather]. Updated 15 June 2021.
* A righthand sidebar with the man panel on the left. Download at [Https://cumuluswiki.org/images/6/67/RightSBTemplates.zip Right-handed sidebar templates]. This is similar to the default site but the sidebar starts higher up the screen. Again, these can be viewed at [https://weather.oaktreewebs.co.uk/ATR-1c.htm OaktreeWebs Weather]. Updated 15 June 2021.
* A set with no sidebar - just the main content area. [Https://cumuluswiki.org/images/2/2a/NoSBTemplates.zip No sidebar templates]. View at [https://weather.oaktreewebs.co.uk/ATN-1c.htm OaktreeWebs Weather]. The single column version is set to gauge width (wider than other pages). Updated: 16 June 2021
* A set with no sidebar - just the main content area. Download at [Https://cumuluswiki.org/images/2/2a/NoSBTemplates.zip No sidebar templates]. View at [https://weather.oaktreewebs.co.uk/ATN-1c.htm OaktreeWebs Weather]. The single column version is set to gauge width (wider than other pages). Updated: 16 June 2021


====Additional/Alternative Pages====
====Additional/Alternative Pages====
Line 18: Line 18:
We also have an alternative to the default gauges.htm page. This does away with the sidebar and places the gauges in fixed width panels that automatically reposition themselves as the page width is changed. The gauges are also able to be placed in any order without resorting to cut-n-paste. Just add/change a number to their order property and its done.
We also have an alternative to the default gauges.htm page. This does away with the sidebar and places the gauges in fixed width panels that automatically reposition themselves as the page width is changed. The gauges are also able to be placed in any order without resorting to cut-n-paste. Just add/change a number to their order property and its done.


This can be from here [Https://cumuluswiki.org/Downloads/NewGauges.zip Gauges Page]. Updated: 11 March 2021
This can be downloaded from [Https://cumuluswiki.org/Downloads/NewGauges.zip Gauges Page]. Updated: 11 March 2021


=====NOAA Reports=====
=====NOAA Reports=====
Line 27: Line 27:


===Colour Themes===
===Colour Themes===
The website and templates use colour themes to make it easier to change the colour throughout the site. By downloading the colour theme pack, you can simply rename the chosen colour as 'colours.css' and it will be applied throughout your site. All colour themes have now been updated to use css variables for the available theme colours. This makes it much easier to add your theme colours to your custom pages. or stylesheets. It is also possible to apply theme colours to the gauges tooltips in this way.
The website and templates use colour themes to make it easier to change the colour throughout the site. By downloading the colour theme pack, you can simply rename the chosen colour as 'colours.css' and it will be applied throughout your site. All colour themes have now been updated to use ''css variables'' for the available theme colours. This makes it much easier to add your theme colours to your custom pages. or style sheets. It is also possible to apply theme colours to the gauges tooltips in this way.


For example, to add a coloured border to an element you can add the style like so:
For example, to add a coloured border to an element you can add the style like so:
Line 34: Line 34:
Visit the new '''[https://weather.oaktreewebs.co.uk/ATThemes.htm Theme Viewer]''' to preview any of these themes on a basic template page.
Visit the new '''[https://weather.oaktreewebs.co.uk/ATThemes.htm Theme Viewer]''' to preview any of these themes on a basic template page.


You will also find that additional themes have now been added. The download includes a reworked default 'colours.css' stylesheet to also use css variables. The current list is:
You will also find that additional themes have now been added. The download includes a reworked default 'colours.css' stylesheet to also use css variables.


The current list is:
{| class="wikitable"
{| class="wikitable"
|-
|-

Revision as of 15:23, 16 June 2021

The default CMX website Development

These section of the Wiki will enable you to get the latest information and resources for the new default CMX website shipped with version 3.10.x

The current default site

This will always be available to you in the 'websites' folder of your Cumulus MX Installation. If you wish to undo any of the changes that downloads from this page generate then simply re-copy the websites folder to your web host.

Templates

There are currently 3 alternative template frameworks for the site. These all include 4 variations for the main content area of a page; a single column, two column, three column and four columns. These can be used as the framework for existing pages or to add your own content as required. You can choose to use them in any combination or just one - its up to you. All come with a pdf readme file to help you use them but for full information about the available styles visit w3Schools.

The available frameworks are:

Additional/Alternative Pages

Gauges

We also have an alternative to the default gauges.htm page. This does away with the sidebar and places the gauges in fixed width panels that automatically reposition themselves as the page width is changed. The gauges are also able to be placed in any order without resorting to cut-n-paste. Just add/change a number to their order property and its done.

This can be downloaded from Gauges Page. Updated: 11 March 2021

NOAA Reports

This is now included in the standard default website. It enables any of your NOAA reports to be loaded into the page using Ajax calls so no page refresh is needed. Updated: 16 June 2021.

Complete ready to run alternative website pack

We hope to have complete 'website' ready alternatives to the default provided by CumulusMX available. It is likely that these will include a NOAA reports page as standard.

Colour Themes

The website and templates use colour themes to make it easier to change the colour throughout the site. By downloading the colour theme pack, you can simply rename the chosen colour as 'colours.css' and it will be applied throughout your site. All colour themes have now been updated to use css variables for the available theme colours. This makes it much easier to add your theme colours to your custom pages. or style sheets. It is also possible to apply theme colours to the gauges tooltips in this way.

For example, to add a coloured border to an element you can add the style like so: <span style="border-color: var(--d2);"></span>.

Visit the new Theme Viewer to preview any of these themes on a basic template page.

You will also find that additional themes have now been added. The download includes a reworked default 'colours.css' stylesheet to also use css variables.

The current list is:

Theme Description Theme Description
AlmostMauve As the name implies, a mauve like colour Arcadia almost a bottle green based on #00a591
CherryTomato A muted red based on #e94b3c ChiliOil A reddy brown based on #944743
CoconutMilk A slightly sandy milk colour is the best way to describe this Emporador A mid misty brown based colour
HarbourMist A warm grey based on #b4b7ba Limelight An insipid yellow based on #f1ea7f (for the brave or colour challenged)
Lime Punch A greener variation on the 'LimeLight' theme QuietGrey A slightly cooler grey based on #bcbcbe
RedPear A variation between CherryTomato and ChiliOil based on #bcbcbe RussetOrange A muted orange based on #bcbcbe
SailorBlue A strong dark blue SpringCrocus A muted purple theme based on #bc70a4
UltraViolet Theme based on purple / violet - for the brave or colour challenged. ValientPoppy Theme based on purple / violet - again for the brave or colour challenged.
WarmSand The lighter colours are sandy coloured while the darker range have a distinct orange tinge.

Use this link Additional colour schemes to down load the schemes. Updated: 16 June 2021.