Browse Source

Gallery mit bulma 1.0

master
Daniel Quathamer 2 weeks ago
parent
commit
cf33171be0
  1. 19
      src-modules/module/kb/etl/xml2html/mwTemplates.xsl

19
src-modules/module/kb/etl/xml2html/mwTemplates.xsl

@ -147,10 +147,13 @@ @@ -147,10 +147,13 @@
<GalleryImage><imgsrc>sx_users.svg</imgsrc><href>SuperX-Homepage#Zum_SuperX-Projekt</href><subtitle>Aktuelle Projektgruppe</subtitle></GalleryImage>
</gallery>-->
<xsl:variable name="mode"><xsl:value-of select="@mode"/></xsl:variable>
<div class="tile is-ancestor">
<xsl:for-each select="GalleryImage">
<div class="tile is-parent">
<article>
<div>
<xsl:attribute name="class"><xsl:value-of select="concat('fixed-grid has-',count(GalleryImage),'-cols')" />
</xsl:attribute>
<div class="grid">
<xsl:for-each select="GalleryImage">
<div class="cell"><article>
<!--<article>
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="contains($mode,'nolines')">
@ -160,7 +163,8 @@ @@ -160,7 +163,8 @@
<xsl:text>tile is-child box</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</xsl:attribute>-->
<p>
<figure>
<xsl:attribute name="class">
<xsl:choose>
@ -184,6 +188,7 @@ @@ -184,6 +188,7 @@
<img src="{imgsrc}" width="20px" border="0" />
</a>
</figure>
</p>
<xsl:if test="subtitle !=''">
<p class="subtitle">
<xsl:choose>
@ -197,9 +202,13 @@ @@ -197,9 +202,13 @@
</p>
</xsl:if>
</article>
<!--</article>-->
</div>
</xsl:for-each>
</div>
</div>
</xsl:template>
<xsl:template match="Ab_neu">
<!--Beispiel: {{Ab_neu|RELEASE=2020.12|TEXT= Diese Funktionalität wird erst ab HISinOne-BI Release 2021.12 bzw. SuperX-ERFOLG 0.9 bereitgestellt.}}

Loading…
Cancel
Save