Changeset 33075 for main


Ignore:
Timestamp:
2019-05-14T14:07:29+12:00 (2 years ago)
Author:
davidb
Message:

Changes to provided customized layout requested by Heritage NZ, including searching and browsing on About page in text, and berry baskets

Location:
main/trunk/model-sites-dev/heritage-nz/collect/pdf-reports/transform/pages
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/heritage-nz/collect/pdf-reports/transform/pages/about.xsl

    r33027 r33075  
    99    exclude-result-prefixes="java util">
    1010
     11  <xsl:template name="create-banner">       
     12    <div id="gs_banner" class="ui-widget-header ui-corner-bottom">
     13      <div id="titlesearchcontainer">
     14    <xsl:call-template name="page-title-area"/>
     15    <div style="clear:both;"><xsl:text> </xsl:text></div>
     16      </div>
     17      <xsl:call-template name="browsing-tabs"/>
     18    </div>
     19  </xsl:template>
     20
     21
    1122  <xsl:template name="coll-description">
    1223    <xsl:variable name="numDocs" select="/page/pageResponse/collection/metadataList/metadata[@name='numDocs']"/>
    1324   
     25    <figure style="float: right;">
     26      <img src="http://www.heritage.org.nz/-/media/heritage/images/protect/archaeology/digital-library-page.jpg?useCustomFunctions=1&amp;mw=920" width="220" alt="Archaeological digital library" />
     27    </figure>
     28
    1429    <h1>Archaeological PDF Reports Digital Library</h1>
     30
    1531    <p>
    1632      Heritage New Zealand holds an extensive collection of
     
    2642    </p>
    2743   
    28     <figure class="">
    29       <img src="http://www.heritage.org.nz/-/media/heritage/images/protect/archaeology/digital-library-page.jpg?useCustomFunctions=1&amp;mw=920" width="220" alt="Archaeological digital library" />
    30     </figure>
     44
     45    <p>
     46      You can locate reports through the search interface:
     47    </p>
     48    <div id="titlesearchcontainer">
     49      <style>
     50    #quicksearcharea    { float: left;  text-align: left; }
     51    #quicksearcharea ul { float: right; text-align: right; }
     52      </style>
     53      <xsl:call-template name="quick-search-area"/>
     54      <div style="clear:both;"><xsl:text> </xsl:text></div>
     55    </div>
     56
     57    <p>
     58      Or else browse by:
     59    </p>
     60    <style>
     61      #gs-nav li:hover  { background-color: #662020; }
     62      #inpage-browsing-tabs li  { float: inherit;  display: inherit; margin: 5px; }
     63      #inpage-browsing-tabs { width: 200px; }
     64
     65    </style>
     66    <div id="inpage-browsing-tabs" >
     67      <xsl:call-template name="browsing-tabs"/>
     68    </div>
    3169   
    32     <p>
     70    <p style="padding-top: 10px;">
    3371      Should you prefer, you may contact us as follows:
    3472    </p>
    35     <p>
    36       <i style="padding-left: 20px">
     73    <p style="padding-left: 20px">
     74      <i>
    3775    Archaeological Digital Library<br/>
    3876    Heritage New Zealand<br/>
     
    4280      </i>
    4381    </p>
    44     <p>tel: (04) 472 4341</p>
     82    <p style="padding-left: 20px">
     83      <i>
     84    tel: (04) 472 4341
     85      </i>
     86    </p>
    4587   
    4688   
  • main/trunk/model-sites-dev/heritage-nz/collect/pdf-reports/transform/pages/classifier.xsl

    r33021 r33075  
    3131         
    3232          <iframe src="sites/{$site_name}/collect/{$collName}/iframe/nz-territorial-authorities-v06.svg"
    33               style="float:right; positionXX: absolute; width: 345px; height: 436px; border: none; ">
     33              style="float:right; width: 345px; height: 436px; border: none; ">
    3434        <gsf:comment>filler</gsf:comment>
    3535          </iframe>
    3636        </xsl:if>       
    37         <table id="classifiernodelist">
     37        <table id="classifiernodelist" style="position:relative;"> <!-- **** -->
    3838          <xsl:text> </xsl:text>
    3939          <xsl:call-template name="processNodeChildren">
     
    129129
    130130<div>
    131               <div class="zoomImage" id="wrapHASH" style="float: right; position:relative; width: 483px; height: 610px;">
     131              <div class="zoomImage" id="wrapHASH" style="position:absolute; width: 483px; height: 610px; right: -450px; top: 100px; ">
    132132        <div id="smallHASH" style="position: relative; width: 483px; height: 610px;">
    133133          <iframe src="sites/{$site_name}/collect/{$collName}/iframe/nz-territorial-authorities-v06.svg"
    134               style="floatXX:right; positionXXXX: absolute; width: 483px; height: 610px; border: none; ">
     134              style="width: 483px; height: 610px; border: none; ">
    135135            <xsl:comment>filler</xsl:comment>
    136136          </iframe>
     
    141141          </div>
    142142         
    143                   <div id="largeHASH" style="position: relative; width: 1380px; height:1744px; left: 600px; top: 100px; leftXX: -57.48px; topXX: -4.65867px;">
     143                  <div id="largeHASH" style="position: relative; width: 1380px; height:1744px; left: 600px; top: 100px;">
    144144
    145145            <iframe id="largeHASH-iframe" src="sites/{$site_name}/collect/{$collName}/iframe/nz-territorial-authorities-v06-large.svg"
    146                 style="floatXX:right; positionXXXX: absolute; width: 1380px; height: 1744px; border: none; ">
     146                style="width: 1380px; height: 1744px; border: none; ">
    147147              <xsl:comment>filler</xsl:comment>
    148148            </iframe>
     
    168168          });
    169169
    170           $("#zoomOptions input").prop("checked", false);
    171           $("#zoomOptions").css("display", "");
    172           //}
    173 
     170
     171          $("#zoomOptions input").prop("checked", true);
     172          $("#zoomOptions").css("display", "block");
    174173          _imageZoomEnabled = true;
    175174
    176175          aZoomer.mouseenter(function (e) {
     176             if (!_imageZoomEnabled) { return false }
     177
    177178         $('#moverHASH').css("display","block");
    178179             //console.log("**** mouseenter: pageX = " + e.pageX + "," + "PageY = " + e.pageY);
     
    196197        </xsl:if>
    197198       
    198         <table id="classifiernodelist">
     199        <table id="classifiernodelist" style="position:relative;"> <!-- **** -->
    199200          <xsl:for-each select='classifierNode'>
    200201        <xsl:call-template name="processNodeChildren">
Note: See TracChangeset for help on using the changeset viewer.