Customised templates: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
No change in size ,  09:11, 12 November 2015
m
→‎Simple customisation of indexT.htm: Corrected incorrect row opening reference
m (→‎Simple customisation of indexT.htm: Corrected incorrect row opening reference)
Line 237: Line 237:
How to Customise your indexT.htm  is described here, but the FAQ referenced just above repeats an excerpt from that and also covers todayT.htm and yesterdayT.htm.
How to Customise your indexT.htm  is described here, but the FAQ referenced just above repeats an excerpt from that and also covers todayT.htm and yesterdayT.htm.


The standard file includes a table where for each row (<tr class="...">  to </tr>) there are 4 cells (<td> to </td>) arranged as 2 pairs. The HTML tag <th> that starts the row uses a class to define its look, in the style-sheet linked to the HTML that class will have properties like background colour defined. Each pair of cells consists of a label identifying the observation being reported and a Cumulus web tag representing where the value is to appear.
The standard file includes a table where for each row (<tr class="...">  to </tr>) there are 4 cells (<td> to </td>) arranged as 2 pairs. The HTML tag <tr> that starts the row uses a class to define its look, in the style-sheet linked to the HTML that class will have properties like background colour defined. Each pair of cells consists of a label identifying the observation being reported and a Cumulus web tag representing where the value is to appear.


Look through the standard file and find the following code segment containing the definition for one row wrapped by  comments mentioning 'Solar data':
Look through the standard file and find the following code segment containing the definition for one row wrapped by  comments mentioning 'Solar data':
5,838

edits

Navigation menu