mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-01-03 14:56:34 -05:00
Update: Make use of includes/page.xsl for all admin templates
This commit is contained in:
parent
eb98625467
commit
8202dd7178
@ -5,7 +5,7 @@
|
||||
<xsl:include href="includes/header.xsl"/>
|
||||
<xsl:include href="includes/footer.xsl"/>
|
||||
|
||||
<xsl:template match="/iceresponse">
|
||||
<xsl:template match="/node()">
|
||||
<html>
|
||||
|
||||
<xsl:call-template name="head">
|
||||
|
@ -1,23 +1,12 @@
|
||||
<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" />
|
||||
<!-- Import include files -->
|
||||
<xsl:include href="includes/head.xsl"/>
|
||||
<xsl:include href="includes/header.xsl"/>
|
||||
<xsl:include href="includes/footer.xsl"/>
|
||||
|
||||
<xsl:include href="includes/page.xsl"/>
|
||||
<xsl:include href="includes/mountnav.xsl"/>
|
||||
|
||||
<xsl:template match="/icestats">
|
||||
<html>
|
||||
|
||||
<xsl:call-template name="head">
|
||||
<xsl:with-param name="title">Stats</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
|
||||
<body>
|
||||
<!-- Header/Menu -->
|
||||
<xsl:call-template name="header" />
|
||||
<xsl:variable name="title">Stats</xsl:variable>
|
||||
|
||||
<xsl:template name="content">
|
||||
<div class="section">
|
||||
<h2>Listener Stats</h2>
|
||||
|
||||
@ -61,11 +50,5 @@
|
||||
</xsl:for-each>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<xsl:call-template name="footer" />
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
</xsl:stylesheet>
|
||||
|
@ -1,12 +1,11 @@
|
||||
<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" />
|
||||
<!-- Import include files -->
|
||||
<xsl:include href="includes/head.xsl"/>
|
||||
<xsl:include href="includes/header.xsl"/>
|
||||
<xsl:include href="includes/footer.xsl"/>
|
||||
|
||||
<xsl:include href="includes/page.xsl"/>
|
||||
<xsl:include href="includes/mountnav.xsl"/>
|
||||
|
||||
<xsl:variable name="title">Stats</xsl:variable>
|
||||
|
||||
<!-- Auth template -->
|
||||
<xsl:template name="authlist">
|
||||
<ul>
|
||||
@ -32,17 +31,7 @@
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<xsl:template match="/icestats">
|
||||
<html>
|
||||
|
||||
<xsl:call-template name="head">
|
||||
<xsl:with-param name="title">Stats</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
|
||||
<body>
|
||||
<!-- Header/Menu -->
|
||||
<xsl:call-template name="header" />
|
||||
|
||||
<xsl:template name="content">
|
||||
<div class="section">
|
||||
<h2>Active Mountpoints</h2>
|
||||
<xsl:choose>
|
||||
@ -82,11 +71,5 @@
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<xsl:call-template name="footer" />
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
</xsl:stylesheet>
|
||||
|
@ -1,23 +1,12 @@
|
||||
<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" />
|
||||
<!-- Import include files -->
|
||||
<xsl:include href="includes/head.xsl"/>
|
||||
<xsl:include href="includes/header.xsl"/>
|
||||
<xsl:include href="includes/footer.xsl"/>
|
||||
|
||||
<xsl:include href="includes/page.xsl"/>
|
||||
<xsl:include href="includes/mountnav.xsl"/>
|
||||
|
||||
<xsl:template match="/icestats">
|
||||
<html>
|
||||
|
||||
<xsl:call-template name="head">
|
||||
<xsl:with-param name="title">Stats</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
|
||||
<body>
|
||||
<!-- Header/Menu -->
|
||||
<xsl:call-template name="header" />
|
||||
<xsl:variable name="title">Stats</xsl:variable>
|
||||
|
||||
<xsl:template name="content">
|
||||
<div class="section">
|
||||
<h2>Manage Authentication</h2>
|
||||
<xsl:if test="iceresponse">
|
||||
@ -77,11 +66,5 @@
|
||||
</div>
|
||||
</xsl:for-each>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<xsl:call-template name="footer" />
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
</xsl:stylesheet>
|
||||
|
@ -1,23 +1,12 @@
|
||||
<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" />
|
||||
<!-- Import include files -->
|
||||
<xsl:include href="includes/head.xsl"/>
|
||||
<xsl:include href="includes/header.xsl"/>
|
||||
<xsl:include href="includes/footer.xsl"/>
|
||||
|
||||
<xsl:include href="includes/page.xsl"/>
|
||||
<xsl:include href="includes/mountnav.xsl"/>
|
||||
|
||||
<xsl:template match="/icestats">
|
||||
<html>
|
||||
|
||||
<xsl:call-template name="head">
|
||||
<xsl:with-param name="title">Stats</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
|
||||
<body>
|
||||
<!-- Header/Menu -->
|
||||
<xsl:call-template name="header" />
|
||||
<xsl:variable name="title">Stats</xsl:variable>
|
||||
|
||||
<xsl:template name="content">
|
||||
<div class="section">
|
||||
<h2>Move listeners</h2>
|
||||
<div class="article">
|
||||
@ -53,11 +42,5 @@
|
||||
</xsl:choose>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<xsl:call-template name="footer" />
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
</xsl:stylesheet>
|
||||
|
@ -1,12 +1,11 @@
|
||||
<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" />
|
||||
<!-- Import include files -->
|
||||
<xsl:include href="includes/head.xsl"/>
|
||||
<xsl:include href="includes/header.xsl"/>
|
||||
<xsl:include href="includes/footer.xsl"/>
|
||||
|
||||
<xsl:include href="includes/page.xsl"/>
|
||||
<xsl:include href="includes/mountnav.xsl"/>
|
||||
|
||||
<xsl:variable name="title">Stats</xsl:variable>
|
||||
|
||||
<!-- Auth template -->
|
||||
<xsl:template name="authlist">
|
||||
<ul>
|
||||
@ -32,17 +31,7 @@
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<xsl:template match="/icestats">
|
||||
<html>
|
||||
|
||||
<xsl:call-template name="head">
|
||||
<xsl:with-param name="title">Stats</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
|
||||
<body>
|
||||
<!-- Header/Menu -->
|
||||
<xsl:call-template name="header" />
|
||||
|
||||
<xsl:template name="content">
|
||||
<div class="section">
|
||||
<h2>Administration</h2>
|
||||
|
||||
@ -163,11 +152,5 @@
|
||||
</div>
|
||||
</xsl:for-each>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<xsl:call-template name="footer" />
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
|
@ -1,23 +1,12 @@
|
||||
<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" />
|
||||
<!-- Import include files -->
|
||||
<xsl:include href="includes/head.xsl"/>
|
||||
<xsl:include href="includes/header.xsl"/>
|
||||
<xsl:include href="includes/footer.xsl"/>
|
||||
|
||||
<xsl:include href="includes/page.xsl"/>
|
||||
<xsl:include href="includes/mountnav.xsl"/>
|
||||
|
||||
<xsl:template match="/icestats">
|
||||
<html>
|
||||
|
||||
<xsl:call-template name="head">
|
||||
<xsl:with-param name="title">Stats</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
|
||||
<body>
|
||||
<!-- Header/Menu -->
|
||||
<xsl:call-template name="header" />
|
||||
<xsl:variable name="title">Stats</xsl:variable>
|
||||
|
||||
<xsl:template name="content">
|
||||
<div class="section">
|
||||
<h2>Update Metadata</h2>
|
||||
|
||||
@ -38,11 +27,5 @@
|
||||
</xsl:for-each>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<xsl:call-template name="footer" />
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
</xsl:stylesheet>
|
||||
|
Loading…
Reference in New Issue
Block a user