mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
encorporated xslt changes from dave st. john....
svn path=/icecast/trunk/icecast/; revision=9742
This commit is contained in:
parent
9179ffe661
commit
4c771579b8
@ -6,19 +6,33 @@
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<center>
|
||||
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
||||
<img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2>
|
||||
<br />
|
||||
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<table border="0" cellpadding="1" cellspacing="3">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav" href="listmounts.xsl">List MountPoints</a> |
|
||||
<a class="nav" href="stats.xsl">Admin Home</a> |
|
||||
<a class="nav" href="listmounts.xsl">List Mountpoints</a> |
|
||||
<a class="nav" href="moveclients.xsl">Move Listeners</a> |
|
||||
<a class="nav" href="stats.xsl">Stats</a> |
|
||||
<a class="nav" href="/status.xsl">Status Page</a>
|
||||
<a class="nav" href="/status.xsl">Index</a>
|
||||
</td></tr>
|
||||
</table>
|
||||
</center>
|
||||
<h2>List Connected Listeners</h2>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
|
||||
|
||||
<h1>Listener Stats</h1>
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
@ -26,32 +40,44 @@
|
||||
<div class="newscontent">
|
||||
<xsl:for-each select="source">
|
||||
<h3>
|
||||
|
||||
<xsl:choose>
|
||||
<xsl:when test="authenticator">
|
||||
<a href="auth.xsl"><img border="0" src="/key.png"/></a> Authentication Required
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<a href="{@mount}.m3u"><img border="0" src="/tunein.png"/></a> Mount Point
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:if test="server_name"><xsl:value-of select="server_name" /> </xsl:if>
|
||||
(<xsl:value-of select="@mount" />)</h3>
|
||||
(<xsl:value-of select="@mount" />)
|
||||
<xsl:if test="authenticator"><a href="manageauth.xsl?mount={@mount}"><img border="0" src="/key.png"/></a> </xsl:if>
|
||||
|
||||
</h3>
|
||||
<table border="0" cellpadding="1" cellspacing="5" bgcolor="444444">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav2" href="listclients.xsl?mount={@mount}">Show Listeners</a> |
|
||||
<a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</a> |
|
||||
<a class="nav2" href="moveclients.xsl?mount={@mount}">Move Listeners</a> |
|
||||
<a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a> |
|
||||
<a class="nav2" href="killsource.xsl?mount={@mount}">Kill Source</a>
|
||||
</td></tr>
|
||||
</table>
|
||||
<br></br>
|
||||
<table cellpadding="2" cellspacing="4" border="0" >
|
||||
<br />
|
||||
<table cellspacing="1" border="1" bordercolor="#C0C0C0" >
|
||||
<tr>
|
||||
<td ><b>IP</b></td>
|
||||
<td ><b>Connected For</b></td>
|
||||
<td ><b>User Agent</b></td>
|
||||
<td ></td>
|
||||
<td ><center><b>IP</b></center></td>
|
||||
<td ><center><b>Connected For</b></center></td>
|
||||
<td ><center><b>User Agent</b></center></td>
|
||||
<td ><center><b>Action</b></center></td>
|
||||
</tr>
|
||||
<xsl:variable name = "themount" ><xsl:value-of select="@mount" /></xsl:variable>
|
||||
<xsl:for-each select="listener">
|
||||
<tr>
|
||||
<td><xsl:value-of select="IP" /><xsl:if test="username"> (<xsl:value-of select="username" />)</xsl:if></td>
|
||||
<td><xsl:value-of select="Connected" /> seconds</td>
|
||||
<td><xsl:value-of select="UserAgent" /></td>
|
||||
<td><a class="nav2" href="killclient.xsl?mount={$themount}&id={ID}">kill</a></td>
|
||||
<td align="center"><xsl:value-of select="IP" /><xsl:if test="username"> (<xsl:value-of select="username" />)</xsl:if></td>
|
||||
<td align="center"><xsl:value-of select="Connected" /> seconds</td>
|
||||
<td align="center"><xsl:value-of select="UserAgent" /></td>
|
||||
<td align="center"><a href="killclient.xsl?mount={$themount}&id={ID}">Kick</a></td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
@ -64,8 +90,7 @@
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="poster">
|
||||
<img align="left" src="/icecast.png" />Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
<div class="poster">Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
@ -6,19 +6,32 @@
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<center>
|
||||
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
||||
<img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2>
|
||||
<br />
|
||||
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<table border="0" cellpadding="1" cellspacing="3">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav" href="listmounts.xsl">List MountPoints</a> |
|
||||
<a class="nav" href="stats.xsl">Admin Home</a> |
|
||||
<a class="nav" href="listmounts.xsl">List Mountpoints</a> |
|
||||
<a class="nav" href="moveclients.xsl">Move Listeners</a> |
|
||||
<a class="nav" href="stats.xsl">Stats</a> |
|
||||
<a class="nav" href="/status.xsl">Status Page</a>
|
||||
<a class="nav" href="/status.xsl">Index</a>
|
||||
</td></tr>
|
||||
</table>
|
||||
</center>
|
||||
<h2>List Mountpoints</h2>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
|
||||
<h1>Active Mountpoints</h1>
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
@ -26,14 +39,24 @@
|
||||
<div class="newscontent">
|
||||
<xsl:for-each select="source">
|
||||
<h3>
|
||||
<xsl:choose>
|
||||
<xsl:when test="authenticator">
|
||||
<a href="auth.xsl"><img border="0" src="/key.png"/></a> Authentication Required
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<a href="{@mount}.m3u"><img border="0" src="/tunein.png"/></a> Mount Point
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:if test="server_name"><xsl:value-of select="server_name" /> </xsl:if>
|
||||
(<xsl:value-of select="@mount" />)
|
||||
<xsl:if test="authenticator"> <a href="manageauth.xsl?mount={@mount}"><img border="0" src="/key.gif"/></a> </xsl:if>
|
||||
<xsl:if test="authenticator"> <a href="manageauth.xsl?mount={@mount}"><img border="0" src="/key.png"/></a> </xsl:if>
|
||||
|
||||
|
||||
</h3>
|
||||
<table border="0" cellpadding="1" cellspacing="5" bgcolor="444444">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav2" href="listclients.xsl?mount={@mount}">Show Listeners</a> |
|
||||
<a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</a> |
|
||||
<a class="nav2" href="moveclients.xsl?mount={@mount}">Move Listeners</a> |
|
||||
<a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a> |
|
||||
<a class="nav2" href="killsource.xsl?mount={@mount}">Kill Source</a>
|
||||
@ -50,8 +73,7 @@
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="poster">
|
||||
<img align="left" src="/icecast.png" />Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
<div class="poster">Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
@ -6,18 +6,30 @@
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<center>
|
||||
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
||||
<img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2>
|
||||
<br />
|
||||
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<table border="0" cellpadding="1" cellspacing="3">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav" href="listmounts.xsl">List MountPoints</a> |
|
||||
<a class="nav" href="stats.xsl">Admin Home</a> |
|
||||
<a class="nav" href="listmounts.xsl">List Mountpoints</a> |
|
||||
<a class="nav" href="moveclients.xsl">Move Listeners</a> |
|
||||
<a class="nav" href="stats.xsl">Stats</a> |
|
||||
<a class="nav" href="/status.xsl">Status Page</a>
|
||||
<a class="nav" href="/status.xsl">Index</a>
|
||||
</td></tr>
|
||||
</table>
|
||||
</center>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<h2>Show defined users</h2>
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
@ -34,7 +46,7 @@
|
||||
<table border="0" cellpadding="1" cellspacing="5" bgcolor="444444">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav2" href="listclients.xsl?mount={@mount}">Show Listeners</a> |
|
||||
<a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</a> |
|
||||
<a class="nav2" href="moveclients.xsl?mount={@mount}">Move Listeners</a> |
|
||||
<a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a> |
|
||||
<a class="nav2" href="killsource.xsl?mount={@mount}">Kill Source</a>
|
||||
@ -76,8 +88,7 @@
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="poster">
|
||||
<img align="left" src="/icecast.png" />Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
<div class="poster">Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
@ -6,20 +6,32 @@
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<center>
|
||||
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
||||
<img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2>
|
||||
<br />
|
||||
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<table border="0" cellpadding="1" cellspacing="3">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav" href="listmounts.xsl">List MountPoints</a> |
|
||||
<a class="nav" href="stats.xsl">Admin Home</a> |
|
||||
<a class="nav" href="listmounts.xsl">List Mountpoints</a> |
|
||||
<a class="nav" href="moveclients.xsl">Move Listeners</a> |
|
||||
<a class="nav" href="stats.xsl">Stats</a> |
|
||||
<a class="nav" href="/status.xsl">Status Page</a>
|
||||
<a class="nav" href="/status.xsl">Index</a>
|
||||
</td></tr>
|
||||
</table>
|
||||
</center>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<xsl:variable name = "currentmount" ><xsl:value-of select="current_source" /></xsl:variable>
|
||||
<h2>Move Clients from (<xsl:value-of select="current_source" />)</h2>
|
||||
<h1>Moving Listeners From (<xsl:value-of select="current_source" />)</h1>
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
@ -43,8 +55,7 @@
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="poster">
|
||||
<img align="left" src="/icecast.png" />Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
<div class="poster">Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
@ -6,19 +6,31 @@
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<center>
|
||||
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
||||
<img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2>
|
||||
<br />
|
||||
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<table border="0" cellpadding="1" cellspacing="3">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav" href="listmounts.xsl">List MountPoints</a> |
|
||||
<a class="nav" href="stats.xsl">Admin Home</a> |
|
||||
<a class="nav" href="listmounts.xsl">List Mountpoints</a> |
|
||||
<a class="nav" href="moveclients.xsl">Move Listeners</a> |
|
||||
<a class="nav" href="stats.xsl">Stats</a> |
|
||||
<a class="nav" href="/status.xsl">Status Page</a>
|
||||
<a class="nav" href="/status.xsl">Index</a>
|
||||
</td></tr>
|
||||
</table>
|
||||
</center>
|
||||
<h2>Icecast Server Response</h2>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<h1>Icecast Server Response</h1>
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
@ -36,8 +48,7 @@ Return Code: <xsl:value-of select="return" /><br></br>
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="poster">
|
||||
<img align="left" src="/icecast.png" />Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
<div class="poster">Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
@ -6,19 +6,32 @@
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<center>
|
||||
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
||||
<img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2>
|
||||
<br />
|
||||
<!--header menu -->
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<table border="0" cellpadding="1" cellspacing="3">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav" href="stats.xsl">Admin Home</a> |
|
||||
<a class="nav" href="listmounts.xsl">List Mountpoints</a> |
|
||||
<a class="nav" href="moveclients.xsl">Move Listeners</a> |
|
||||
<a class="nav" href="stats.xsl">Stats</a> |
|
||||
<a class="nav" href="/status.xsl">Status Page</a>
|
||||
<a class="nav" href="/status.xsl">Index</a>
|
||||
</td></tr>
|
||||
</table>
|
||||
</center>
|
||||
<h2>Icecast Status Page</h2>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
<!--end header menu -->
|
||||
|
||||
<!--global server stats-->
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
@ -44,18 +57,29 @@
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
<!--end global server stats-->
|
||||
|
||||
<!--mount point stats-->
|
||||
<xsl:for-each select="source">
|
||||
<xsl:if test = "listeners!=''">
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<div class="newscontent">
|
||||
<xsl:for-each select="source">
|
||||
<xsl:if test = "listeners!=''">
|
||||
<h3>
|
||||
<xsl:if test="server_name"><xsl:value-of select="server_name" /> </xsl:if>
|
||||
<xsl:choose>
|
||||
<xsl:when test="authenticator">
|
||||
<a href="auth.xsl"><img border="0" src="/key.png"/></a> Authentication Required
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<a href="{@mount}.m3u"><img border="0" src="/tunein.png"/></a> Mount Point
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
|
||||
(<xsl:value-of select="@mount" />)
|
||||
<xsl:if test="authenticator"><a href="manageauth.xsl?mount={@mount}"><img border="0" src="/key.gif"/></a> </xsl:if>
|
||||
|
||||
</h3>
|
||||
<table border="0" cellpadding="1" cellspacing="5" bgcolor="444444">
|
||||
<tr>
|
||||
@ -76,18 +100,20 @@
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
<br />
|
||||
<br />
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
<xsl:text disable-output-escaping="yes">&</xsl:text>nbsp;
|
||||
</div>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="poster">
|
||||
<img align="left" src="/icecast.png" />Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
<br />
|
||||
<br />
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
<xsl:text disable-output-escaping="yes">&</xsl:text>nbsp;
|
||||
|
||||
|
||||
<!--end mount point stats-->
|
||||
<div class="poster">Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
@ -6,19 +6,31 @@
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<center>
|
||||
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
||||
<img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2>
|
||||
<br />
|
||||
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<table border="0" cellpadding="1" cellspacing="3">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav" href="listmounts.xsl">List MountPoints</a> |
|
||||
<a class="nav" href="stats.xsl">Admin Home</a> |
|
||||
<a class="nav" href="listmounts.xsl">List Mountpoints</a> |
|
||||
<a class="nav" href="moveclients.xsl">Move Listeners</a> |
|
||||
<a class="nav" href="stats.xsl">Stats</a> |
|
||||
<a class="nav" href="/status.xsl">Status Page</a>
|
||||
<a class="nav" href="/status.xsl">Index</a>
|
||||
</td></tr>
|
||||
</table>
|
||||
</center>
|
||||
<h2>Update Metadata</h2>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<h1>Update Metadata</h1>
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
@ -47,8 +59,7 @@
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="poster">
|
||||
<img align="left" src="/icecast.png" />Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
<div class="poster">Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
@ -12,4 +12,7 @@ dist_web_DATA = status.xsl \
|
||||
icecast.png \
|
||||
key.gif \
|
||||
style.css \
|
||||
auth.xsl
|
||||
auth.xsl \
|
||||
server_version.xsl \
|
||||
tunein.png \
|
||||
key.png
|
||||
|
10
web/auth.xsl
10
web/auth.xsl
@ -6,15 +6,15 @@
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
</head>
|
||||
<body bgcolor="black">
|
||||
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
||||
<table border="0" width="100%%">
|
||||
<tr>
|
||||
<td width="50"></td>
|
||||
<td>
|
||||
<h2>Authorization Page</h2>
|
||||
<img align="left" src="/icecast.png" /><h2><center>Authorization Page</center></h2>
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="corner_topleft.jpg" class="corner" style="display: none" />
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<div class="newscontent">
|
||||
<xsl:for-each select="source">
|
||||
@ -43,14 +43,14 @@
|
||||
<xsl:text disable-output-escaping="yes">&</xsl:text>nbsp;
|
||||
</div>
|
||||
<div class="roundbottom">
|
||||
<img src="corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br></br><br></br>
|
||||
</td>
|
||||
<td width="25"></td></tr>
|
||||
</table>
|
||||
<div class="poster"><img align="left" src="/icecast.png" />Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
<div class="poster">Support icecast development at <a class="nav" target="_blank" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
BIN
web/key.png
Normal file
BIN
web/key.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
91
web/server_version.xsl
Normal file
91
web/server_version.xsl
Normal file
@ -0,0 +1,91 @@
|
||||
<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:template match = "/icestats" >
|
||||
<html>
|
||||
<head>
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
</head>
|
||||
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
||||
<img align="left" src="/icecast.png" /><h2><center>Icecast2 Status (Version Info)</center></h2>
|
||||
<br />
|
||||
<!--index header menu -->
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<table border="0" width="100%" id="table1" cellspacing="0" cellpadding="4">
|
||||
<tr>
|
||||
<td bgcolor="#656565">
|
||||
<a class="nav" href="admin/">Administration</a> |
|
||||
<a class="nav" href="status.xsl">Server Status</a> |
|
||||
<a class="nav" href="server_version.xsl">Version</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
<!--end index header menu -->
|
||||
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<div class="newscontent">
|
||||
<h3>Version Information</h3>
|
||||
<table border="0" cellpadding="4">
|
||||
<xsl:for-each select="/icestats">
|
||||
<xsl:for-each select="server">
|
||||
<xsl:if test = "name()!='source'">
|
||||
<tr>
|
||||
<td width="130">Build</td>
|
||||
<td class="streamdata"><xsl:value-of select="." /></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
<xsl:for-each select="server_start">
|
||||
<xsl:if test = "name()!='source'">
|
||||
<tr>
|
||||
<td width="130">Server Uptime</td>
|
||||
<td class="streamdata"><xsl:value-of select="." /></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
<tr>
|
||||
<td width="130">Download</td>
|
||||
<td class="streamdata"><a class="nav" target="_blank" href="http://icecast.org/download.php">icecast.org</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="130">Subversion</td>
|
||||
<td class="streamdata"><a class="nav" target="_blank" href="http://icecast.org/svn.php">click here</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="130">Documentation</td>
|
||||
<td class="streamdata"><a class="nav" target="_blank" href="http://icecast.org/docs.php">click here</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="130">Stream Directory </td>
|
||||
<td class="streamdata"><a class="nav" target="_blank" href="http://dir.xiph.org/index.php/">dir.xiph.org</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="130">Community</td>
|
||||
<td class="streamdata"><a class="nav" target="_blank" href="http://forum.icecast.org/">forum.icecast.org</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<div class="poster">Support icecast development at <a class="nav" target="_blank" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
@ -6,21 +6,52 @@
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<h2>Icecast Status Page</h2>
|
||||
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
||||
<img align="left" src="/icecast.png" /><h2><center>Icecast2 Status</center></h2>
|
||||
<br />
|
||||
<!--index header menu -->
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="corner_topleft.jpg" class="corner" style="display: none" />
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<div class="newscontent">
|
||||
<table border="0" width="100%" id="table1" cellspacing="0" cellpadding="4">
|
||||
<tr>
|
||||
<td bgcolor="#656565">
|
||||
<a class="nav" href="admin/">Administration</a> |
|
||||
<a class="nav" href="status.xsl">Server Status</a> |
|
||||
<a class="nav" href="server_version.xsl">Version</a> |</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
<!--end index header menu -->
|
||||
<!--mount point stats-->
|
||||
<xsl:for-each select="source">
|
||||
<xsl:choose>
|
||||
<xsl:when test="listeners">
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<div class="newscontent">
|
||||
<h3>
|
||||
<xsl:if test="server_name"><xsl:value-of select="server_name" /> </xsl:if>
|
||||
<xsl:choose>
|
||||
<xsl:when test="authenticator">
|
||||
<a href="auth.xsl"><img border="0" src="/key.png"/></a> Authentication Required
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<a href="{@mount}.m3u"><img border="0" src="/tunein.png"/></a> Mount Point
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
(<xsl:value-of select="@mount" />)
|
||||
<xsl:if test="authenticator"> <a href="/auth.xsl"><img border="0" src="/key.gif"/></a> </xsl:if>
|
||||
<xsl:if test="authenticator"> <a href="/auth.xsl"><img border="0" src="/key.png"/></a> </xsl:if>
|
||||
|
||||
</h3>
|
||||
|
||||
<table border="0" cellpadding="4">
|
||||
<xsl:if test="server_name">
|
||||
<tr><td>Stream Title:</td><td class="streamdata"> <xsl:value-of select="server_name" /></td></tr>
|
||||
@ -28,9 +59,8 @@
|
||||
<xsl:if test="server_description">
|
||||
<tr><td>Stream Description:</td><td class="streamdata"> <xsl:value-of select="server_description" /></td></tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="type">
|
||||
<tr><td width="130"> Stream Type:</td><td class="streamdata"><xsl:value-of select="type" /></td></tr>
|
||||
</xsl:if>
|
||||
<tr><td>Content Type:</td><td class="streamdata"><xsl:value-of select="server_type" /></td></tr>
|
||||
<tr><td>Mount Uptime:</td><td class="streamdata"><xsl:value-of select="stream_start" /></td></tr>
|
||||
<xsl:if test="bitrate">
|
||||
<tr><td>Bitrate:</td><td class="streamdata"> <xsl:value-of select="bitrate" /></td></tr>
|
||||
</xsl:if>
|
||||
@ -46,45 +76,39 @@
|
||||
<xsl:if test="frame_rate">
|
||||
<tr><td>Framerate:</td><td class="streamdata"> <xsl:value-of select="frame_rate" /></td></tr>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="listeners">
|
||||
<tr><td>Stream Listeners:</td><td class="streamdata"> <xsl:value-of select="listeners" /></td></tr>
|
||||
<tr><td>Current Listeners:</td><td class="streamdata"> <xsl:value-of select="listeners" /></td></tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="listener_peak">
|
||||
<tr><td>Peak Listeners:</td><td class="streamdata"> <xsl:value-of select="listener_peak" /></td></tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="genre">
|
||||
<tr><td>Stream Genre:</td><td class="streamdata"> <xsl:value-of select="genre" /></td></tr>
|
||||
</xsl:if>
|
||||
<xsl:if test="server_url">
|
||||
<tr><td>Stream URL:</td><td class="streamdata"> <a href="{server_url}"><xsl:value-of select="server_url" /></a></td></tr>
|
||||
<tr><td>Stream URL:</td><td class="streamdata"> <a target="_blank" href="{server_url}"><xsl:value-of select="server_url" /></a></td></tr>
|
||||
</xsl:if>
|
||||
<tr><td>Current Song:</td><td class="streamdata">
|
||||
<xsl:if test="artist"><xsl:value-of select="artist" /> - </xsl:if><xsl:value-of select="title" /></td></tr>
|
||||
<tr><td>Listen:</td><td class="streamdata">
|
||||
<xsl:choose>
|
||||
<xsl:when test="authenticator">
|
||||
<a href="auth.xsl">Click to Listen</a>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<a href="{@mount}.m3u">Click to Listen</a>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td></tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<h3><xsl:value-of select="@mount" /> - Not Connected</h3>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<br></br>
|
||||
<br></br>
|
||||
|
||||
</xsl:for-each>
|
||||
<xsl:text disable-output-escaping="yes">&</xsl:text>nbsp;
|
||||
</div>
|
||||
<div class="roundbottom">
|
||||
<img src="corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="poster"><img align="left" src="/icecast.png" />Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
|
||||
<div class="poster">Support icecast development at <a class="nav" target="_blank" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
@ -38,6 +38,14 @@ h2 {
|
||||
color: #fff;
|
||||
margin-top:3px;
|
||||
}
|
||||
h1 {
|
||||
font-family: Verdana, sans-serif;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
font-size: 100%;
|
||||
color: #fff;
|
||||
margin-top:3px;
|
||||
}
|
||||
.nav {
|
||||
font-family: Verdana, sans-serif;
|
||||
text-decoration: none;
|
||||
@ -116,7 +124,7 @@ td {
|
||||
font-weight: bold;
|
||||
font-size: 110%;
|
||||
color: #f8ef64;
|
||||
border-bottom: 3px dashed #000000;
|
||||
border-bottom: 1px groove #ACACAC;
|
||||
}
|
||||
.newscontent h4 {
|
||||
margin: 10px 0px;
|
||||
@ -189,11 +197,11 @@ td {
|
||||
}
|
||||
|
||||
.roundtop {
|
||||
background: url(corner_topright.jpg) no-repeat top right;
|
||||
background: url(/corner_topright.jpg) no-repeat top right;
|
||||
}
|
||||
|
||||
.roundbottom {
|
||||
background: url(corner_bottomright.jpg) no-repeat top right;
|
||||
background: url(/corner_bottomright.jpg) no-repeat top right;
|
||||
}
|
||||
|
||||
img.corner {
|
||||
|
BIN
web/tunein.png
Normal file
BIN
web/tunein.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
Loading…
Reference in New Issue
Block a user