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 @@ ...@@ -5,7 +5,7 @@
<xsl:include href="includes/header.xsl"/> <xsl:include href="includes/header.xsl"/>
<xsl:include href="includes/footer.xsl"/> <xsl:include href="includes/footer.xsl"/>
<xsl:template match="/iceresponse"> <xsl:template match="/node()">
<html> <html>
<xsl:call-template name="head"> <xsl:call-template name="head">
......
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0"> <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:output method="html" doctype-system="about:legacy-compat" encoding="UTF-8" indent="yes" />
<!-- Import include files --> <!-- Import include files -->
<xsl:include href="includes/head.xsl"/> <xsl:include href="includes/page.xsl"/>
<xsl:include href="includes/header.xsl"/>
<xsl:include href="includes/footer.xsl"/>
<xsl:include href="includes/mountnav.xsl"/> <xsl:include href="includes/mountnav.xsl"/>
<xsl:template match="/icestats"> <xsl:variable name="title">Stats</xsl:variable>
<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"> <div class="section">
<h2>Listener Stats</h2> <h2>Listener Stats</h2>
...@@ -61,11 +50,5 @@ ...@@ -61,11 +50,5 @@
</xsl:for-each> </xsl:for-each>
</div> </div>
<!-- Footer -->
<xsl:call-template name="footer" />
</body>
</html>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>
\ No newline at end of file
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0"> <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" /> <xsl:output method="html" doctype-system="about:legacy-compat" encoding="UTF-8" />
<!-- Import include files --> <!-- Import include files -->
<xsl:include href="includes/head.xsl"/> <xsl:include href="includes/page.xsl"/>
<xsl:include href="includes/header.xsl"/>
<xsl:include href="includes/footer.xsl"/>
<xsl:include href="includes/mountnav.xsl"/> <xsl:include href="includes/mountnav.xsl"/>
<xsl:variable name="title">Stats</xsl:variable>
<!-- Auth template --> <!-- Auth template -->
<xsl:template name="authlist"> <xsl:template name="authlist">
<ul> <ul>
...@@ -32,17 +31,7 @@ ...@@ -32,17 +31,7 @@
</xsl:template> </xsl:template>
<xsl:template match="/icestats"> <xsl:template name="content">
<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" />
<div class="section"> <div class="section">
<h2>Active Mountpoints</h2> <h2>Active Mountpoints</h2>
<xsl:choose> <xsl:choose>
...@@ -82,11 +71,5 @@ ...@@ -82,11 +71,5 @@
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</div> </div>
<!-- Footer -->
<xsl:call-template name="footer" />
</body>
</html>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>
\ No newline at end of file
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0"> <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" /> <xsl:output method="html" doctype-system="about:legacy-compat" encoding="UTF-8" />
<!-- Import include files --> <!-- Import include files -->
<xsl:include href="includes/head.xsl"/> <xsl:include href="includes/page.xsl"/>
<xsl:include href="includes/header.xsl"/>
<xsl:include href="includes/footer.xsl"/>
<xsl:include href="includes/mountnav.xsl"/> <xsl:include href="includes/mountnav.xsl"/>
<xsl:template match="/icestats"> <xsl:variable name="title">Stats</xsl:variable>
<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"> <div class="section">
<h2>Manage Authentication</h2> <h2>Manage Authentication</h2>
<xsl:if test="iceresponse"> <xsl:if test="iceresponse">
...@@ -77,11 +66,5 @@ ...@@ -77,11 +66,5 @@
</div> </div>
</xsl:for-each> </xsl:for-each>
</div> </div>
<!-- Footer -->
<xsl:call-template name="footer" />
</body>
</html>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>
\ No newline at end of file
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0"> <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" /> <xsl:output method="html" doctype-system="about:legacy-compat" encoding="UTF-8" />
<!-- Import include files --> <!-- Import include files -->
<xsl:include href="includes/head.xsl"/> <xsl:include href="includes/page.xsl"/>
<xsl:include href="includes/header.xsl"/>
<xsl:include href="includes/footer.xsl"/>
<xsl:include href="includes/mountnav.xsl"/> <xsl:include href="includes/mountnav.xsl"/>
<xsl:template match="/icestats"> <xsl:variable name="title">Stats</xsl:variable>
<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"> <div class="section">
<h2>Move listeners</h2> <h2>Move listeners</h2>
<div class="article"> <div class="article">
...@@ -53,11 +42,5 @@ ...@@ -53,11 +42,5 @@
</xsl:choose> </xsl:choose>
</div> </div>
</div> </div>
<!-- Footer -->
<xsl:call-template name="footer" />
</body>
</html>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>
\ No newline at end of file
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0"> <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" /> <xsl:output method="html" doctype-system="about:legacy-compat" encoding="UTF-8" />
<!-- Import include files --> <!-- Import include files -->
<xsl:include href="includes/head.xsl"/> <xsl:include href="includes/page.xsl"/>
<xsl:include href="includes/header.xsl"/>
<xsl:include href="includes/footer.xsl"/>
<xsl:include href="includes/mountnav.xsl"/> <xsl:include href="includes/mountnav.xsl"/>
<xsl:variable name="title">Stats</xsl:variable>
<!-- Auth template --> <!-- Auth template -->
<xsl:template name="authlist"> <xsl:template name="authlist">
<ul> <ul>
...@@ -32,17 +31,7 @@ ...@@ -32,17 +31,7 @@
</xsl:template> </xsl:template>
<xsl:template match="/icestats"> <xsl:template name="content">
<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" />
<div class="section"> <div class="section">
<h2>Administration</h2> <h2>Administration</h2>
...@@ -163,11 +152,5 @@ ...@@ -163,11 +152,5 @@
</div> </div>
</xsl:for-each> </xsl:for-each>
</div> </div>
<!-- Footer -->
<xsl:call-template name="footer" />
</body>
</html>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0"> <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:output method="html" doctype-system="about:legacy-compat" encoding="UTF-8" indent="yes" />
<!-- Import include files --> <!-- Import include files -->
<xsl:include href="includes/head.xsl"/> <xsl:include href="includes/page.xsl"/>
<xsl:include href="includes/header.xsl"/>
<xsl:include href="includes/footer.xsl"/>
<xsl:include href="includes/mountnav.xsl"/> <xsl:include href="includes/mountnav.xsl"/>
<xsl:template match="/icestats"> <xsl:variable name="title">Stats</xsl:variable>
<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"> <div class="section">
<h2>Update Metadata</h2> <h2>Update Metadata</h2>
...@@ -38,11 +27,5 @@ ...@@ -38,11 +27,5 @@
</xsl:for-each> </xsl:for-each>
</div> </div>
<!-- Footer -->
<xsl:call-template name="footer" />
</body>
</html>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>
\ No newline at end of file
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