Project

General

Profile

« Previous | Next » 

Revision 416

Added by berkley over 24 years ago

changed colors and layout

View differences:

lib/marine/marine.xsl
36 36
             <input type="hidden" name="operator" value="UNION" />
37 37
             <input type="hidden" name="anyfield" value="%" />
38 38
             <input type="hidden" name="returnfield" value="title" />
39
             <input type="hidden" name="returnfield" value="surname" />
40
             <input type="hidden" name="returnfield" value="organizationname" />
41
             <input type="submit" value="Browse the Database" size="15" />
42
            </form>   
43
          </td>
44
          <td align="center" valign="bottom">
45
            <img src="@html-path@/marine/logo-line.gif" alt="NCEAS Logo" 
46
                 onClick="gotoNceas()" />
47
          </td>
48
          <td align="right" valign="top">
39
             <input type="hidden" name="returnfield" value="surName" />
40
             <input type="hidden" name="returnfield" value="organizationName" />
41
             <input border="0" type="image" 
42
                    src="@image-path@/marine/browsebutton.jpg"
43
                    alt="browse the database"
44
                    size="15" /><br/>
45
             <a href="#beginform" border="0">
46
              <img border="0" 
47
                   src="@image-path@/marine/skipbutton.jpg" 
48
                   alt="skip the introduction"/>
49
            </a>
50
           </form>
51
    	   </td>
52
         <td align="center" valign="top">
53
            <img src="@image-path@/marine/logo-line.gif" alt="NCEAS Logo" />
54
         </td>
55
         <td align="right" valign="top">
49 56
            <form action="@html-path@/servlet/marine#browse"
50 57
                  method="POST">
58
               <font size="2">
51 59
               Quick Search: <input type="text" name="anyfield" size="10" />
60
               </font>
52 61
               <input type="hidden" name="action" value="query" />   
53 62
    	       <input type="hidden" name="qformat" value="html" />
54 63
    	       <input type="hidden" name="operator" value="UNION" />
55 64
             <input type="hidden" name="returnfield" value="title" />
56
             <input type="hidden" name="returnfield" value="surname" />
57
             <input type="hidden" name="returnfield" value="organizationname" />
65
             <input type="hidden" name="returnfield" value="surName" />
66
             <input type="hidden" name="returnfield" value="organizationName" />
58 67
    	     </form>
59
    	   </td>
60
    	 </tr>
61
        </table>
68
         </td>
69
    	 </tr>  
70
       </table>
62 71
        
63 72
        <hr />
64
        
65
        <center><h1>MARINE Query Interface</h1></center>
73
        <center><h3>MARINE Query Interface</h3></center>
66 74
        <font size="2">
67 75
        <p class="intro">
68 76
          This page is used to query information for 
......
103 111
           every document).  
104 112
        </p>
105 113
        </font>
106
        
114
        <hr />
107 115
        <form action="@html-path@/servlet/marine#browse" 
108 116
              method="POST"> 
109
           
110
        <table width="100%" border="1">
117
        <a name="beginform" />  
118
        <table width="100%" border="0">
111 119
          <tr>
112 120
             <td valign="bottom" width = "25">
113
        	<img src="@html-path@/marine/step1.jpg" />
121
        	<img src="@image-path@/marine/step1.jpg" alt="step 1"/>
114 122
             </td>
115 123
             <td>
116
               <h4>Keywords and Title</h4>
117 124
               <p>
125
               <b><font size="2">Keywords and Title</font></b><br/>
118 126
               <font size="2">
119 127
                 Enter any keywords that might partain to the dataset you 
120 128
                 are looking for.  
......
132 140
        
133 141
        <table width="100%">
134 142
             <tr>
135
                <td>Title:</td>
143
                <td align="right">Title:</td>
136 144
                <td>
137
                  <input type="text" name="title" size="15">
145
                  <input type="text" name="title" size="30">
138 146
                  <xsl:attribute name="value">
139 147
                  <xsl:value-of select="resultset/query/title" />
140 148
                  </xsl:attribute>
141 149
                  </input>
142 150
                </td>
143
                <td>Any Field:</td>
144
                <td>
145
                  <input type="text" name="anyfield" size="15">
146
                  <xsl:attribute name="value">
147
                  <xsl:value-of select="resultset/query/anyfield" />
151
                <td align="right">Alternate Title:</td>
152
             	  <td>        
153
                <input type="text" name="alttitle" size="30">
154
             	  <xsl:attribute name="value">
155
                  <xsl:value-of select="resultset/query/alttitle" />
148 156
                  </xsl:attribute>
149 157
                  </input>
150 158
                </td>
151 159
             </tr>
152 160
             <tr>
153
                <td>Alternate Title:</td>
154
             	<td>        
155
		  <input type="text" name="alttitle" size="15">
156
             	  <xsl:attribute name="value">
157
                  <xsl:value-of select="resultset/query/alttitle" />
161
              <td align="right">Keywords:</td>
162
                <td>
163
                  <input type="text" name="keyword" size="30">
164
                  <xsl:attribute name="value">
165
                  <xsl:value-of select="resultset/query/keyword" />
158 166
                  </xsl:attribute>
159 167
                  </input>
160 168
                </td>
161
                <td>Keywords:</td>
169
                <td align="right">Any Field:</td>
162 170
                <td>
163
                  <input type="text" name="keyword" size="15">
171
                  <input type="text" name="anyfield" size="30">
164 172
                  <xsl:attribute name="value">
165
                  <xsl:value-of select="resultset/query/keyword" />
173
                  <xsl:value-of select="resultset/query/anyfield" />
166 174
                  </xsl:attribute>
167 175
                  </input>
168 176
                </td>
169 177
             </tr>
170 178
        </table>
171 179
        
172
        <table width="100%" border="1">
180
        <table width="100%" border="0">
173 181
          <tr>
174
             <td valign="bottom" width="25">
175
        	<img src="@html-path@/marine/step2.jpg" />
182
             <td valign="center" align="left" width="25">
183
        	   <img src="@image-path@/marine/step2.jpg" alt="step 2"/>
176 184
             </td>
177 185
             <td>
178
                <h4>Dataset Owner Information</h4>
179
        	<p>
180
        	   <font size="2">
181
        	   Enter data about the owner of the dataset.  There may be more 
182
             than one
183
        	   owner of any given dataset.  Any field(s) left blank will not be 
184
             used
186
             <font size="2"><b>Associated Individual Information</b><br/>
187
        	   Enter data about an owner or someone else who is associated with
188
             the dataset. Any field(s) left blank will not be used
185 189
        	   in the search criteria.
186 190
        	   </font>
187
        	</p>
188 191
             </td>
189 192
          </tr>
190 193
        </table>
191 194
        <table width="100%">
192 195
             <tr>
193
                <td>First Name:</td>
196
                <td align="right">First Name:</td>
194 197
                <td> 
195
                  <input type="text" name="givenName" size="15">
198
                  <input type="text" name="givenName" size="30">
196 199
             	  <xsl:attribute name="value">
197 200
                  <xsl:value-of select="resultset/query/givenName" />
198 201
                  </xsl:attribute>
199 202
                  </input>
200 203
                </td>
201
                <td>Last Name:</td>
204
                <td align="right">Last Name:</td>
202 205
                <td>
203
                  <input type="text" name="surName" size="15">
206
                  <input type="text" name="surName" size="30">
204 207
             	  <xsl:attribute name="value">
205 208
                  <xsl:value-of select="resultset/query/surName" />
206 209
                  </xsl:attribute>
......
208 211
                </td>
209 212
             </tr>
210 213
             <tr>
211
             	<td>Organization:</td>
214
             	<td align="right">Organization:</td>
212 215
             	<td> 
213
             	  <input type="text" name="organizationName" size="15">
216
             	  <input type="text" name="organizationName" size="30">
214 217
             	  <xsl:attribute name="value">
215 218
                  <xsl:value-of select="resultset/query/organizationName" />
216 219
                  </xsl:attribute>
217 220
                  </input>
218 221
                </td>
219
             	<td>Email Address:</td>
222
             	<td align="right">Email Address:</td>
220 223
             	<td> 
221
             	  <input type="text" name="electronicMailAddress" size="15">
224
             	  <input type="text" name="electronicMailAddress" size="30">
222 225
             	  <xsl:attribute name="value">
223 226
                  <xsl:value-of select="resultset/query/electronicMailAddress" />
224 227
                  </xsl:attribute>
......
226 229
                </td>
227 230
             </tr>
228 231
           </table>
229
           
230
        <table width="100%" border="1">
232
        <table width="100%" border="0">
231 233
          <tr>
232
             <td valign="bottom" width="25">
233
        	<img src="@html-path@/marine/step3.jpg" />
234
             </td>
235
             <td>
236
        	<h4>Query the Database</h4>
237
        	<p>
238
        	   <font size="2">
239
        	   Click the Query button to submit your query.  The results will be
240
        	   displayed below under the heading "Results".
241
        	   </font>
242
        	</p>
243
             </td>
234
            <td valign="center" align="left" width="25">
235
              <img src="@image-path@/marine/step3.jpg" alt="step 3"/>
236
            </td>
237
            <td>
238
              <p>
239
              <b><font size="2">Query the Database</font></b><br/>
240
              <font size="2">
241
              Click the Query button to submit your query.  The results will be
242
              displayed below under the heading "Results".
243
              </font>
244
              </p>
245
            </td>
244 246
          </tr>
245 247
        </table>
246 248
      <input type="hidden" name="action" value="query" />   
......
272 274
        <table width="100%">
273 275
        <tr class="rowodd">
274 276
        <th>&nbsp;</th>
275
        <th><xsl:text>Title</xsl:text></th>
276
        <th><xsl:text>Contacts</xsl:text></th>
277
        <th><xsl:text>Organization</xsl:text></th>
278
        <th><xsl:text>Creation Date</xsl:text></th>
279
        <th><xsl:text>Last Updated</xsl:text></th>
277
        <th><font size="2"><xsl:text>Title</xsl:text></font></th>
278
        <th><font size="2"><xsl:text>Contacts</xsl:text></font></th>
279
        <th><font size="2"><xsl:text>Organization</xsl:text></font></th>
280
        <th><font size="2"><xsl:text>Creation Date</xsl:text></font></th>
281
        <th><font size="2"><xsl:text>Last Updated</xsl:text></font></th>
280 282
        </tr>
281 283

  
282 284
	
......
296 298
                <xsl:attribute name="src">
297 299
                  <xsl:choose>
298 300
                    <xsl:when test="position() 
299
                         mod 2 = 1">@html-path@/marine/whiteMenu.jpg</xsl:when>
301
                         mod 2 = 1">@image-path@/marine/whiteMenu.jpg</xsl:when>
300 302
                    <xsl:when test="position() 
301
                         mod 2 = 0">@html-path@/marine/blueMenu.jpg</xsl:when>
303
                         mod 2 = 0">@image-path@/marine/blueMenu.jpg</xsl:when>
302 304
                  </xsl:choose>
303 305
                </xsl:attribute>
304 306
                <xsl:attribute name="name">
......
306 308
                </xsl:attribute>
307 309
              </input>
308 310
          </td>
309
          <td><xsl:value-of select="./doctitle"/>
310
              
311
          <td><font size="2"><xsl:value-of select="./doctitle"/></font>
311 312
              <xsl:text>&nbsp;</xsl:text>
312 313
          </td>
313 314
          <td>
314
              <xsl:value-of select="./givenName" /> 
315
              <font size="2"><xsl:value-of select="./givenName" /></font> 
315 316
              <xsl:text>&nbsp;</xsl:text>
316 317

  
317
              <xsl:value-of select="./surName" />
318
              <font size="2"><xsl:value-of select="./surName" /></font>
318 319
              <xsl:text>&nbsp;</xsl:text>
319 320
          </td>
320
          <td><xsl:value-of select="./organizationName" />
321
          <td>
322
              <font size="2"><xsl:value-of select="./organizationName" /></font>
321 323
              <xsl:text>&nbsp;</xsl:text>
322 324
          </td>
323 325
  
324 326
          <td>
325
              <xsl:value-of select="./createdate" />
326
              <xsl:text>&nbsp;</xsl:text>
327
              <font size="2"><xsl:value-of select="./createdate" /></font>
328
              <font size="2"><xsl:text>&nbsp;</xsl:text></font>
327 329
          </td>
328 330
          <td>
329
              <xsl:value-of select="./updatedate" /> 
331
              <font size="2"><xsl:value-of select="./updatedate" /></font> 
330 332
              <xsl:text>&nbsp;</xsl:text>
331 333
          </td>
332 334
          </tr>
lib/marine/rowcol.css
2 2
 .emlbody    {font-family: Tahoma, sans-serif; background-color:white}
3 3
 .rowodd  {background-color: #CCCCCC; color: black; vertical-align: top}
4 4
 .roweven {background-color: #F8F8F8; color: black; vertical-align: top}
5
 .rowlight {background-color: #0099C8; color: black;  vertical-align: top}
5
 .rowlight {background-color: #66CCFF; color: black;  vertical-align: top}
6 6
 .rowwhite {background-color: #FFFFFF; color: black; vertical-align: top}
7 7
 .stephead {background=color: #000000; color: white;}
8 8
 .coleven {}

Also available in: Unified diff