Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
8202dd71
Commit
8202dd71
authored
May 05, 2018
by
Philipp Schafft
🦁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update: Make use of includes/page.xsl for all admin templates
parent
eb986254
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
26 additions
and
128 deletions
+26
-128
admin/includes/page.xsl
admin/includes/page.xsl
+1
-1
admin/listclients.xsl
admin/listclients.xsl
+4
-21
admin/listmounts.xsl
admin/listmounts.xsl
+5
-22
admin/manageauth.xsl
admin/manageauth.xsl
+4
-21
admin/moveclients.xsl
admin/moveclients.xsl
+4
-21
admin/stats.xsl
admin/stats.xsl
+4
-21
admin/updatemetadata.xsl
admin/updatemetadata.xsl
+4
-21
No files found.
admin/includes/page.xsl
View file @
8202dd71
...
...
@@ -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"
>
...
...
admin/listclients.xsl
View file @
8202dd71
<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>
admin/listmounts.xsl
View file @
8202dd71
<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>
admin/manageauth.xsl
View file @
8202dd71
<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>
admin/moveclients.xsl
View file @
8202dd71
<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>
admin/stats.xsl
View file @
8202dd71
<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>
admin/updatemetadata.xsl
View file @
8202dd71
<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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment