Changeset 5198


Ignore:
Timestamp:
2003-08-19T15:01:33+12:00 (21 years ago)
Author:
kjdon
Message:

changes to the nav bar and buttons

File:
1 edited

Legend:

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

    r5132 r5198  
    5454 
    5555  <xsl:attribute-set name="td-brownbutton-off">
     56    <xsl:attribute name='background'>interfaces/default/images/greenbar.gif</xsl:attribute>
     57    <xsl:attribute name='height'>20</xsl:attribute>
     58    <xsl:attribute name='align'>center</xsl:attribute>
     59  </xsl:attribute-set>
     60 
     61  <xsl:attribute-set name="td-navbar">
    5662    <xsl:attribute name='background'>interfaces/default/images/greenbar.gif</xsl:attribute>
    5763    <xsl:attribute name='height'>20</xsl:attribute>
     
    122128        <tr>
    123129          <td xsl:use-attribute-sets="td-brownbutton">
    124         <a style="text-decoration:none" href="{$library_name}?a=p&amp;sa=home">
     130        <a style="text-decoration:none" href="{$library_name}?a=p&amp;sa=home"><xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home_tip')"/></xsl:attribute>
    125131          <b><font color='{$colour-button-text}'><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home_b')"/></font></b>
    126132        </a>
     
    134140        <xsl:otherwise>
    135141          <td xsl:use-attribute-sets="td-brownbutton">
    136             <a style="text-decoration:none" href="{$library_name}?a=p&amp;sa=help&amp;c={$collName}">
     142            <a style="text-decoration:none" href="{$library_name}?a=p&amp;sa=help&amp;c={$collName}"><xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_tip')"/></xsl:attribute>
    137143              <b><font color='{$colour-button-text}'><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_b')"/></font></b>
    138144            </a>
     
    148154        <xsl:otherwise>
    149155          <td xsl:use-attribute-sets="td-brownbutton">
    150             <a style="text-decoration:none" href="{$library_name}?a=p&amp;sa=pref&amp;c={$collName}">
     156            <a style="text-decoration:none" href="{$library_name}?a=p&amp;sa=pref&amp;c={$collName}"><xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_tip')"/></xsl:attribute>
    151157              <b><font color='{$colour-button-text}'><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_b')"/></font></b>
    152158            </a>
     
    167173    <xsl:variable name="this-service" select="/page/pageResponse/service/@name"/>
    168174    <table border='0' cellspacing='0' width='100%'>
    169       <tr height='20' background='interfaces/default/images/greenbar.gif'>
    170     <td>&#160;</td>
     175      <tr>
    171176    <xsl:for-each select="$this-element/serviceList/service">
    172177      <xsl:variable name="action"><xsl:choose>
     
    180185      <xsl:choose>
    181186        <xsl:when test="$action='CURRENT'">
    182           <td>&#160;</td><td align='center' ><b><nobr>&#160;<font size='+1' color='{$colour-navbar-selected-text}'><xsl:value-of select="displayItem[@name='name']"/></font>&#160;</nobr></b></td><td height='17'>&#160;</td>
     187          <td  xsl:use-attribute-sets="td-navbar"><b><nobr><font size='+1' color='{$colour-navbar-selected-text}'><xsl:value-of select="displayItem[@name='name']"/></font></nobr></b></td>
    183188        </xsl:when>
    184189        <xsl:when test="$action !='DO_NOT_DISPLAY'">
    185           <td>&#160;</td><td align='center'><a style="text-decoration:none" href="{$library_name}?a={$action}&amp;rt=d&amp;s={@name}&amp;c={$collName}"><xsl:attribute name='onMouseOver'>rollover('<xsl:value-of select="displayItem[@name='description']"/>')</xsl:attribute><b><nobr>&#160;<font size='+1' color='{$colour-navbar-link-text}'><xsl:value-of select="displayItem[@name='name']"/></font>&#160;</nobr></b></a></td><td>&#160;</td>
     190          <td  xsl:use-attribute-sets="td-navbar"><a style="text-decoration:none" href="{$library_name}?a={$action}&amp;rt=d&amp;s={@name}&amp;c={$collName}"><xsl:if test="displayItem[@name='description']"><xsl:attribute name='title'><xsl:value-of select="displayItem[@name='description']"/></xsl:attribute></xsl:if><b><nobr><font size='+1' color='{$colour-navbar-link-text}'><xsl:value-of select="displayItem[@name='name']"/></font></nobr></b></a></td>
    186191        </xsl:when>
    187192      </xsl:choose>
    188193    </xsl:for-each>
    189     <td>&#160;</td>
    190194      </tr>
    191195    </table>
Note: See TracChangeset for help on using the changeset viewer.