Changeset 6688


Ignore:
Timestamp:
2004-02-02T13:49:11+13:00 (20 years ago)
Author:
nzdl
Message:

some small display changes to make it more like nzdl.org

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/web/interfaces/nzdl/transform/style.xsl

    r6245 r6688  
    7878 
    7979  <xsl:template name="genericPageBanner">
     80    <xsl:param name='text'/>
    8081    <xsl:variable name="lang" select="/page/@lang"/>
    8182    <center>
     
    9394      </table>
    9495    </center>
    95     <xsl:call-template name="dividerBar"/>
     96    <xsl:call-template name="dividerBar"><xsl:with-param name='text' select="$text"/></xsl:call-template>
    9697  </xsl:template>
    9798 
     
    130131          <td xsl:use-attribute-sets="td-brownbutton">
    131132        <a style="text-decoration:none" href="{$library_name}?a=p&amp;sa=home">
    132           <b><font color='{$colour-button-text}'><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home_b')"/></font></b>
     133          <b><small><font color='{$colour-button-text}'><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home_b')"/></font></small></b>
    133134        </a>
    134135          </td>
    135           <xsl:choose>
     136<!--          <xsl:choose>
    136137        <xsl:when test="$pageType='help'">
    137138          <td xsl:use-attribute-sets="td-brownbutton-off">
    138             <b><font color='{$colour-button-text}'><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_b')"/></font></b>
     139            <b><small><font color='{$colour-button-text}'><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_b')"/></font></small></b>
    139140          </td>
    140141        </xsl:when>
     
    142143          <td xsl:use-attribute-sets="td-brownbutton">
    143144            <a style="text-decoration:none" href="{$library_name}?a=p&amp;sa=help&amp;c={$collName}">
    144               <b><font color='{$colour-button-text}'><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_b')"/></font></b>
     145              <b><small><font color='{$colour-button-text}'><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_b')"/></font></small></b>
    145146            </a>
    146147          </td>
    147148        </xsl:otherwise>
    148           </xsl:choose>
     149          </xsl:choose>-->
    149150          <xsl:choose>
    150151        <xsl:when test="$pageType='pref'">
    151152          <td  xsl:use-attribute-sets="td-brownbutton-off">
    152             <b><font color='{$colour-button-text}'><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_b')"/></font></b>
     153            <b><small><font color='{$colour-button-text}'><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_b')"/></font></small></b>
    153154          </td>
    154155        </xsl:when>
     
    156157          <td xsl:use-attribute-sets="td-brownbutton">
    157158            <a title="xxpref" style="text-decoration:none" href="{$library_name}?a=p&amp;sa=pref&amp;c={$collName}">
    158               <b><font color='{$colour-button-text}'><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_b')"/></font></b>
     159              <b><small><font color='{$colour-button-text}'><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_b')"/></font></small></b>
    159160            </a>
    160161          </td>
     
    177178    </xsl:variable>
    178179    <tr>
    179       <td align='right' width="200" height="57" background='interfaces/nzdl/images/titleicon.gif'><font size="+2" color='black'><xsl:value-of select="$text"/>&#160;&#160;</font></td>
     180      <td valign='top' align='right' width="200" height="57" background='interfaces/nzdl/images/titleicon.gif'><b><font size="+2" color='black'><xsl:value-of select="$text"/>&#160;&#160;</font></b></td>
    180181    </tr>
    181182      </xsl:if>
    182183    </table>
    183     <p/>
    184184  </xsl:template>
    185185 
     
    215215      </tr>
    216216    </table>
    217     <br/>
    218217  </xsl:template>
    219218
     
    261260  <xsl:template name="dividerBar">
    262261    <xsl:param name='text'/>
    263     <br/><table width='537' border="0" cellpadding="0" cellspacing="0">
    264       <tr><td valign='bottom' height='20' background='interfaces/default/images/greenbar.gif'><font size="+1" color="black"><b>&#160;<xsl:value-of select='$text'/></b></font></td></tr></table><br/>
     262    <p><table width='537' border="0" cellpadding="0" cellspacing="0">
     263      <tr><td valign='bottom' height='20' background='interfaces/default/images/greenbar.gif'><font size="+1" color="black"><b>&#160;<xsl:value-of select='$text'/></b></font></td></tr></table></p>
    265264  </xsl:template>
    266265 
     
    278277    <xsl:attribute name='height'>20</xsl:attribute>
    279278    <xsl:attribute name='align'>center</xsl:attribute>
     279    <xsl:attribute name='valign'>bottom</xsl:attribute>
    280280  </xsl:attribute-set>
    281281 
     
    284284    <xsl:attribute name='height'>20</xsl:attribute>
    285285    <xsl:attribute name='align'>center</xsl:attribute>
     286  <xsl:attribute name='valign'>bottom</xsl:attribute>   
    286287  </xsl:attribute-set>
    287288 
Note: See TracChangeset for help on using the changeset viewer.