1
0
Fork 0
mirror of https://gitlab.com/sbrl/GalleryShare.git synced 2018-06-12 22:45:16 +00:00

Add links to tiles

This commit is contained in:
Starbeamrainbowlabs 2016-07-18 20:46:51 +01:00
parent 6df7b76fb2
commit d777ada143

View file

@ -26,18 +26,18 @@
</xsl:template>
<xsl:template match="ListingEntry[@Type='File']">
<span class="preview-backdrop">
<a href="{Name}" class="preview-backdrop">
<figure class="preview file" style="background-image: url('{Name}?type=thumbnail');">
<figcaption><xsl:value-of select="Name" /></figcaption>
</figure>
</span>
</a>
</xsl:template>
<xsl:template match="ListingEntry[@Type='Directory']">
<span class="preview-backdrop">
<a href="{Name}" class="preview-backdrop">
<figure class="preview directory">
(coming soon)
<figcaption><xsl:value-of select="Name" /></figcaption>
</figure>
</span>
</a>
</xsl:template>
</xsl:stylesheet>