header.xsl 1.03 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0">
	<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" />
				<ul>
					<li class="on"><a href="/admin/stats.xsl">Administration</a></li>
					<li><a href="/admin/listmounts.xsl">Mountpoint list</a></li>
17
					<xsl:for-each select="(/report/extension/icestats | /icestats | /iceresponse)/modules/module">
18 19 20 21
						<xsl:if test="@management-url and @management-title">
							<li><a href="{@management-url}"><xsl:value-of select="@management-title" /></a></li>
						</xsl:if>
					</xsl:for-each>
22 23 24 25 26 27 28
					<li><a href="/status.xsl">Public area</a></li>
				</ul>
			</div>
		</div>

	</xsl:template>
</xsl:stylesheet>