Customised templates: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
→‎Simple customisation of indexT.htm: Corrected incorrect row opening reference
m (→‎Simple customisation of indexT.htm: Corrected incorrect row opening reference)
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 <thtr> 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':
5,838

edits

Navigation menu