Changeset 37680 for main


Ignore:
Timestamp:
2023-04-20T09:16:43+12:00 (12 months ago)
Author:
davidb
Message:

Introduction of some additional 'hook-points' xsl:templates that a GS interface can override

Location:
main/trunk/greenstone3/web/interfaces/default/transform
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/layouts/header.xsl

    r37547 r37680  
    294294 
    295295  <!-- ***** HEADER LAYOUT TEMPLATE ***** -->
     296
     297  <xsl:template name="top-area">
     298    <div id="topArea" class="ui-state-default ui-corner-top">
     299      <table>
     300        <tbody>
     301          <tr>
     302            <td>
     303              <div id="breadcrumbs">
     304                <xsl:call-template name="breadcrumbs" />
     305                <xsl:text> </xsl:text>
     306              </div>
     307            </td>
     308
     309            <td>
     310              <xsl:call-template name="home-help-preferences" />
     311            </td>
     312          </tr>
     313        </tbody>
     314      </table>
     315    </div>   
     316  </xsl:template>
     317
     318 
    296319  <xsl:template name="create-banner">       
    297320    <div id="gs_banner" class="ui-widget-header ui-corner-bottom">
  • main/trunk/greenstone3/web/interfaces/default/transform/layouts/main.xsl

    r37403 r37680  
    3232                    <xsl:text> </xsl:text>
    3333                </a>
    34 
    35                 <div id="topArea" class="ui-state-default ui-corner-top">
    36                     <table>
    37                         <tbody>
    38                             <tr>
    39                                 <td>
    40                                     <div id="breadcrumbs">
    41                                         <xsl:call-template name="breadcrumbs" />
    42                                         <xsl:text> </xsl:text>
    43                                     </div>
    44                                 </td>
    45 
    46                                 <!-- ***** in header.xsl ***** -->
    47                                 <td>
    48                                     <xsl:call-template name="home-help-preferences" />
    49                                 </td>
    50                             </tr>
    51                         </tbody>
    52                     </table>
    53                 </div>
    54 
     34               
     35        <!-- ***** in header.xsl ***** -->
     36        <xsl:call-template name="top-area"/>
     37       
    5538                <div id="container" class="ui-corner-all">
    5639
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/classifier.xsl

    r36637 r37680  
    5252        <xsl:with-param name="serviceName" select="$serviceName" />
    5353      </xsl:apply-templates>
     54
     55      <xsl:call-template name="classifierResultsPost" />
     56     
     57      <xsl:call-template name="classifierPost" />     
    5458    </div>
    5559
     
    404408  </xsl:template>
    405409
     410  <xsl:template name="classifierResultsPost">
     411  </xsl:template>
     412
     413  <xsl:template name="classifierPost">
     414  </xsl:template>
     415
    406416  <xsl:template match="/page/xsltparams">
    407417    <!-- suppress xsltparam block in page -->
Note: See TracChangeset for help on using the changeset viewer.