add rnd image type extensions
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
e7fb6563af
commit
e80ec6ad92
|
@ -0,0 +1 @@
|
|||
../hq/new1.jpg
|
|
@ -0,0 +1 @@
|
|||
../hq/old1.jpg
|
|
@ -0,0 +1 @@
|
|||
../hq/old2.jpg
|
|
@ -0,0 +1 @@
|
|||
../hq/pano1.jpg
|
|
@ -0,0 +1 @@
|
|||
../hq/pano3.jpg
|
|
@ -0,0 +1 @@
|
|||
gchq-hdr.jpg
|
|
@ -0,0 +1 @@
|
|||
../hq/schalter.jpg
|
|
@ -0,0 +1 @@
|
|||
./zentralwerk_bau.jpg
|
|
@ -0,0 +1 @@
|
|||
../hqdefault.jpg
|
|
@ -0,0 +1 @@
|
|||
gchq-werkbank.jpg
|
|
@ -400,7 +400,7 @@
|
|||
<xsl:otherwise><!-- Fallback image -->
|
||||
<xsl:choose><!-- depending on class -->
|
||||
<!-- "random" image from list (filenames should be links) -->
|
||||
<xsl:when test="@class = 'news'"><xsl:attribute name="style">background-image: url('images/news/rnd<xsl:value-of select="$diceroll"/>');</xsl:attribute></xsl:when>
|
||||
<xsl:when test="@class = 'news'"><xsl:attribute name="style">background-image: url('images/news/rnd<xsl:value-of select="$diceroll"/>.jpg');</xsl:attribute></xsl:when>
|
||||
<!--
|
||||
<xsl:when test="@class = 'news'"><xsl:attribute name="style">background-image: url('images/news/gchq-hdr.jpg');</xsl:attribute></xsl:when>
|
||||
-->
|
||||
|
|
Loading…
Reference in New Issue