mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Merge branch 'ph3-devel-xslt'
This commit is contained in:
commit
8f4b742d65
@ -4,6 +4,6 @@ AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
admindir = $(pkgdatadir)/admin
|
||||
otheradmindir = $(admindir)/includes
|
||||
otheradmin_DATA = footer.xsl head.xsl header.xsl mountnav.xsl
|
||||
otheradmin_DATA = footer.xsl head.xsl header.xsl page.xsl mountnav.xsl
|
||||
|
||||
EXTRA_DIST = $(otheradmin_DATA)
|
||||
|
27
admin/includes/page.xsl
Normal file
27
admin/includes/page.xsl
Normal file
@ -0,0 +1,27 @@
|
||||
<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:template match="/node()">
|
||||
<html>
|
||||
|
||||
<xsl:call-template name="head">
|
||||
<xsl:with-param name="title" select="$title" />
|
||||
</xsl:call-template>
|
||||
|
||||
<body>
|
||||
<!-- Header/Menu -->
|
||||
<xsl:call-template name="header" />
|
||||
|
||||
<xsl:call-template name="content" />
|
||||
|
||||
<!-- Footer -->
|
||||
<xsl:call-template name="footer" />
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
@ -1,25 +1,14 @@
|
||||
<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">Listener Stats</xsl:variable>
|
||||
|
||||
<xsl:template name="content">
|
||||
<div class="section">
|
||||
<h2>Listener Stats</h2>
|
||||
<h2><xsl:value-of select="$title" /></h2>
|
||||
|
||||
<xsl:for-each select="source">
|
||||
<div class="article">
|
||||
@ -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">Active Mountpoints</xsl:variable>
|
||||
|
||||
<!-- Auth template -->
|
||||
<xsl:template name="authlist">
|
||||
<ul>
|
||||
@ -32,19 +31,9 @@
|
||||
</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>
|
||||
<h2><xsl:value-of select="$title" /></h2>
|
||||
<xsl:choose>
|
||||
<xsl:when test="source">
|
||||
<xsl:for-each select="source">
|
||||
@ -82,11 +71,5 @@
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<xsl:call-template name="footer" />
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
</xsl:stylesheet>
|
||||
|
@ -1,25 +1,14 @@
|
||||
<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">Manage Authentication</xsl:variable>
|
||||
|
||||
<xsl:template name="content">
|
||||
<div class="section">
|
||||
<h2>Manage Authentication</h2>
|
||||
<h2><xsl:value-of select="$title" /></h2>
|
||||
<xsl:if test="iceresponse">
|
||||
<div class="aside error">
|
||||
<xsl:value-of select="iceresponse/message" />
|
||||
@ -77,11 +66,5 @@
|
||||
</div>
|
||||
</xsl:for-each>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<xsl:call-template name="footer" />
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
</xsl:stylesheet>
|
||||
|
@ -1,25 +1,14 @@
|
||||
<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">Move listeners</xsl:variable>
|
||||
|
||||
<xsl:template name="content">
|
||||
<div class="section">
|
||||
<h2>Move listeners</h2>
|
||||
<h2><xsl:value-of select="$title" /></h2>
|
||||
<div class="article">
|
||||
<h3>Mountpoint <xsl:value-of select="current_source" /></h3>
|
||||
<!-- Mount nav -->
|
||||
@ -53,11 +42,5 @@
|
||||
</xsl:choose>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<xsl:call-template name="footer" />
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
</xsl:stylesheet>
|
||||
|
@ -1,23 +1,13 @@
|
||||
<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:template match="/iceresponse">
|
||||
<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">Server Response</xsl:variable>
|
||||
|
||||
<xsl:template name="content">
|
||||
<div class="section">
|
||||
<h2>Server Response</h2>
|
||||
<h2><xsl:value-of select="$title" /></h2>
|
||||
<xsl:for-each select="/iceresponse">
|
||||
<div class="article">
|
||||
<h3>Response</h3>
|
||||
@ -27,11 +17,5 @@
|
||||
</div>
|
||||
</xsl:for-each>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<xsl:call-template name="footer" />
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</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,25 +1,14 @@
|
||||
<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">Update Metadata</xsl:variable>
|
||||
|
||||
<xsl:template name="content">
|
||||
<div class="section">
|
||||
<h2>Update Metadata</h2>
|
||||
<h2><xsl:value-of select="$title" /></h2>
|
||||
|
||||
<xsl:for-each select="source">
|
||||
<div class="article">
|
||||
@ -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