Project

General

Profile

« Previous | Next » 

Revision 2954

Added by berkley almost 19 years ago

updated some styling on the results page

View differences:

lib/style/skins/kepler/entity.xsl
36 36
  <xsl:param name="enableediting">false</xsl:param>
37 37
  <xsl:template match="/">
38 38
   <html>
39
      <head><title>Details for <xsl:value-of select="/entity/@name"/> </title></head>
39
      <head><title>Details for <xsl:value-of select="/entity/@name"/> </title>
40
      <link rel="stylesheet" type="text/css" 
41
            href="@style-skins-path@/{$qformat}/{$qformat}.css" />
42
      </head>
40 43
    <body>
41
      <table border="1">
42
        <tr>
43
          <th>Name</th>
44
          <th>Class</th>
45
          <th>Docs</th>
46
          <th>KAR</th>
47
        </tr>
48
        <tr>
49
          <td><xsl:value-of select="/entity/@name"/></td>
50
          <td><xsl:value-of select="/entity/property[@name='class']/@value"/></td>
51
          <td>None</td>
52
          <td>
53
            <a>
54
              <xsl:attribute name="href">http://@server@/authority/data?lsid=<xsl:value-of select="/entity/property[@name='karId']/@value"/></xsl:attribute>
55
              <xsl:text>Download</xsl:text>
56
            </a>
57
          </td>
58
        </tr>
59
      </table>
44
      <h2>Component Details</h2>
45
      Name: <xsl:value-of select="/entity/@name"/><br/>
46
      Class: <xsl:value-of select="/entity/property[@name='class']/@value"/><br/>
47
      Docs: <xsl:value-of select="/entity/property[@name='documentation']"/><br/>
48
      <a>
49
        <xsl:attribute name="href">http://@server@/authority/data?lsid=<xsl:value-of select="/entity/property[@name='karId']/@value"/></xsl:attribute>
50
        <xsl:text>Download</xsl:text>
51
      </a>
60 52
    </body>
61 53
    </html>
62 54
    </xsl:template>
lib/style/skins/kepler/header.html
33 33
<body>
34 34
<table width="760" border="0" cellspacing="0" cellpadding="0">
35 35
  <tr> 
36
    <td rowspan="3" width="15%" valign="top"> 
37
      <div align="left"><img src="@systemidserver@@style-skins-path@/kepler/kepler-logo.png"></div>
38
    </td>
36 39
    <td valign="middle" colspan="4" class="title">Kepler Analytical Component Repository</td>
37
    <td rowspan="3" width="20%" valign="top"> 
38
      <div align="right"><img src="@systemidserver@@style-skins-path@/kepler/kepler-logo.png"></div>
39
    </td>
40 40
  </tr>
41 41
  <tr> 
42 42
    <td class="spacerrow" valign="top" colspan="4">&nbsp;</td>

Also available in: Unified diff