Project

General

Profile

« Previous | Next » 

Revision 497

Various changes to improve consistency of the MARINE and METACAT user
interfaces as presented through the XSL->HTML conversions. Eliminated
one (extraneous) copy of the rowcol.css style sheet in favor of sharing
a single css stylesheet in xmltodb/lib/style/rowcol.css. Modified all
XSL and HTML files to refer to this one CSS file, and changes the usage
of the various CSS styles so that they are consistent. Added a new
CSS style called "sectionhead" for controlling the color of section
headings and table headings. Updated build.xml to copy images without
filtering by ant, which prevents image corruption by ant. Various bug
fixes to the presentation files.

View differences:

eml-variable-display.xsl
33 33

  
34 34
        <h3>Attributes in the Data Set:</h3>
35 35
        <table width="100%">
36
        <tr class="rowodd">
37
        <th><xsl:text>Attribute Name</xsl:text></th>
38
        <th><xsl:text>Attribute Definition</xsl:text></th>
39
        <th><xsl:text>Unit</xsl:text></th>
40
        <th><xsl:text>Type</xsl:text></th>
41
        <th><xsl:text>Codes</xsl:text></th>
42
        <th><xsl:text>Range</xsl:text></th>
43
        <th><xsl:text>Missing</xsl:text></th>
44
        <th><xsl:text>Precision</xsl:text></th>
45
        <th><xsl:text>Format</xsl:text></th>
36
        <tr>
37
        <th class="sectionhead"><xsl:text>Attribute Name</xsl:text></th>
38
        <th class="sectionhead"><xsl:text>Attribute Definition</xsl:text></th>
39
        <th class="sectionhead"><xsl:text>Unit</xsl:text></th>
40
        <th class="sectionhead"><xsl:text>Type</xsl:text></th>
41
        <th class="sectionhead"><xsl:text>Codes</xsl:text></th>
42
        <th class="sectionhead"><xsl:text>Range</xsl:text></th>
43
        <th class="sectionhead"><xsl:text>Missing</xsl:text></th>
44
        <th class="sectionhead"><xsl:text>Precision</xsl:text></th>
45
        <th class="sectionhead"><xsl:text>Format</xsl:text></th>
46 46
        </tr>
47 47

  
48 48
        <xsl:for-each select="eml-variable/variable">
49 49
          <tr valign="top">
50 50
            <xsl:attribute name="class">
51 51
              <xsl:choose>
52
                <xsl:when test="position() mod 2 = 1">rowwhite</xsl:when>
53
                <xsl:when test="position() mod 2 = 0">rowlight</xsl:when>
52
                <xsl:when test="position() mod 2 = 1">rowodd</xsl:when>
53
                <xsl:when test="position() mod 2 = 0">roweven</xsl:when>
54 54
              </xsl:choose>
55 55
            </xsl:attribute>
56 56

  
......
99 99
  <xsl:template match="meta_file_id">
100 100
    <table>
101 101
      <tr>
102
        <td class="shaded">
102
        <td class="highlight">
103 103
           <b><xsl:text>Metadata File ID:</xsl:text></b>
104 104
        </td>
105 105
        <td>

Also available in: Unified diff