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:

marine.xsl
19 19
  <xsl:template match="/">
20 20
    <html>
21 21
      <head>
22
        <link rel="stylesheet" type="text/css" href="@html-path@/marine/rowcol.css" />
22
        <link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css" />
23 23
      </head>
24 24
      <body class="emlbody">
25 25
        <a name="top" />
......
299 299
      </center>
300 300
          
301 301
        <table width="100%">
302
          <tr class="rowodd">
303
           <th>&nbsp;</th>
304
           <th><font size="2"><xsl:text>Title</xsl:text></font></th>
305
           <th><font size="2"><xsl:text>Contacts</xsl:text></font></th>
306
           <th><font size="2"><xsl:text>Organization</xsl:text></font></th>
307
           <th><font size="2"><xsl:text>Keywords</xsl:text></font></th>
308
           <!--<th><font size="2"><xsl:text>Related Documents</xsl:text></font></th>-->
302
          <tr>
303
           <th class="sectionhead">&nbsp;</th>
304
           <th class="sectionhead"><font size="2">
305
             <xsl:text>Title</xsl:text></font></th>
306
           <th class="sectionhead"><font size="2">
307
             <xsl:text>Contacts</xsl:text></font></th>
308
           <th class="sectionhead"><font size="2">
309
             <xsl:text>Organization</xsl:text></font></th>
310
           <th class="sectionhead"><font size="2">
311
             <xsl:text>Keywords</xsl:text></font></th>
312
           <!--<th class="sectionhead"><font size="2">
313
             <xsl:text>Related Documents</xsl:text></font></th>-->
309 314
          </tr>
310 315
	      <font size="2">
311 316
        
......
315 320
          <tr valign="top">
316 321
            <xsl:attribute name="class">
317 322
              <xsl:choose>
318
                <xsl:when test="position() mod 2 = 1">rowwhite</xsl:when>
319
                <xsl:when test="position() mod 2 = 0">rowlight</xsl:when>
323
                <xsl:when test="position() mod 2 = 1">rowodd</xsl:when>
324
                <xsl:when test="position() mod 2 = 0">roweven</xsl:when>
320 325
              </xsl:choose>
321 326
            </xsl:attribute>
322 327

  

Also available in: Unified diff