Commit 1d8e1283 authored by Marvin Scholz's avatar Marvin Scholz

Preparations for new webinterface design

parent 490482de
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
AUTOMAKE_OPTIONS = foreign AUTOMAKE_OPTIONS = foreign
SUBDIRS = includes
admindir = $(pkgdatadir)/admin admindir = $(pkgdatadir)/admin
dist_admin_DATA = listclients.xsl listmounts.xsl moveclients.xsl response.xsl \ dist_admin_DATA = listclients.xsl listmounts.xsl moveclients.xsl response.xsl \
stats.xsl manageauth.xsl updatemetadata.xsl xspf.xsl vclt.xsl stats.xsl manageauth.xsl updatemetadata.xsl xspf.xsl vclt.xsl
......
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = foreign
otheradmindir = $(admindir)/includes
otheradmin_DATA = footer.xsl head.xsl header.xsl mountnav.xsl
EXTRA_DIST = $(otheradmin_DATA)
<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:template name="footer">
<div class="footer">
<p>Support Icecast development at <a href="http://icecast.org">icecast.org</a></p>
</div>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<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:template name="head">
<xsl:param name="title"/>
<head>
<meta charset="utf-8" />
<title><xsl:if test="$title"><xsl:value-of select="$title"/></xsl:if>Icecast Admin</title>
<link rel="stylesheet" type="text/css" href="/assets/css/style.css" />
<meta name="description" content="Icecast Server status page" />
</head>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<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:template name="header">
<div class="header">
<h1>
<a href="/" title="Home page">Icecast</a>
<xsl:text> </xsl:text>
<span>administration</span>
</h1>
<div class="nav">
<label for="toggle-nav" class="nobar" title="Toggle navigation"></label>
<input type="checkbox" id="toggle-nav" />
<ul>
<li class="on"><a href="/admin/stats.xsl">Administration</a></li>
<li><a href="/admin/listmounts.xsl">Mountpoint list</a></li>
<li><a href="/status.xsl">Public area</a></li>
</ul>
</div>
</div>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<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:template name="mountnav">
<xsl:param name="mount" select="@mount"/>
<div class="nav">
<ul>
<li><a href="listclients.xsl?mount={$mount}">Clients</a></li>
<li><a href="moveclients.xsl?mount={$mount}">Move listeners</a></li>
<li><a href="updatemetadata.xsl?mount={$mount}">Metadata</a></li>
<li><a href="killsource.xsl?mount={$mount}">Kill source</a></li>
</ul>
</div>
</xsl:template>
</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 omit-xml-declaration="no" method="xml" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" indent="yes" encoding="UTF-8" /> <xsl:output method="html" doctype-system="about:legacy-compat" encoding="UTF-8" indent="yes" />
<xsl:template match = "/icestats" > <!-- Import include files -->
<html xmlns="http://www.w3.org/1999/xhtml"> <xsl:include href="includes/head.xsl"/>
<head> <xsl:include href="includes/header.xsl"/>
<title>Icecast Streaming Media Server</title> <xsl:include href="includes/footer.xsl"/>
<link rel="stylesheet" type="text/css" href="/style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> <xsl:include href="includes/mountnav.xsl"/>
</head>
<body> <xsl:template match="/icestats">
<h1>Icecast2 Admin</h1> <html>
<!--index header menu -->
<div id="menu"> <xsl:call-template name="head">
<ul> <xsl:with-param name="title">Stats</xsl:with-param>
<li><a href="stats.xsl">Admin Home</a></li> </xsl:call-template>
<li><a href="listmounts.xsl">Mountpoint List</a></li>
<li><a href="/status.xsl">Public Home</a></li> <body>
</ul> <!-- Header/Menu -->
</div> <xsl:call-template name="header" />
<!--end index header menu -->
<h2>Listener Stats</h2> <div class="section">
<xsl:for-each select="source"> <h2>Listener Stats</h2>
<div class="roundbox">
<div class="mounthead"> <xsl:for-each select="source">
<h3>Mountpoint <xsl:value-of select="@mount" /></h3> <div class="article">
<div class="right"> <h3>Mountpoint <xsl:value-of select="@mount" /></h3>
<xsl:choose> <!-- Mount nav -->
<xsl:when test="authenticator"> <xsl:call-template name="mountnav" />
<a class="auth" href="/auth.xsl">Login</a> <xsl:choose>
</xsl:when> <xsl:when test="listener">
<xsl:otherwise> <table class="table-flipscroll">
<ul class="mountlist"> <thead>
<li><a class="play" href="{@mount}.m3u">M3U</a></li> <tr>
<li><a class="play" href="{@mount}.xspf">XSPF</a></li> <th>IP</th>
<li><a class="play" href="{@mount}.vclt">VCLT</a></li> <th>Username</th>
</ul> <th>Role</th>
</xsl:otherwise> <th>Sec. connected</th>
</xsl:choose> <th>User Agent</th>
</div> <th>Action</th>
</div> </tr>
<div class="mountcont"> </thead>
<ul class="nav"> <tbody>
<li class="active"><a href="listclients.xsl?mount={@mount}">List Clients</a></li> <xsl:for-each select="listener">
<li><a href="moveclients.xsl?mount={@mount}">Move Listeners</a></li> <tr>
<li><a href="updatemetadata.xsl?mount={@mount}">Update Metadata</a></li> <td><xsl:value-of select="ip" /></td>
<xsl:if test="authenticator"> <td><xsl:value-of select="username" /></td>
<li><a href="manageauth.xsl?mount={@mount}">Manage Authentication</a></li> <td><xsl:value-of select="role" /></td>
</xsl:if> <td><xsl:value-of select="connected" /></td>
<li><a href="killsource.xsl?mount={@mount}">Kill Source</a></li> <td><xsl:value-of select="useragent" /></td>
</ul> <td><a href="killclient.xsl?mount={../@mount}&amp;id={id}">Kick</a></td>
<xsl:choose> </tr>
<xsl:when test="listener"> </xsl:for-each>
<div class="scrolltable"> </tbody>
<table class="colortable"> </table>
<thead> </xsl:when>
<tr> <xsl:otherwise>
<td>IP</td> <p>No listeners connected</p>
<td>Username</td> </xsl:otherwise>
<td>Role</td> </xsl:choose>
<td>Sec. connected</td>
<td>User Agent</td>
<td>Action</td>
</tr>
</thead>
<tbody>
<xsl:variable name = "themount"><xsl:value-of select="@mount" /></xsl:variable>
<xsl:for-each select="listener">
<tr>
<td><xsl:value-of select="ip" /></td>
<td><xsl:value-of select="username" /></td>
<td><xsl:value-of select="role" /></td>
<td><xsl:value-of select="connected" /></td>
<td><xsl:value-of select="useragent" /></td>
<td><a href="killclient.xsl?mount={$themount}&amp;id={id}">Kick</a></td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div> </div>
</xsl:when> </xsl:for-each>
<xsl:otherwise>
<p>No listeners connected</p> </div>
</xsl:otherwise>
</xsl:choose> <!-- Footer -->
</div> <xsl:call-template name="footer" />
</div>
</xsl:for-each> </body>
<div id="footer"> </html>
Support icecast development at <a href="http://www.icecast.org">www.icecast.org</a> </xsl:template>
</div> </xsl:stylesheet>
</body> \ No newline at end of file
</html>
</xsl:template>
</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 omit-xml-declaration="no" method="xml" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" indent="yes" encoding="UTF-8" /> <xsl:output method="html" doctype-system="about:legacy-compat" encoding="UTF-8" />
<xsl:template match = "/icestats" > <!-- Import include files -->
<html xmlns="http://www.w3.org/1999/xhtml"> <xsl:include href="includes/head.xsl"/>
<head> <xsl:include href="includes/header.xsl"/>
<title>Icecast Streaming Media Server</title> <xsl:include href="includes/footer.xsl"/>
<link rel="stylesheet" type="text/css" href="/style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> <xsl:include href="includes/mountnav.xsl"/>
</head>
<body> <!-- Auth template -->
<h1>Icecast2 Admin</h1> <xsl:template name="authlist">
<!--index header menu -->
<div id="menu">
<ul> <ul>
<li><a href="stats.xsl">Admin Home</a></li> <xsl:for-each select="authentication/role">
<li><a href="listmounts.xsl">Mountpoint List</a></li> <li>Role
<li><a href="/status.xsl">Public Home</a></li> <xsl:if test="@name">
<xsl:value-of select="@name" />
</xsl:if>
of type <xsl:value-of select="@type" />
<xsl:if test="@management-url">
<xsl:choose>
<xsl:when test="@can-adduser='true' or @can-deleteuser='true'">
(<a href="{@management-url}">Manage</a>)
</xsl:when>
<xsl:when test="@can-listuser='true'">
(<a href="{@management-url}">List</a>)
</xsl:when>
</xsl:choose>
</xsl:if>
</li>
</xsl:for-each>
</ul> </ul>
</div> </xsl:template>
<!--end index header menu -->
<h2>Active Mountpoints</h2>
<xsl:for-each select="source"> <xsl:template match="/icestats">
<div class="roundbox"> <html>
<div class="mounthead">
<h3 class="mount">Mountpoint <xsl:value-of select="@mount" /></h3> <xsl:call-template name="head">
<div class="right"> <xsl:with-param name="title">Stats</xsl:with-param>
</xsl:call-template>
<body>
<!-- Header/Menu -->
<xsl:call-template name="header" />
<div class="section">
<h2>Active Mountpoints</h2>
<xsl:choose> <xsl:choose>
<xsl:when test="authenticator"> <xsl:when test="source">
<a class="auth" href="/auth.xsl">Login</a> <xsl:for-each select="source">
<div class="article">
<h3>Mountpoint <xsl:value-of select="@mount" /></h3>
<!-- Mount nav -->
<xsl:call-template name="mountnav" />
<h4>Play stream</h4>
<xsl:choose>
<xsl:when test="authenticator">
<a class="play" href="/auth.xsl">Auth</a>
</xsl:when>
<xsl:otherwise>
<a class="play" href="{@mount}.m3u">&#9658; <span>M3U</span></a>
<xsl:text> </xsl:text>
<a class="play" href="{@mount}.xspf">&#9658; <span>XSPF</span></a>
<xsl:text> </xsl:text>
<a class="play" href="{@mount}.vclt">&#9658; <span>VCLT</span></a>
</xsl:otherwise>
</xsl:choose>
<p><xsl:value-of select="listeners" /> Listener(s)</p>
<!-- Mount Authentication -->
<xsl:if test="authentication">
<h4>Mount Authentication</h4>
<xsl:call-template name="authlist" />
</xsl:if>
</div>
</xsl:for-each>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<ul class="mountlist"> <div class="aside error">
<li><a class="play" href="{@mount}.m3u">M3U</a></li> <strong>No mounts!</strong> There are no active mountpoints.
<li><a class="play" href="{@mount}.xspf">XSPF</a></li> </div>
<li><a class="play" href="{@mount}.vclt">VCLT</a></li>
</ul>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</div> </div>
</div>
<div class="mountcont"> <!-- Footer -->
<ul class="nav"> <xsl:call-template name="footer" />
<li><a href="listclients.xsl?mount={@mount}">List Clients</a></li>
<li><a href="moveclients.xsl?mount={@mount}">Move Listeners</a></li> </body>
<li><a href="updatemetadata.xsl?mount={@mount}">Update Metadata</a></li> </html>
<xsl:if test="authenticator"> </xsl:template>
<li><a href="manageauth.xsl?mount={@mount}">Manage Authentication</a></li>
</xsl:if>
<li><a href="killsource.xsl?mount={@mount}">Kill Source</a></li>
</ul>
<p><xsl:value-of select="listeners" /> Listener(s)</p>
</div>
</div>
</xsl:for-each>
<div id="footer">
Support icecast development at <a href="http://www.icecast.org">www.icecast.org</a>
</div>
</body>
</html>
</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 omit-xml-declaration="no" method="xml" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" indent="yes" encoding="UTF-8" /> <xsl:output method="html" doctype-system="about:legacy-compat" encoding="UTF-8" />
<xsl:template match = "/icestats" > <!-- Import include files -->
<html xmlns="http://www.w3.org/1999/xhtml"> <xsl:include href="includes/head.xsl"/>
<head> <xsl:include href="includes/header.xsl"/>
<title>Icecast Streaming Media Server</title> <xsl:include href="includes/footer.xsl"/>
<link rel="stylesheet" type="text/css" href="/style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> <xsl:include href="includes/mountnav.xsl"/>
</head>
<body> <xsl:template match="/icestats">
<h1>Icecast2 Admin</h1> <html>
<!--index header menu -->
<div id="menu"> <xsl:call-template name="head">
<ul> <xsl:with-param name="title">Stats</xsl:with-param>
<li><a href="stats.xsl">Admin Home</a></li> </xsl:call-template>
<li><a href="listmounts.xsl">Mountpoint List</a></li>
<li><a href="/status.xsl">Public Home</a></li> <body>
</ul> <!-- Header/Menu -->
</div> <xsl:call-template name="header" />
<!--end index header menu -->
<h2>Manage Authentication</h2> <div class="section">
<xsl:if test="iceresponse"> <h2>Manage Authentication</h2>
<div class="roundbox"> <xsl:if test="iceresponse">
<h3>Message</h3> <div class="aside error">
<xsl:for-each select="iceresponse"> <xsl:value-of select="iceresponse/message" />
<xsl:value-of select="message" /><br /> </div>
</xsl:for-each> </xsl:if>
</div> <xsl:for-each select="role">
</xsl:if> <div class="article">
<xsl:for-each select="role"> <h3>Role <xsl:value-of select="@name" /> (<xsl:value-of select="@type" />)
<div class="roundbox"> <xsl:if test="server_name">
<h3>Role <xsl:value-of select="@name" /> (<xsl:value-of select="@type" />) <xsl:text> </xsl:text><small><xsl:value-of select="server_name" /></small>
<xsl:if test="server_name"> </xsl:if>
<small><xsl:value-of select="server_name" /></small> </h3>
</xsl:if> <xsl:choose>
</h3> <xsl:when test="users/user">
<xsl:if test="users"> <table class="table-flipscroll">
<table class="colortable"> <thead>
<thead> <tr>
<tr> <th>User</th>
<td>User</td> <xsl:if test="@can-deleteuser = 'true'">
<td>Action</td> <th>Action</th>
</tr> </xsl:if>
</thead> </tr>
<tbody> </thead>
<xsl:for-each select="users/user"> <tbody>
<tr> <xsl:for-each select="users/user">
<td> <tr>
<xsl:value-of select="username" /> <td><xsl:value-of select="username" /></td>
</td> <xsl:if test="../../@can-deleteuser = 'true'">
<td> <td>
<xsl:choose> <a href="manageauth.xsl?id={../../@id}&amp;username={username}&amp;action=delete">Delete</a>
<xsl:when test="../../@can-deleteuser = 'true'"> </td>
<a href="manageauth.xsl?id={../../@id}&amp;username={username}&amp;action=delete">Delete</a> </xsl:if>
</xsl:when> </tr>
<xsl:otherwise> </xsl:for-each>
<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> </tbody>
</xsl:otherwise> </table>
</xsl:choose> </xsl:when>
</td> <xsl:otherwise>
</tr> <p>No Users</p>
</xsl:for-each> </xsl:otherwise>
</tbody> </xsl:choose>
</table> <!-- Form to add Users -->
</xsl:if> <xsl:if test="@can-adduser = 'true'">
<xsl:if test="@can-adduser = 'true'"> <h4>Add User</h4>
<form class="alignedform" method="get" action="/admin/manageauth.xsl"> <form method="get" action="manageauth.xsl">
<fieldset> <label for="username" class="hidden">Username</label>
<legend>Add new user</legend> <input type="text" id="username" name="username" value="" placeholder="Username" required="required" />
<p> <label for="password" class="hidden">Password</label>
<label for="username">Username:</label> <input type="password" id="password" name="password" value="" placeholder="Password" required="required" />
<input type="text" id="username" name="username"/> <input type="hidden" name="id" value="{@id}"/>
</p> <input type="hidden" name="action" value="add"/>
<p> <input type="submit" value="Add new user" />
<label for="password">Password:</label> </form>
<input type="password" id="password" name="password"/> </xsl:if>
</p> </div>
<input type="hidden" name="id" value="{@id}"/> </xsl:for-each>
<input type="hidden" name="action" value="add"/> </div>
<input type="Submit" value="Add"/>
</fieldset> <!-- Footer -->
</form> <xsl:call-template name="footer" />
</xsl:if>
</div> </body>
</xsl:for-each> </html>
<div id="footer"> </xsl:template>
Support icecast development at <a href="http://www.icecast.org">www.icecast.org</a> </xsl:stylesheet>
</div> \ No newline at end of file
</body>
</html>
</xsl:template>
</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 omit-xml-declaration="no" method="xml" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" indent="yes" encoding="UTF-8" /> <xsl:output method="html" doctype-system="about:legacy-compat" encoding="UTF-8" />
<xsl:template match = "/icestats" > <!-- Import include files -->
<html xmlns="http://www.w3.org/1999/xhtml"> <xsl:include href="includes/head.xsl"/>
<head> <xsl:include href="includes/header.xsl"/>
<title>Icecast Streaming Media Server</title> <xsl:include href="includes/footer.xsl"/>
<link rel="stylesheet" type="text/css" href="/style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> <xsl:include href="includes/mountnav.xsl"/>
</head>
<body> <xsl:template match="/icestats">
<h1>Icecast2 Admin</h1> <html>
<!--index header menu -->
<div id="menu"> <xsl:call-template name="head">
<ul> <xsl:with-param name="title">Stats</xsl:with-param>
<li><a href="stats.xsl">Admin Home</a></li> </xsl:call-template>
<li><a href="listmounts.xsl">Mountpoint List</a></li>
<li><a href="/status.xsl">Public Home</a></li> <body>
</ul> <!-- Header/Menu -->
</div> <xsl:call-template name="header" />
<!--end index header menu -->
<xsl:variable name = "currentmount" ><xsl:value-of select="current_source" /></xsl:variable> <div class="section">
<h2>Moving listeners from <xsl:value-of select="current_source" /></h2> <h2>Move listeners</h2>
<div class="roundbox"> <div class="article">
<h3>Move to which mountpoint?</h3> <h3>Mountpoint <xsl:value-of select="current_source" /></h3>
<xsl:for-each select="source"> <!-- Mount nav -->
<p> <xsl:call-template name="mountnav">
Move from <code><xsl:copy-of select="$currentmount" /></code> to <code><xsl:value-of select="@mount" /></code><br /> <xsl:with-param name="mount" select="current_source"/>
<xsl:value-of select="listeners" /> listeners<br /> </xsl:call-template>
<a href="moveclients.xsl?mount={$currentmount}&amp;destination={@mount}">Move clients</a> <xsl:choose>
</p> <xsl:when test="source">
</xsl:for-each> <p>Choose the mountpoint to which you want to move the listeners to:</p>
</div> <form method="get" action="moveclients.xsl">
<div id="footer"> <label for="moveto" class="hidden">
Support icecast development at <a href="http://www.icecast.org">www.icecast.org</a> Move from <code><xsl:value-of select="current_source" /></code> to
</div> </label>
</body> <select name="destination" id="moveto">
</html> <xsl:for-each select="source">
</xsl:template> <option value="{@mount}">
<xsl:value-of select="@mount" />
</option>
</xsl:for-each>
</select>
<input type="hidden" name="mount" value="{current_source}" />
<input type="submit" value="Move listeners" />
</form>
</xsl:when>
<xsl:otherwise>
<p>
<strong>No mounts!</strong>
There are no other mountpoints you could move the listeners to.
</p>
</xsl:otherwise>
</xsl:choose>
</div>
</div>
<!-- Footer -->
<xsl:call-template name="footer" />
</body>
</html>
</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 omit-xml-declaration="no" method="xml" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" indent="yes" encoding="UTF-8" /> <xsl:output method="html" doctype-system="about:legacy-compat" encoding="UTF-8" />
<xsl:template match = "/iceresponse" > <!-- Import include files -->
<html xmlns="http://www.w3.org/1999/xhtml"> <xsl:include href="includes/head.xsl"/>
<head> <xsl:include href="includes/header.xsl"/>
<title>Icecast Streaming Media Server</title> <xsl:include href="includes/footer.xsl"/>
<link rel="stylesheet" type="text/css" href="/style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> <xsl:template match="/iceresponse">
</head> <html>
<body>
<h1>Icecast2 Admin</h1> <xsl:call-template name="head">
<!--index header menu --> <xsl:with-param name="title">Stats</xsl:with-param>
<div id="menu"> </xsl:call-template>
<ul>
<li><a href="stats.xsl">Admin Home</a></li> <body>
<li><a href="listmounts.xsl">Mountpoint List</a></li> <!-- Header/Menu -->
<li><a href="/status.xsl">Public Home</a></li> <xsl:call-template name="header" />
</ul>
</div> <div class="section">
<!--end index header menu --> <h2>Server Response</h2>
<h2>Icecast Server Response</h2> <xsl:for-each select="/iceresponse">
<xsl:for-each select="/iceresponse"> <div class="article">
<div class="roundbox"> <h3>Response</h3>
<h3>Response</h3> <h4>Message</h4>
<p>Message: <xsl:value-of select="message" /></p> <p><xsl:value-of select="message" /></p>
<p>Return Code: <xsl:value-of select="return" /></p> <p>(Return Code: <xsl:value-of select="return" />)</p>
</div> </div>
</xsl:for-each> </xsl:for-each>
<div id="footer"> </div>
Support icecast development at <a href="http://www.icecast.org">www.icecast.org</a>
</div> <!-- Footer -->
</body> <xsl:call-template name="footer" />
</html>
</xsl:template> </body>
</html>
</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 omit-xml-declaration="no" method="xml" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" indent="yes" encoding="UTF-8" /> <xsl:output method="html" doctype-system="about:legacy-compat" encoding="UTF-8" />
<xsl:template match = "/icestats" > <!-- Import include files -->
<html xmlns="http://www.w3.org/1999/xhtml"> <xsl:include href="includes/head.xsl"/>
<head> <xsl:include href="includes/header.xsl"/>
<title>Icecast Streaming Media Server</title> <xsl:include href="includes/footer.xsl"/>
<link rel="stylesheet" type="text/css" href="/style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> <xsl:include href="includes/mountnav.xsl"/>
</head>
<body>
<h1>Icecast2 Admin</h1>
<!--index header menu -->
<div id="menu">
<ul>
<li><a href="stats.xsl">Admin Home</a></li>
<li><a href="listmounts.xsl">Mountpoint List</a></li>
<li><a href="/status.xsl">Public Home</a></li>
</ul>
</div>
<!--end index header menu -->
<!--global server stats-->
<div class="roundbox">
<h3>Global Server Stats</h3>
<ul class="nav">
<li><a href="reloadconfig.xsl">Reload Server Config</a></li>
</ul>
<table class="yellowkeys">