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

Update: Made links within /admin/ absolute

This commit is contained in:
Philipp Schafft 2020-10-03 10:47:12 +00:00
parent 45818ae8bd
commit 373e6f745b
7 changed files with 15 additions and 15 deletions

View File

@ -10,7 +10,7 @@
<section class="box">
<h3 class="box_title">Overview for <code><xsl:value-of select="value[@member='global-config']/value[@member='hostname']/@value" /></code></h3>
<ul class="boxnav">
<li><a href="reloadconfig.xsl">Reload Configuration</a></li>
<li><a href="/admin/reloadconfig.xsl">Reload Configuration</a></li>
</ul>
<div class="side-by-side">
<div>

View File

@ -4,12 +4,12 @@
<xsl:param name="mount" select="@mount"/>
<div class="mountnav">
<ul class="boxnav">
<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>
<li><a href="fallbacks.xsl?mount={$mount}&amp;omode=strict">Set fallback</a></li>
<li class="critical"><a href="killsource.xsl?mount={$mount}">Kill source</a></li>
<li><a href="/admin/stats.xsl?mount={$mount}#mount-1">Details</a></li>
<li><a href="/admin/listclients.xsl?mount={$mount}">Clients</a></li>
<li><a href="/admin/moveclients.xsl?mount={$mount}">Move listeners</a></li>
<li><a href="/admin/updatemetadata.xsl?mount={$mount}">Metadata</a></li>
<li><a href="/admin/fallbacks.xsl?mount={$mount}&amp;omode=strict">Set fallback</a></li>
<li class="critical"><a href="/admin/killsource.xsl?mount={$mount}">Kill source</a></li>
</ul>
</div>
</xsl:template>

View File

@ -38,8 +38,8 @@
<td><xsl:value-of select="connected" /></td>
<td><xsl:value-of select="useragent" /></td>
<td class="actions">
<a class="critical" href="killclient.xsl?mount={../@mount}&amp;id={id}">Kick</a>
<a href="moveclients.xsl?mount={../@mount}&amp;id={id}">Move</a>
<a class="critical" href="/admin/killclient.xsl?mount={../@mount}&amp;id={id}">Kick</a>
<a href="/admin/moveclients.xsl?mount={../@mount}&amp;id={id}">Move</a>
</td>
</tr>
</xsl:for-each>

View File

@ -38,7 +38,7 @@
<td><xsl:value-of select="username" /></td>
<xsl:if test="../../@can-deleteuser = 'true'">
<td class="actions">
<a class="critical" href="manageauth.xsl?id={../../@id}&amp;username={username}&amp;action=delete">Delete</a>
<a class="critical" href="/admin/manageauth.xsl?id={../../@id}&amp;username={username}&amp;action=delete">Delete</a>
</td>
</xsl:if>
</tr>
@ -53,7 +53,7 @@
<!-- Form to add Users -->
<xsl:if test="@can-adduser = 'true'">
<h4>Add User</h4>
<form method="post" action="manageauth.xsl">
<form method="post" action="/admin/manageauth.xsl">
<input type="hidden" name="id" value="{@id}"/>
<input type="hidden" name="action" value="add"/>

View File

@ -26,7 +26,7 @@
<p>Choose the mountpoint to which you want to move the listeners to:</p>
</xsl:otherwise>
</xsl:choose>
<form method="post" action="moveclients.xsl">
<form method="post" action="/admin/moveclients.xsl">
<label for="moveto" class="hidden">
Move from <code><xsl:value-of select="current_source" /></code> to
</label>

View File

@ -12,7 +12,7 @@
<xsl:for-each select="resource[@name='logfiles']/value/value">
<li><a href="?logfile={@value}"><xsl:value-of select="@value" /></a></li>
</xsl:for-each>
<li class="critical"><a href="marklog.xsl">Mark logfiles</a></li>
<li class="critical"><a href="/admin/marklog.xsl">Mark logfiles</a></li>
</ul>
<ul class="codeblock">
<xsl:for-each select="resource[@name='logcontent']/value/value[@member='lines']/value">

View File

@ -44,8 +44,8 @@
<!-- Global subnav -->
<div class="stats">
<ul class="boxnav">
<li><a href="reloadconfig.xsl">Reload Configuration</a></li>
<li><a href="?showall=true">Show all mounts</a></li>
<li><a href="/admin/reloadconfig.xsl">Reload Configuration</a></li>
<li><a href="/admin/?showall=true">Show all mounts</a></li>
</ul>
</div>