1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Feature: Support linking directly to the mount section for a single-mount stats page

This commit is contained in:
Philipp Schafft 2020-10-01 17:34:57 +00:00
parent 47dd475f12
commit 23f47e1187
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<xsl:param name="mount" select="@mount"/>
<div class="mountnav">
<ul class="boxnav">
<li><a href="stats.xsl?mount={$mount}">Details</a></li>
<li><a href="stats.xsl?mount={$mount}#mount-1">Details</a></li>
<li><a href="listclients.xsl?mount={$mount}">Clients</a></li>
<li><a href="moveclients.xsl?mount={$mount}">Move listeners</a></li>
<li><a href="updatemetadata.xsl?mount={$mount}">Metadata</a></li>

View File

@ -77,7 +77,7 @@
<!-- Mount stats -->
<xsl:if test="$param-showall or $param-has-mount">
<xsl:for-each select="source">
<section class="box">
<section class="box" id="mount-{position()}">
<h3 class="box_title">Mountpoint <code><xsl:value-of select="@mount" /></code></h3>
<!-- Mount nav -->
<xsl:call-template name="mountnav" />