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:output method="html" doctype-system="about:legacy-compat" encoding="UTF-8" indent="yes" />
|
||||||
<xsl:template name="header">
|
<xsl:template name="header">
|
||||||
|
|
||||||
<div class="header">
|
<header>
|
||||||
<h1>
|
<nav id="main-nav" role="primary">
|
||||||
<a href="/" title="Home page">Icecast</a>
|
<a href="/" id="branding">
|
||||||
<xsl:text> </xsl:text>
|
<img src="/assets/img/icecast.png" alt="Logo" />
|
||||||
<span>administration</span>
|
<h1>Icecast Server administration</h1>
|
||||||
</h1>
|
</a>
|
||||||
<div class="nav">
|
|
||||||
<label for="toggle-nav" class="nobar" title="Toggle navigation"></label>
|
|
||||||
<input type="checkbox" id="toggle-nav" />
|
|
||||||
<ul>
|
<ul>
|
||||||
<li class="on"><a href="/admin/stats.xsl">Administration</a></li>
|
<li class="adminlink"><a href="/admin/stats.xsl">Server status</a></li>
|
||||||
<li><a href="/admin/listmounts.xsl">Mountpoint list</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:for-each select="(/report/extension/icestats | /icestats | /iceresponse)/modules/module">
|
||||||
<xsl:if test="@management-url and @management-title">
|
<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:if>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
<li><a href="/status.xsl">Public area</a></li>
|
<li class="right"><a href="/status.xsl">Public area</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</nav>
|
||||||
</div>
|
</header>
|
||||||
|
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
@ -25,7 +25,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li><a href="status.xsl">Status</a></li>
|
<li><a href="status.xsl">Status</a></li>
|
||||||
<li><a href="server_version.xsl">Version</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>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
@ -70,7 +70,7 @@ html, body {
|
|||||||
transform: scaleX(0);
|
transform: scaleX(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#main-nav > ul > li.right > a:after {
|
#main-nav > ul > li.adminlink > a:after {
|
||||||
border-bottom: 2px #ff704d solid;
|
border-bottom: 2px #ff704d solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user