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:

lib/marine/rowcol.css
1
 .page    {font-family: Tahoma, sans-serif; background-color:white}
2
 .emlbody    {font-family: Tahoma, sans-serif; background-color:white}
3
 .rowodd  {background-color: #CCCCCC; color: black; vertical-align: top}
4
 .roweven {background-color: #F8F8F8; color: black; vertical-align: top}
5
 .rowlight {background-color: #66CCFF; color: black;  vertical-align: top}
6
 .rowwhite {background-color: #FFFFFF; color: black; vertical-align: top}
7
 .stephead {background=color: #000000; color: white;}
8
 .coleven {}
9
 .colodd  {}
10
 .shaded  {background-color: #DDDDDD; color: black; font-size: -1}
11 0

  
lib/metacat.html
14 14
  <HTML>
15 15
  <HEAD>
16 16
  <TITLE>MetaCat</TITLE>
17
  <link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
17 18
  </HEAD> 
18 19
  <FRAMESET COLS="*" FRAMEBORDER=0 BORDER=0>
19 20

  
lib/queform.html
15 15
<html>
16 16
<head>
17 17
<title>MetaCat</title>
18
<link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
18 19
</head>
19
<body bgcolor="white">
20
<body class="emlbody">
20 21
<table width="100%">
21 22
<tr><td colspan="2">
22 23
<b>MetaCat Query</b> -- a simple database query against MetaCat
lib/sexpire.html
14 14
<HTML>
15 15
<HEAD>
16 16
<TITLE>MetaCat</TITLE>
17
<link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
17 18
</HEAD>
18
<BODY bgcolor="#FFFFFF" onLoad="document.forms[0].submit();">
19
<BODY class="emlbody" onLoad="document.forms[0].submit();">
19 20

  
20 21
  <FORM ACTION="@html-path@/index.html" METHOD="GET" target="_top">
21 22
    <INPUT TYPE="button">
lib/validate.html
1 1
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2 2
<html>
3 3
<head>
4
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
   <meta name="GENERATOR" content="Mozilla/4.7 [en] (Win98; U) [Netscape]">
6 4
   <title>Insert XML to be validated here:</title>
5
   <link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
7 6
</head>
8
<body bgcolor="#FFFFFF">
7
<body class="emlbody">
9 8
Insert XML to be validated here:
10 9
<br><form action="@servlet-path@" method="POST">
11 10
<input type="hidden" name="action" value="validate">
lib/contents.html
15 15
<html>
16 16
<head>
17 17
<title>MetaCat</title>
18
<link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
18 19
</head>
19
<body bgcolor="white">
20
<body class="emlbody"> 
20 21
<table width="100%">
21 22
<tr><td colspan="2">
22 23
<b>MetaCat Query</b> -- a simple database query against MetaCat
lib/style/resultset.xsl
38 38
        </select>
39 39

  
40 40
        <table width="100%">
41
        <tr class="rowodd">
41
        <tr class="highlight">
42 42
        <th>&nbsp;</th>
43 43
        <th><xsl:text>Title</xsl:text></th>
44 44
        <th><xsl:text>Document</xsl:text></th>
......
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

  
lib/style/eml-file-display.xsl
28 28
          <h4>Ecological Metadata Language</h4>         
29 29
        </center>
30 30
        <xsl:apply-templates select="eml-file/meta_file_id"/>          
31
        <table width="750" border="0" cellspacing="0" cellpadding="1" bgcolor="#C0D3E7">
31
        <table width="750" border="0" cellspacing="0" cellpadding="1" class="sectionhead">
32 32
	  <tr>
33 33
	    <td><b>Data Set File</b></td>
34 34
	  </tr>
......
41 41

  
42 42
  <xsl:template match="file">
43 43

  
44
	<table width="750" border="1" cellspacing="0" cellpadding="1" bgcolor="fffcfc">
44
	<table width="750" border="1" cellspacing="0" cellpadding="1">
45 45
          <tr>         
46 46
            <th width="25%" align="left"><xsl:text>File Name</xsl:text></th>         
47 47
            <td><xsl:value-of select="file_name"/>         
......
126 126
  <xsl:template match="meta_file_id">
127 127
    <table border="0" cellspacing="0" cellpadding="1">
128 128
      <tr>
129
        <td class="shaded">
129
        <td class="highlight">
130 130
          <b><xsl:text>Metadata File ID:</xsl:text></b>
131 131
        </td>
132 132
        <td>
lib/style/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>
lib/style/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>
lib/style/resource.xsl
16 16
    <html>
17 17
    <head>
18 18
      <link rel="stylesheet" type="text/css" 
19
       href="@html-path@/marine/rowcol.css" />
19
       href="@html-path@/style/rowcol.css" />
20 20
      <title>
21 21
        <xsl:value-of select="//title" />
22 22
      </title>
......
48 48
      
49 49
      <!-- display the dataset specific field if present -->
50 50
      <xsl:if test="count(resource/dataset/geoForm) &gt; 0">
51
        <h2>Data Form: <xsl:value-of select="resource/dataset/geoForm" /></h2>
51
        <h3 class="highlight">Data Form:</h3>
52
        <xsl:value-of select="resource/dataset/geoForm" />
52 53
      </xsl:if>
53 54
      
54 55
      <!-- display the contact information -->
55
      <h3 class="rowlight">Contacts</h3>
56
      <h3 class="highlight">Contacts</h3>
56 57
      
57 58
      <xsl:for-each select="resource/*/originator">
59
        <u>
58 60
        <xsl:value-of select="./individualName/salutation" />&nbsp;
59 61
        <xsl:value-of select="./individualName/givenName" />&nbsp;
60 62
        <xsl:value-of select="./individualName/surName" />&nbsp;
63
        </u>
61 64
        <br />
62
        <b><xsl:value-of select="./roleCode" /></b><br/>
65
        <dir>
66
        <xsl:text>Role: </xsl:text>
67
        <xsl:value-of select="./roleCode" /><br/>
63 68
        <xsl:if test="count(resource/*/organizationName) &gt; 0">
64 69
          <xsl:value-of select="./organizationName" />
65 70
          <br />
66 71
        </xsl:if>
67 72
        
68 73
        <xsl:if test="count(./contactInfo/phone/voice) &gt; 0">
69
          <font class="rowodd">Voice Number(s):</font>&nbsp;
74
          Phone:&nbsp;
70 75
          <xsl:for-each select="./contactInfo/phone/voice">
71 76
           <xsl:value-of select="." />
72 77
            <br />
......
74 79
        </xsl:if>
75 80
        
76 81
        <xsl:if test="count(./contactInfo/phone/facsimile) &gt; 0">
77
          <font class="rowodd">Fax Number(s):</font>&nbsp;
82
          Fax:&nbsp;
78 83
          <xsl:for-each select="./contactInfo/phone/facsimile">
79 84
            <xsl:value-of select="." />
80 85
            <br />
......
82 87
        </xsl:if>
83 88
        
84 89
        <xsl:if test="count(./contactInfo/phone/other) &gt; 0">
85
          <font class="rowodd">Other Number(s):</font>&nbsp;
90
          Other phone:&nbsp;
86 91
          <xsl:for-each select="./contactInfo/phone/other">
87 92
            <xsl:value-of select="." />
88 93
            &nbsp;&nbsp;
89
            <xsl:text><font class="rowodd">Number type:</font></xsl:text>
94
            <xsl:text>Number type:</xsl:text>
90 95
            <xsl:value-of select="/resource/*/*/contactInfo/phone/otherType" />
91 96
            <br />
92 97
          </xsl:for-each>
......
113 118
        </xsl:if>
114 119
        
115 120
        <xsl:if test="count(./contactInfo/hoursOfService) &gt; 0">
116
          <font class="rowodd">Office hourse:</font> &nbsp;
121
          Office hourse:&nbsp;
117 122
          <xsl:value-of select="./contactInfo/hoursOfService" />
118 123
          <br/>
119 124
        </xsl:if>
120 125
        
121 126
        <xsl:if test="count(./contactInfo/contactInstructions) &gt; 0">
122
          <font class="rowodd">Contact instructions:</font>&nbsp;
127
          Contact instructions:&nbsp;
123 128
          <xsl:value-of select="./contactInfo/contactInstructions" />
124 129
          <br/>
125 130
        </xsl:if>
126 131
        
127 132
        <br/>
133
        </dir>
128 134
      </xsl:for-each>
129 135
      
130
      <h3 class="rowlight">Publishing Information</h3>
131 136
      <xsl:if test="count(resource/*/publisher) &gt; 0">
132
        <font class="rowodd">Publisher:</font> 
137
        <h3 class="highlight">Publishing Information</h3>
138
        Publisher:
133 139
        
134 140
        <xsl:value-of select="resource/*/publisher/individualName/salutation" />
135 141
        &nbsp;
......
142 148
        </xsl:if>
143 149
        
144 150
        <xsl:if test="count(resource/*/publisher/contactInfo/phone/voice) &gt; 0">
145
          <font class="rowodd">Voice Number(s):</font>&nbsp;
151
          Phone:&nbsp;
146 152
          <xsl:for-each select="resource/*/publisher/contactInfo/phone/voice">
147 153
           <xsl:value-of select="." />
148 154
            <br />
......
150 156
        </xsl:if>
151 157
        
152 158
        <xsl:if test="count(resource/*/publisher/contactInfo/phone/facsimile) &gt; 0">
153
          <font class="rowodd">Fax Number(s):</font>&nbsp;
159
          Fax:&nbsp;
154 160
          <xsl:for-each select="resource/*/publisher/contactInfo/phone/facsimile">
155 161
            <xsl:value-of select="." />
156 162
            <br />
......
158 164
        </xsl:if>
159 165
        
160 166
        <xsl:if test="count(resource/*/publisher/contactInfo/phone/other) &gt; 0">
161
          <font class="rowodd">Other Number(s):</font>&nbsp;
167
          Other phone:&nbsp;
162 168
          <xsl:for-each select="resource/*/publisher/contactInfo/phone/other">
163 169
            <xsl:value-of select="." />
164 170
            &nbsp;&nbsp;
......
208 214
        
209 215
        <xsl:if 
210 216
         test="count(resource/*/publisher/contactInfo/hoursOfService) &gt; 0">
211
          <font class="rowodd">Office hourse:</font> &nbsp;
217
          Office hours:&nbsp;
212 218
          <xsl:value-of 
213 219
           select="resource/*/publisher/contactInfo/hoursOfService" />
214 220
          <br/>
......
216 222
        
217 223
        <xsl:if 
218 224
         test="count(resource/*/publisher/contactInfo/contactInstructions) &gt; 0">
219
          <font class="rowodd">Contact instructions:</font>&nbsp;
225
          Contact instructions:&nbsp;
220 226
          <xsl:value-of 
221 227
           select="resource/*/publisher/contactInfo/contactInstructions" />
222 228
          <br/>
......
224 230
      </xsl:if>
225 231
      
226 232
      <xsl:if test="count(resource/*/pubdate) &gt; 0">
227
        <font class="rowodd">Publishing Date:</font>
233
        Publishing Date:
228 234
        &nbsp; <xsl:value-of select="resource/*/pubdate" /><br/>
229 235
      </xsl:if>
230 236
      
231 237
      <xsl:if test="count(resource/*/pubplace) &gt; 0">
232
        <font class="rowodd">Publishing Place:</font> 
238
        Publishing Place: 
233 239
        &nbsp; <xsl:value-of select="resource/*/pubplace" />
234 240
        <br/>
235 241
      </xsl:if>
236 242
      
237 243
      <xsl:if test="count(resource/*/series) &gt; 0">
238
        <font class="rowodd">Series:</font> &nbsp; <xsl:value-of select="resource/*/series" /><br/>
244
        Series:&nbsp; <xsl:value-of select="resource/*/series" /><br/>
239 245
      </xsl:if>
240 246
      
241
      <h3 class="rowlight">Other Information</h3>
242 247
      <xsl:if test="count(resource/*/additionalInfo) &gt; 0">
243
        <font class="rowodd">Additional Information: </font>
248
        <h3 class="highlight">Other Information</h3>
249
        Additional Information:
244 250
        &nbsp; <xsl:value-of select="resource/*/additionalInfo" /><br/>
245 251
      </xsl:if>
246 252
      
247 253
      <xsl:if test="count(resource/*/abstract) &gt; 0">
248
        <font class="rowodd">Abstract:</font>
249
        &nbsp; <xsl:value-of select="resource/*/abstract" /><br/>
254
        <h3 class="highlight">Abstract</h3>
255
        <xsl:value-of select="resource/*/abstract" /><br/>
250 256
      </xsl:if>
251 257
      
252 258
      <xsl:for-each select="resource/*/url">
253
        <font class="rowodd">URL:</font> &nbsp; 
259
        URL:&nbsp; 
254 260
        <a>
255 261
        <xsl:attribute name="href">
256 262
          <xsl:value-of select="./URL" />
......
261 267
      <br/>
262 268
      
263 269
      <xsl:if test="count(resource/*/keywordInfo) &gt; 0">
264
        <h3 class="rowlight">Keywords</h3>
265
        <table width="50%" border="1">
266
        <tr class="rowodd">
270
        <h3 class="highlight">Keywords</h3>
271
        <table width="50%" border="0">
272
        <tr class="sectionhead">
267 273
          <th>Keyword</th><th>Keyword Type</th><th>Keyword Thesauri</th>
268 274
        </tr>
269 275
       
......
271 277
          <tr valign="top">
272 278
            <xsl:attribute name="class">
273 279
              <xsl:choose>
274
                <xsl:when test="position() mod 2 = 1">rowwhite</xsl:when>
275
                <xsl:when test="position() mod 2 = 0">rowlight</xsl:when>
280
                <xsl:when test="position() mod 2 = 1">rowodd</xsl:when>
281
                <xsl:when test="position() mod 2 = 0">roweven</xsl:when>
276 282
              </xsl:choose>
277 283
            </xsl:attribute>
278 284
            <td>
279
              <xsl:value-of select="./keyword"/>, &nbsp;
285
              <xsl:value-of select="./keyword"/>
280 286
            </td>
281 287
            <td>
282 288
              <xsl:value-of select="./keywordType"/>
lib/style/rowcol.css
1 1
 .page    {font-family: Tahoma, sans-serif; background-color:white}
2 2
 .emlbody    {font-family: Tahoma, sans-serif; background-color:white}
3
 .rowodd  {background-color: #CCCCCC; color: black; vertical-align: top}
4
 .roweven {background-color: #F8F8F8; color: black; vertical-align: top}
5
 .rowlight {background-color: #CCCCFF; color: black; vertical-align: top}
3
 .rowodd  {background-color: white; color: black; vertical-align: top}
4
 .roweven {background-color: #C0D3E7; color: black; vertical-align: top}
6 5
 .rowwhite {background-color: #FFFFFF; color: black; vertical-align: top}
6
 .stephead {background=color: #000000; color: white;}
7 7
 .coleven {}
8 8
 .colodd  {}
9
 .shaded  {background-color: #DDDDDD; color: black}
9
 .highlight  {background-color: #DDDDDD; color: black; font-size: -1}
10
 .sectionhead  {background-color: #DDDDDD; color: black}
lib/marinenoredir.html
1 1
<html>
2 2
<head>
3 3
<title>MARINE Database Query Engine: Enter...</title>
4
<link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
4 5
</head>
5
<body bgcolor="white">
6
<body  class="emlbody">
6 7

  
7
<center><img src="/berkley/marine/logo-line.gif"></center>
8
<center><img src="@html-path@/marine/logo-line.gif"></center>
8 9
<center><h4>Connecting to the MARINE Database...Please Wait</h4></center>
9 10

  
10 11
Please click 
lib/loadxml.html
13 13
<html>
14 14
<head>
15 15
<title>MetaCat</title>
16
<link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
16 17
</head>
17
<body bgcolor="white">
18
<body class="emlbody">
18 19
<b>MetaCat XML Loader</b>
19 20
<p>
20 21
Upload, Change, or Delete an XML document using this form.
lib/index.html
14 14
  <HTML>
15 15
  <HEAD>
16 16
  <TITLE>MetaCat</TITLE>
17
  <link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
17 18
  </HEAD> 
18 19
  <FRAMESET COLS="*" FRAMEBORDER=0 BORDER=0>
19 20

  
lib/marine/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

  
lib/marine/index.html
1 1
<html>
2 2
<head>
3 3
<title>MARINE Database Query Engine: Enter...</title>
4
<link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
4 5
</head>
5
<body bgcolor="white">
6
<body class="emlbody">
6 7

  
7 8
<script language="JavaScript">
8
window.location="http://dev.nceas.ucsb.edu/berkley/servlet/marineServ?action=query&anyfield=%&doctype=any&qformat=html";
9
window.location="http://dev.nceas.ucsb.edu@servlet-path@?action=query&anyfield=%&doctype=any&qformat=html";
9 10
</script>
10 11

  
11 12
Please click 
12
<a href="http://dev.nceas.ucsb.edu/berkley/servlet/marineServ?action=query&anyfield=%&doctype=any&qformat=html"> 
13
<a href="http://dev.nceas.ucsb.edu@servlet-path@?action=query&anyfield=%&doctype=any&qformat=html"> 
13 14
 here.</a>
14 15

  
15
<center><img src="/berkley/marine/logo-line.gif" alt="NCEAS Logo"></center>
16
<center><img src="@html-path@/marine/logo-line.gif" alt="NCEAS Logo"></center>
16 17
<center><h4>Connecting to the MARINE Database...Please Wait</h4></center>
17 18

  
18 19
<noscript>
19 20
Please click 
20
<a href="http://dev.nceas.ucsb.edu/berkley/servlet/marineServ?action=query&anyfield=%&doctype=any&qformat=html"> 
21
<a href="http://dev.nceas.ucsb.edu@servlet-path@?action=query&anyfield=%&doctype=any&qformat=html"> 
21 22
 here</a> to enter the MARINE database.  To disable this message in the future please
22 23
 enable JavaScript on your browser.
23 24
</noscript>
lib/marine/marinetest.html
12 12
<html>
13 13
<head>
14 14
<title>Test MetaCat MARINE Interface</title>
15
<link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
15 16
</head>
16
<body bgcolor="white">
17
<body class="emlbody">
17 18
<h1>MARINE Query</h1>
18 19
<p>
19 20
Query engine for MARINE formatted data.
lib/login.html
14 14
<HTML>
15 15
<HEAD>
16 16
<TITLE>MetaCat</TITLE>
17
<link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
17 18
<script language="JavaScript">
18 19
   function PutFocus(theForm) {
19 20
	theForm.username.focus()
20 21
   }
21 22
</script>
22 23
</HEAD>
23
<BODY bgcolor="#FFFFFF" onLoad="PutFocus(document.forms[0]);">
24
<BODY class="emlbody" onLoad="PutFocus(document.forms[0]);">
24 25

  
25 26
  <P>&nbsp;
26 27

  
lib/web.xml
9 9

  
10 10
    <display-name>Metadata Catalog Demo</display-name>
11 11
    <description>
12
      This is version a development release only.
12
      This version is a development release only.
13 13
    </description>
14 14

  
15 15

  
......
31 31
    -->
32 32

  
33 33
    <context-param>
34
      <param-name>webmaster</param-name>
35
      <param-value>myaddress@mycompany.com</param-value>
34
      <param-name>jones</param-name>
35
      <param-value>jones@nceas.ucsb.edu</param-value>
36 36
      <description>
37 37
        The EMAIL address of the administrator to whom questions
38 38
        and comments about this application should be addressed.
......
75 75
      <load-on-startup>5</load-on-startup>
76 76
    </servlet>
77 77

  
78
    <servlet>
79
      <servlet-name>marine</servlet-name>
80
       <description>
81
         The marine incarnation of metacatServlet
82
       </description>
83
      <servlet-class>edu.ucsb.nceas.metacat.marine.marineServlet</servlet-class>
84
      <load-on-startup>5</load-on-startup>
85
    </servlet>
86

  
78 87
    <!-- Define mappings that are used by the servlet container to
79 88
         translate a particular request URI (context-relative) to a
80 89
         particular servlet.  The examples below correspond to the
......
97 106
      <servlet-name>metacat</servlet-name>
98 107
      <url-pattern>/metacat*</url-pattern>
99 108
    </servlet-mapping>
109
    
110
    <servlet-mapping>
111
      <servlet-name>marine</servlet-name>
112
      <url-pattern>/marineServ*</url-pattern>
113
    </servlet-mapping>
100 114

  
101 115
    <!-- Define the default session timeout for your application,
102 116
         in minutes.  From a servlet or JSP page, you can modify
lib/marine.html
1 1
<html>
2 2
<head>
3 3
<title>MARINE Database Query Engine: Enter...</title>
4
<link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
4 5
</head>
5
<body bgcolor="white">
6
<body class="emlbody"> 
6 7

  
7 8
<script language="JavaScript">
8 9
 window.location="http://dev.nceas.ucsb.edu@html-path@/servlet/marine?" +
......
16 17
  "returndoc=-//NCEAS//eml-dataset//EN";
17 18
</script>
18 19

  
19
<center><img src="@html-path@/marine/logo-line.gif" alt="NCEAS logo"></center>
20
<center><img src="@image-path@/marine/logo-line.gif" alt="NCEAS logo"></center>
20 21
<center><h4>Connecting to the MARINE Database...Please Wait</h4></center>
21 22
 
22 23
<noscript>
src/loadstylesheets.sql
22 22
       public_id, system_id) 
23 23
       VALUES ('XSL', '-//NCEAS//marineresultset//EN', '-//W3C//HTML//EN', 
24 24
                '-//NCEAS//marine.xsl',
25
                'http://dev.nceas.ucsb.edu/berkley/marine/marine.xsl');
25
                'http://dev.nceas.ucsb.edu/metadata/marine/marine.xsl');
26 26
INSERT INTO xml_catalog (entry_type, source_doctype, target_doctype,
27 27
       public_id, system_id)
28 28
       VALUES ('XSL', 'resource', '-//W3C//HTML//EN',
29 29
                '-//NCEAS//resource.xsl',
30
                'http://dev.nceas.ucsb.edu/berkley/style/resource.xsl');
30
                'http://dev.nceas.ucsb.edu/metadata/style/resource.xsl');
31 31
INSERT INTO xml_catalog (entry_type, source_doctype, target_doctype,
32 32
       public_id, system_id)
33 33
       VALUES ('XSL', '-//NCEAS//resource//EN', '-//W3C//HTML//EN',
34 34
                '-//NCEAS//resource.xsl',
35
                'http://dev.nceas.ucsb.edu/berkley/style/resource.xsl');
35
                'http://dev.nceas.ucsb.edu/metadata/style/resource.xsl');
build.xml
110 110
                 dest="${installdir}/WEB-INF/web.xml" />
111 111
       <copydir src="lib"
112 112
                dest="${build.img}"
113
                filtering="yes"
114 113
                includes="*.jpg,*.png,*.gif,**/marine/*.jpg, **/marine/*.png, **/marine/*.gif"/>
115 114
       <copydir src="lib" dest="${installdir}"
116 115
                filtering="yes"

Also available in: Unified diff