mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Fix: Corrected menu to allow navigation from/to/within admin area
This commit is contained in:
parent
d909d28f8e
commit
ec837c3bb4
@ -2,27 +2,24 @@
|
||||
<xsl:output method="html" doctype-system="about:legacy-compat" encoding="UTF-8" indent="yes" />
|
||||
<xsl:template name="header">
|
||||
|
||||
<div class="header">
|
||||
<h1>
|
||||
<a href="/" title="Home page">Icecast</a>
|
||||
<xsl:text> </xsl:text>
|
||||
<span>administration</span>
|
||||
</h1>
|
||||
<div class="nav">
|
||||
<label for="toggle-nav" class="nobar" title="Toggle navigation"></label>
|
||||
<input type="checkbox" id="toggle-nav" />
|
||||
<header>
|
||||
<nav id="main-nav" role="primary">
|
||||
<a href="/" id="branding">
|
||||
<img src="/assets/img/icecast.png" alt="Logo" />
|
||||
<h1>Icecast Server administration</h1>
|
||||
</a>
|
||||
<ul>
|
||||
<li class="on"><a href="/admin/stats.xsl">Administration</a></li>
|
||||
<li><a href="/admin/listmounts.xsl">Mountpoint list</a></li>
|
||||
<li class="adminlink"><a href="/admin/stats.xsl">Server status</a></li>
|
||||
<li class="adminlink"><a href="/admin/listmounts.xsl">Mountpoint list</a></li>
|
||||
<xsl:for-each select="(/report/extension/icestats | /icestats | /iceresponse)/modules/module">
|
||||
<xsl:if test="@management-url and @management-title">
|
||||
<li><a href="{@management-url}"><xsl:value-of select="@management-title" /></a></li>
|
||||
<li class="adminlink"><a href="{@management-url}"><xsl:value-of select="@management-title" /></a></li>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
<li><a href="/status.xsl">Public area</a></li>
|
||||
<li class="right"><a href="/status.xsl">Public area</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
@ -25,7 +25,7 @@
|
||||
<ul>
|
||||
<li><a href="status.xsl">Status</a></li>
|
||||
<li><a href="server_version.xsl">Version</a></li>
|
||||
<li class="right"><a href="admin/">Administration</a></li>
|
||||
<li class="right adminlink"><a href="admin/">Administration</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
@ -70,7 +70,7 @@ html, body {
|
||||
transform: scaleX(0);
|
||||
}
|
||||
|
||||
#main-nav > ul > li.right > a:after {
|
||||
#main-nav > ul > li.adminlink > a:after {
|
||||
border-bottom: 2px #ff704d solid;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user