Project

General

Profile

« Previous | Next » 

Revision 497

Added by Matt Jones over 23 years ago

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-dataset-display.xsl
32 32
        <xsl:apply-templates/>      
33 33

  
34 34
        <table width="100%">
35
        <tr><td class="rowodd">
35
        <tr><td class="highlight">
36 36
        <b><xsl:text>Keywords:</xsl:text></b>
37 37
        </td></tr>
38 38
        <tr><td>
......
46 46
         
47 47

  
48 48
        <table width="100%">
49
        <tr><td class="rowodd">
49
        <tr><td class="highlight">
50 50
        <b><xsl:text>Related Metadata and Data Files:</xsl:text></b>
51 51
        </td></tr>
52 52
        <tr><td>
......
71 71
  <xsl:template match="meta_file_id">
72 72
    <table width="100%">
73 73
    <tr>
74
    <td class="rowodd"><b><xsl:text>Metadata File ID:</xsl:text></b></td>
74
    <td class="highlight"><b><xsl:text>Metadata File ID:</xsl:text></b></td>
75 75
    <td><xsl:value-of select="."/></td>
76 76
    </tr>
77 77
      <xsl:for-each select="//dataset_id|//title">
78 78
        <tr>
79 79
        <xsl:if test="name(.)='dataset_id'">
80
          <td class="rowodd"><b><xsl:text>Data set ID:</xsl:text></b></td>
80
          <td class="highlight"><b><xsl:text>Data set ID:</xsl:text></b></td>
81 81
        </xsl:if>
82 82
        <xsl:if test="name(.)='title'">
83
          <td class="rowodd"><b><xsl:text>Title:</xsl:text></b></td>
83
          <td class="highlight"><b><xsl:text>Title:</xsl:text></b></td>
84 84
        </xsl:if>
85 85
        <td><xsl:value-of select="."/></td>
86 86
        </tr>
......
94 94

  
95 95
  <xsl:template match="originator[1]">
96 96
      <table width="100%">
97
      <tr><td class="rowodd">
97
      <tr><td class="highlight">
98 98
      <b><xsl:text>Data Set Owner(s):</xsl:text></b>
99 99
      </td></tr>
100 100
      </table>
......
154 154
  <xsl:template match="abstract">
155 155
    <table width="100%">
156 156
    <tr>
157
    <td class="rowodd"><b><xsl:text>Abstract:</xsl:text></b></td>
157
    <td class="highlight"><b><xsl:text>Abstract:</xsl:text></b></td>
158 158
    </tr>
159 159
    <tr>
160 160
    <td><xsl:value-of select="."/></td>

Also available in: Unified diff