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:
parent
6df7b76fb2
commit
d777ada143
1 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue