Changeset 34072

Show
Ignore:
Timestamp:
14.03.2020 23:21:16 (2 weeks ago)
Author:
davidb
Message:

Updated to add download link

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/atea/collect/global-digital-heritage/etc/collectionConfig.xml

    r34023 r34072  
    169169    <div id="gs-document"> 
    170170      <xsl:call-template name="documentPre"/> 
    171  
    172  
     171       
    173172<xsl:variable name="gdh.Identifier"><gsf:metadata name="gdh.Identifier"/></xsl:variable> 
    174173<xsl:variable name="gdh.AlphaIdentifier"><gsf:metadata name="gdh.AlphaIdentifier"/></xsl:variable> 
    175174 
     175<div style="padding: 10px;"> 
     176  Download: <a><xsl:attribute name="href"><xsl:value-of select="$httpPath"/>/index/assoc/<gsf:metadata name="assocfilepath" pos="1"/>/<gsf:metadata name="SourceFile"/></xsl:attribute><xsl:attribute name="download"><gsf:metadata name="gdh.AlphaIdentifier"/>-<gsf:metadata name="gdh.Identifier"/>.zip</xsl:attribute><gsf:metadata name="gdh.AlphaIdentifier"/>-<gsf:metadata name="gdh.Identifier"/>.zip</a> 
     177</div> 
     178 
    176179<div class="sketchfab-embed-wrapper"> 
    177     <iframe title="A 3D model" width="640" height="480" alt="{$gdh.Identifier}" src="https://sketchfab.com/models/{$gdh.Identifier}/embed?preload=1&amp;ui_controls=1&amp;ui_infos=1&amp;ui_inspector=1&amp;ui_stop=1&amp;ui_watermark=1&amp;ui_watermark_link=1" frameborder="0" allow="autoplay; fullscreen; vr" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe> 
     180  <!-- orginally 640 x 480 --> 
     181    <iframe title="A 3D model" width="960" height="720" alt="{$gdh.Identifier}" src="https://sketchfab.com/models/{$gdh.Identifier}/embed?preload=1&amp;ui_controls=1&amp;ui_infos=1&amp;ui_inspector=1&amp;ui_stop=1&amp;ui_watermark=1&amp;ui_watermark_link=1" frameborder="0" allow="autoplay; fullscreen; vr" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe> 
    178182    <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;"> 
    179         <a href="https://sketchfab.com/3d-models/{$gdh.AlphaIdentifier}-{$gdh.Identifier}?utm_medium=embed&amp;utm_source=website&amp;utm_campaign=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;"><gsf:metadata name="dc.Title"/> XXXXX Pre-Islamic Pottery Jar, Mleiha, Sharjah, UAE</a> 
     183        <a href="https://sketchfab.com/3d-models/{$gdh.AlphaIdentifier}-{$gdh.Identifier}?utm_medium=embed&amp;utm_source=website&amp;utm_campaign=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;"><gsf:metadata name="dc.Title"/></a> 
    180184        by <a href="https://sketchfab.com/GlobalDigitalHeritage?utm_medium=embed&amp;utm_source=website&amp;utm_campaign=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">Global Digital Heritage</a> 
    181185        on <a href="https://sketchfab.com?utm_medium=embed&amp;utm_source=website&amp;utm_campaign=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a> 
    182186    </p> 
    183187</div> 
     188 
     189 
    184190 
    185191 <!--