2020-10-09 05:36:03 -04:00
|
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
2020-10-09 06:26:18 -04:00
|
|
|
<!-- Import include files -->
|
|
|
|
<xsl:include href="includes/page.xsl"/>
|
|
|
|
<xsl:include href="includes/mountnav.xsl"/>
|
|
|
|
<xsl:include href="includes/player.xsl"/>
|
2022-03-06 13:09:42 -05:00
|
|
|
<xsl:include href="includes/authlist.xsl"/>
|
2014-12-29 10:32:52 -05:00
|
|
|
|
2020-10-09 06:26:18 -04:00
|
|
|
<xsl:variable name="title">Active Mountpoints</xsl:variable>
|
2018-05-05 02:40:25 -04:00
|
|
|
|
2020-10-09 06:26:18 -04:00
|
|
|
<xsl:template name="content">
|
|
|
|
<div class="section">
|
|
|
|
<h2><xsl:value-of select="$title" /></h2>
|
|
|
|
<xsl:choose>
|
|
|
|
<xsl:when test="source">
|
|
|
|
<xsl:for-each select="source">
|
|
|
|
<section class="box">
|
|
|
|
<h3 class="box_title">Mountpoint <code><xsl:value-of select="@mount" /></code></h3>
|
|
|
|
<!-- Mount nav -->
|
2022-03-30 18:46:10 -04:00
|
|
|
<div class="side-by-side">
|
|
|
|
<div class="trafficlight colour-{health/text()}"> </div>
|
|
|
|
<xsl:call-template name="mountnav" />
|
|
|
|
</div>
|
2020-10-09 06:26:18 -04:00
|
|
|
<xsl:call-template name="player" />
|
|
|
|
<p><xsl:value-of select="listeners" /> Listener(s)</p>
|
2014-12-29 10:32:52 -05:00
|
|
|
|
2022-03-30 19:53:09 -04:00
|
|
|
<xsl:if test="maintenance/*">
|
|
|
|
<h4>Maintenance</h4>
|
|
|
|
<ul class="maintenance-container">
|
|
|
|
<xsl:for-each select="maintenance/*">
|
|
|
|
<li class="maintenance-level-{@maintenance-level}">
|
|
|
|
<p><xsl:value-of select="text()" /></p>
|
|
|
|
</li>
|
|
|
|
</xsl:for-each>
|
|
|
|
</ul>
|
|
|
|
</xsl:if>
|
|
|
|
|
2020-10-09 06:26:18 -04:00
|
|
|
<!-- Mount Authentication -->
|
|
|
|
<xsl:if test="authentication">
|
|
|
|
<h4>Mount Authentication</h4>
|
|
|
|
<xsl:call-template name="authlist" />
|
|
|
|
</xsl:if>
|
|
|
|
</section>
|
|
|
|
</xsl:for-each>
|
|
|
|
</xsl:when>
|
|
|
|
<xsl:otherwise>
|
|
|
|
<aside class="info">
|
|
|
|
<strong>No mounts!</strong> There are no active mountpoints.
|
|
|
|
</aside>
|
|
|
|
</xsl:otherwise>
|
|
|
|
</xsl:choose>
|
|
|
|
</div>
|
|
|
|
</xsl:template>
|
2018-05-05 02:40:25 -04:00
|
|
|
</xsl:stylesheet>
|