Project

General

Profile

« Previous | Next » 

Revision 506

Added by Matt Jones about 24 years ago

Modified stylesheets to use the default.css file from the new KNB web site.
Also, provided a new resultset.xsl that represents a simple freetext query
of the KNB data repository. Updated build.xml to relect the location of the
new css stylesheet.

View differences:

resultset.xsl
19 19
    <html>
20 20
      <head>
21 21
        <link rel="stylesheet" type="text/css" 
22
              href="@html-path@/style/rowcol.css" />
22
              href="@web-base-url@/default.css" />
23 23
        <script language="JavaScript">
24 24
          <![CDATA[
25 25
          function submitform(current_action,form_ref) {
......
32 32

  
33 33
      <body>
34 34
        <table width="100%">
35
          <tr>
36
            <td rowspan="2"><div class="logo">KNB<br />Logo</div></td>
37
            <td colspan="7"><div class="title">Biocomplexity Data Search</div>
38
            </td>
39
          </tr>
40
          <tr>
41
            <td><a href="@web-base-url@" class="toollink"> KNB </a></td>
42
            <td><a href="@web-base-url@/data.html" class="toollink"> 
43
                Data </a></td>
44
            <td><a href="@web-base-url@/people.html" class="toollink"> 
45
                People </a></td>
46
            <td><a href="@web-base-url@/informatics" class="toollink"> 
47
                Informatics </a></td>
48
            <td><a href="@web-base-url@/biodiversity" class="toollink"> 
49
                Biodiversity </a></td>
50
            <td><a href="@web-base-url@/education" class="toollink"> 
51
                Education </a></td>
52
            <td><a href="@web-base-url@/software" class="toollink"> 
53
                Software </a></td>
54
         </tr>
35 55
         <tr>
36
          <td align="right" valign="top">
56
          <td align="right" valign="top" colspan="7">
37 57
            <form action="@html-path@/servlet/metacat" method="POST">
38 58
             Data Search: <input type="text" name="anyfield" size="10" />
39 59
             <input type="hidden" name="action" value="query" />   
......
71 91
          
72 92
         <table width="100%">
73 93
           <tr>
74
             <th class="sectionhead">Title</th>
75
             <th class="sectionhead">Action</th>
76
             <th class="sectionhead">Related Documents</th>
77
             <th class="sectionhead">Contacts</th>
78
             <th class="sectionhead">Organization</th>
79
             <th class="sectionhead">Keywords</th>
94
             <th class="tablehead">Title</th>
95
             <th class="tablehead">Action</th>
96
             <th class="tablehead">Related Documents</th>
97
             <th class="tablehead">Contacts</th>
98
             <th class="tablehead">Organization</th>
99
             <th class="tablehead">Keywords</th>
80 100
           </tr>
81 101
        
82 102
         <xsl:for-each select="resultset/document">
......
220 240
                   <br/>
221 241
                 </xsl:for-each>  
222 242
               </xsl:if>
243
               <xsl:text>&nbsp;</xsl:text>
223 244
             </td>
224 245
             <td>
225 246
               <xsl:for-each select="./param[@name='resource/dataset/originator/individualName/surName']" >  

Also available in: Unified diff