Ignore:
Timestamp:
2020-12-18T22:13:34+13:00 (3 years ago)
Author:
anupama
Message:

Styling the wmtb-interface so it looks decent and functional enough to link from the official whakatohea.co.nz site at last, now that that's ready to link to the WMTB DL site.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-interfaces-dev/wmtb/transform/pages/home.xsl

    r34300 r34624  
    5757                 https://stackoverflow.com/questions/1461649/how-to-insert-nbsp-in-xslt
    5858            -->
     59            <!--
    5960            <div class="wsite-spacer" style="height:50px;">
    6061              &#160; &#160; &#160;
    61             </div>
     62            </div>-->
    6263            <div><div class="wsite-multicol"><div class="wsite-multicol-table-wrap" style="margin:0 -15px;">
    6364              <table class="wsite-multicol-table">
     
    208209      <xsl:variable name="group_href"><xsl:value-of select="$library_name"/>/group/<xsl:if test="/page/pageRequest/paramList/param[@name='group']"><xsl:value-of select="/page/pageRequest/paramList/param[@name='group']/@value"/>/</xsl:if><xsl:value-of select="@name"/></xsl:variable>
    209210     
    210      
     211      <div class="img-and-desc">
    211212      <!-- if there is an image for this group, this is displayed -->     
    212213      <xsl:if test="util:checkFileExistence($site_name, backgroundImage)">
    213         <div><div class="wsite-image wsite-image-border-thin " style="padding-top:10px;padding-bottom:10px;margin-left:0;margin-right:0;text-align:center">
     214        <div class="wsite-image wsite-image-border-thin " style="padding-top:10px;padding-bottom:10px;margin-left:0;margin-right:0;text-align:center">
    214215          <img class="groupLinkImage">
    215216        <xsl:attribute name="alt"><xsl:value-of select="@name"/></xsl:attribute>
     
    218219        <xsl:attribute name="src">sites/<xsl:value-of select="$site_name"/>/<xsl:value-of select="backgroundImage"/></xsl:attribute>
    219220          </img>
    220         </div></div>
    221         <div style="display:block;font-size:90%"></div>
     221        </div>
     222
    222223      </xsl:if>
    223224
    224225      <!-- some text for the group -->
    225       <div class="paragraph" style="text-align:center;">
     226      <div class="paragraph">
    226227        <!-- group title links to the collection's about page -->
    227228        <a href="{$group_href}" title="{$short}" alt="{$short}">
     
    247248        </xsl:choose>
    248249      </div>
    249      
     250
     251    </div>
     252       <!-- <div style="display:block;font-size:90%"></div>   -->
    250253    </xsl:template>
    251254
Note: See TracChangeset for help on using the changeset viewer.