Commit 8202dd71 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Update: Make use of includes/page.xsl for all admin templates

parent eb986254
......@@ -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">
......
<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>
\ No newline at end of file
</xsl:stylesheet>
<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>
\ No newline at end of file
</xsl:stylesheet>
<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>
\ No newline at end of file
</xsl:stylesheet>
<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>
\ No newline at end of file
</xsl:stylesheet>
<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>
<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>
\ No newline at end of file
</xsl:stylesheet>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment