Commit f63e0d14 authored by Karl Heyes's avatar Karl Heyes

xsl update. added xspf links. minor changes to page display

svn path=/icecast/trunk/icecast/; revision=14850
parent c59afc60
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<link rel="stylesheet" type="text/css" href="/style.css" /> <link rel="stylesheet" type="text/css" href="/style.css" />
</head> </head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"> <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
<img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2> <h2>Icecast2 Admin</h2>
<br /> <br />
<div class="roundcont"> <div class="roundcont">
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
<table border="0" cellpadding="1" cellspacing="3"> <table border="0" cellpadding="1" cellspacing="3">
<tr> <tr>
<td align="center"> <td align="center">
<a class="nav" href="stats.xsl">Admin Home</a> | <a class="nav" href="stats.xsl">Admin Home</a>
<a class="nav" href="listmounts.xsl">List Mountpoints</a> | <a class="nav" href="listmounts.xsl">List Mountpoints</a>
<a class="nav" href="moveclients.xsl">Move Listeners</a> | <a class="nav" href="moveclients.xsl">Move Listeners</a>
<a class="nav" href="/status.xsl">Index</a> <a class="nav" href="/status.xsl">Index</a>
</td></tr> </td></tr>
</table> </table>
...@@ -39,33 +39,39 @@ ...@@ -39,33 +39,39 @@
</div> </div>
<div class="newscontent"> <div class="newscontent">
<xsl:for-each select="source"> <xsl:for-each select="source">
<h3> <div class="streamheader">
<table cellspacing="0" cellpadding="0" >
<colgroup align="left" />
<colgroup align="right" width="300" />
<tr>
<td><h3>Mount Point <xsl:value-of select="@mount" /></h3></td>
<xsl:choose>
<xsl:when test="authenticator">
<td align="right"><a class="auth" href="/auth.xsl">Login</a></td>
</xsl:when>
<xsl:otherwise>
<td align="right">
<a href="{@mount}.m3u">M3U</a>
<a href="{@mount}.xspf">XSPF</a></td>
</xsl:otherwise>
</xsl:choose>
</tr></table>
</div>
<xsl:choose> <table border="0" cellpadding="1" cellspacing="5" bgcolor="444444">
<xsl:when test="authenticator">
<a href="/auth.xsl"><img border="0" src="/key.png"/></a>
</xsl:when>
<xsl:otherwise>
<a href="{@mount}.m3u"><img border="0" src="/tunein.png"/></a>
</xsl:otherwise>
</xsl:choose>
<xsl:if test="server_name"><xsl:value-of select="server_name" /> </xsl:if>
Mount Point : (<xsl:value-of select="@mount" />)
</h3>
<table border="0" cellpadding="1" cellspacing="5" bgcolor="444444">
<tr> <tr>
<td align="center"> <td align="center">
<a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</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="moveclients.xsl?mount={@mount}">Move Listeners</a>
<a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a> | <a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a>
<a class="nav2" href="killsource.xsl?mount={@mount}">Kill Source</a> <a class="nav2" href="killsource.xsl?mount={@mount}">Kill Source</a>
</td></tr> </td></tr>
</table> </table>
<br /> <br />
<table cellspacing="1" border="1" bordercolor="#C0C0C0" > <table cellspacing="0" cellpadding="5" border="1" bordercolor="#C0C0C0" >
<tr> <tr>
<td ><center><b>IP</b></center></td> <td ><center><b>IP</b></center></td>
<td ><center><b>Connected For</b></center></td> <td ><center><b>Seconds Connected</b></center></td>
<td ><center><b>User Agent</b></center></td> <td ><center><b>User Agent</b></center></td>
<td ><center><b>Action</b></center></td> <td ><center><b>Action</b></center></td>
</tr> </tr>
...@@ -73,7 +79,7 @@ Mount Point : (<xsl:value-of select="@mount" />) ...@@ -73,7 +79,7 @@ Mount Point : (<xsl:value-of select="@mount" />)
<xsl:for-each select="listener"> <xsl:for-each select="listener">
<tr> <tr>
<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="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="Connected" /></td>
<td align="center"><xsl:value-of select="UserAgent" /></td> <td align="center"><xsl:value-of select="UserAgent" /></td>
<td align="center"><a href="killclient.xsl?mount={$themount}&amp;id={ID}">Kick</a></td> <td align="center"><a href="killclient.xsl?mount={$themount}&amp;id={ID}">Kick</a></td>
</tr> </tr>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<link rel="stylesheet" type="text/css" href="/style.css" /> <link rel="stylesheet" type="text/css" href="/style.css" />
</head> </head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"> <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
<img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2> <h2>Icecast2 Admin</h2>
<br /> <br />
<div class="roundcont"> <div class="roundcont">
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
<table border="0" cellpadding="1" cellspacing="3"> <table border="0" cellpadding="1" cellspacing="3">
<tr> <tr>
<td align="center"> <td align="center">
<a class="nav" href="stats.xsl">Admin Home</a> | <a class="nav" href="stats.xsl">Admin Home</a>
<a class="nav" href="listmounts.xsl">List Mountpoints</a> | <a class="nav" href="listmounts.xsl">List Mountpoints</a>
<a class="nav" href="moveclients.xsl">Move Listeners</a> | <a class="nav" href="moveclients.xsl">Move Listeners</a>
<a class="nav" href="/status.xsl">Index</a> <a class="nav" href="/status.xsl">Index</a>
</td></tr> </td></tr>
</table> </table>
...@@ -38,26 +38,33 @@ ...@@ -38,26 +38,33 @@
</div> </div>
<div class="newscontent"> <div class="newscontent">
<xsl:for-each select="source"> <xsl:for-each select="source">
<h3> <div class="streamheader">
<xsl:choose> <table cellspacing="0" cellpadding="0" >
<xsl:when test="authenticator"> <colgroup align="left" />
<a href="/auth.xsl"><img border="0" src="/key.png"/></a> <colgroup align="right" width="300" />
</xsl:when> <tr>
<xsl:otherwise> <td><h3>Mount Point <xsl:value-of select="@mount" /></h3></td>
<a href="{@mount}.m3u"><img border="0" src="/tunein.png"/></a> <xsl:choose>
</xsl:otherwise> <xsl:when test="authenticator">
</xsl:choose> <td align="right"><a class="auth" href="/auth.xsl">Login</a></td>
<xsl:if test="server_name"><xsl:value-of select="server_name" /> </xsl:if> </xsl:when>
Mount Point : (<xsl:value-of select="@mount" />) <xsl:otherwise>
</h3> <td align="right">
<table border="0" cellpadding="1" cellspacing="5" bgcolor="444444"> <a href="{@mount}.m3u">M3U</a>
<a href="{@mount}.xspf">XSPF</a></td>
</xsl:otherwise>
</xsl:choose>
</tr></table>
</div>
<table border="0" cellpadding="1" cellspacing="5" bgcolor="444444">
<tr> <tr>
<td align="center"> <td align="center">
<a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</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="moveclients.xsl?mount={@mount}">Move Listeners</a>
<a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a> | <a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a>
<a class="nav2" href="killsource.xsl?mount={@mount}">Kill Source</a> <a class="nav2" href="killsource.xsl?mount={@mount}">Kill Source</a>
<xsl:if test="authenticator"> | <a class="nav2" href="manageauth.xsl?mount={@mount}">Manage Authentication</a></xsl:if> <xsl:if test="authenticator"><a class="nav2" href="manageauth.xsl?mount={@mount}">Manage Authentication</a></xsl:if>
</td></tr> </td></tr>
</table> </table>
<br /> <br />
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<link rel="stylesheet" type="text/css" href="/style.css" /> <link rel="stylesheet" type="text/css" href="/style.css" />
</head> </head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"> <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
<img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2> <h2>Icecast2 Admin</h2>
<br /> <br />
<div class="roundcont"> <div class="roundcont">
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
<table border="0" cellpadding="1" cellspacing="3"> <table border="0" cellpadding="1" cellspacing="3">
<tr> <tr>
<td align="center"> <td align="center">
<a class="nav" href="stats.xsl">Admin Home</a> | <a class="nav" href="stats.xsl">Admin Home</a>
<a class="nav" href="listmounts.xsl">List Mountpoints</a> | <a class="nav" href="listmounts.xsl">List Mountpoints</a>
<a class="nav" href="moveclients.xsl">Move Listeners</a> | <a class="nav" href="moveclients.xsl">Move Listeners</a>
<a class="nav" href="/status.xsl">Index</a> <a class="nav" href="/status.xsl">Index</a>
</td></tr> </td></tr>
</table> </table>
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
<br /> <br />
<br /> <br />
<h2>Show defined users</h2>
<div class="roundcont"> <div class="roundcont">
<div class="roundtop"> <div class="roundtop">
<img src="/corner_topleft.jpg" class="corner" style="display: none" /> <img src="/corner_topleft.jpg" class="corner" style="display: none" />
...@@ -46,9 +45,9 @@ ...@@ -46,9 +45,9 @@
<table border="0" cellpadding="1" cellspacing="5" bgcolor="444444"> <table border="0" cellpadding="1" cellspacing="5" bgcolor="444444">
<tr> <tr>
<td align="center"> <td align="center">
<a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</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="moveclients.xsl?mount={@mount}">Move Listeners</a>
<a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a> | <a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a>
<a class="nav2" href="killsource.xsl?mount={@mount}">Kill Source</a> <a class="nav2" href="killsource.xsl?mount={@mount}">Kill Source</a>
</td></tr> </td></tr>
</table> </table>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<link rel="stylesheet" type="text/css" href="/style.css" /> <link rel="stylesheet" type="text/css" href="/style.css" />
</head> </head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"> <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
<img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2> <h2>Icecast2 Admin</h2>
<br /> <br />
<div class="roundcont"> <div class="roundcont">
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
<table border="0" cellpadding="1" cellspacing="3"> <table border="0" cellpadding="1" cellspacing="3">
<tr> <tr>
<td align="center"> <td align="center">
<a class="nav" href="stats.xsl">Admin Home</a> | <a class="nav" href="stats.xsl">Admin Home</a>
<a class="nav" href="listmounts.xsl">List Mountpoints</a> | <a class="nav" href="listmounts.xsl">List Mountpoints</a>
<a class="nav" href="moveclients.xsl">Move Listeners</a> | <a class="nav" href="moveclients.xsl">Move Listeners</a>
<a class="nav" href="/status.xsl">Index</a> <a class="nav" href="/status.xsl">Index</a>
</td></tr> </td></tr>
</table> </table>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<link rel="stylesheet" type="text/css" href="/style.css" /> <link rel="stylesheet" type="text/css" href="/style.css" />
</head> </head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"> <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
<img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2> <h2>Icecast2 Admin</h2>
<br /> <br />
<!--header menu --> <!--header menu -->
<div class="roundcont"> <div class="roundcont">
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
<table border="0" cellpadding="1" cellspacing="3"> <table border="0" cellpadding="1" cellspacing="3">
<tr> <tr>
<td align="center"> <td align="center">
<a class="nav" href="stats.xsl">Admin Home</a> | <a class="nav" href="stats.xsl">Admin Home</a>
<a class="nav" href="listmounts.xsl">List Mountpoints</a> | <a class="nav" href="listmounts.xsl">List Mountpoints</a>
<a class="nav" href="moveclients.xsl">Move Listeners</a> | <a class="nav" href="moveclients.xsl">Move Listeners</a>
<a class="nav" href="/status.xsl">Index</a> <a class="nav" href="/status.xsl">Index</a>
</td></tr> </td></tr>
</table> </table>
...@@ -67,25 +67,32 @@ ...@@ -67,25 +67,32 @@
<img src="/corner_topleft.jpg" class="corner" style="display: none" /> <img src="/corner_topleft.jpg" class="corner" style="display: none" />
</div> </div>
<div class="newscontent"> <div class="newscontent">
<h3> <div class="streamheader">
<xsl:choose> <table cellspacing="0" cellpadding="0" >
<xsl:when test="authenticator"> <colgroup align="left" />
<a href="/auth.xsl"><img border="0" src="/key.png"/></a> <colgroup align="right" width="300" />
</xsl:when> <tr>
<xsl:otherwise> <td><h3>Mount Point <xsl:value-of select="@mount" /></h3></td>
<a href="{@mount}.m3u"><img border="0" src="/tunein.png"/></a> <xsl:choose>
</xsl:otherwise> <xsl:when test="authenticator">
</xsl:choose> <td align="right"><a class="auth" href="/auth.xsl">Login</a></td>
Mount Point : (<xsl:value-of select="@mount" />) </xsl:when>
</h3> <xsl:otherwise>
<td align="right">
<a href="{@mount}.m3u">M3U</a>
<a href="{@mount}.xspf">XSPF</a></td>
</xsl:otherwise>
</xsl:choose>
</tr></table>
</div>
<table border="0" cellpadding="1" cellspacing="5" bgcolor="444444"> <table border="0" cellpadding="1" cellspacing="5" bgcolor="444444">
<tr> <tr>
<td align="center"> <td align="center">
<a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</a> | <a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</a>
<a class="nav2" href="moveclients.xsl?mount={@mount}">Move MountPoints</a> | <a class="nav2" href="moveclients.xsl?mount={@mount}">Move MountPoints</a>
<a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a> | <a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a>
<a class="nav2" href="killsource.xsl?mount={@mount}">Kill Source</a> <a class="nav2" href="killsource.xsl?mount={@mount}">Kill Source</a>
<xsl:if test="authenticator"> | <a class="nav2" href="manageauth.xsl?mount={@mount}">Manage Authentication</a></xsl:if> <xsl:if test="authenticator"><a class="nav2" href="manageauth.xsl?mount={@mount}">Manage Authentication</a></xsl:if>
</td></tr> </td></tr>
</table> </table>
<br /> <br />
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<link rel="stylesheet" type="text/css" href="/style.css" /> <link rel="stylesheet" type="text/css" href="/style.css" />
</head> </head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"> <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
<img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2> <h2>Icecast2 Admin</h2>
<br /> <br />
<div class="roundcont"> <div class="roundcont">
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
<table border="0" cellpadding="1" cellspacing="3"> <table border="0" cellpadding="1" cellspacing="3">
<tr> <tr>
<td align="center"> <td align="center">
<a class="nav" href="stats.xsl">Admin Home</a> | <a class="nav" href="stats.xsl">Admin Home</a>
<a class="nav" href="listmounts.xsl">List Mountpoints</a> | <a class="nav" href="listmounts.xsl">List Mountpoints</a>
<a class="nav" href="moveclients.xsl">Move Listeners</a> | <a class="nav" href="moveclients.xsl">Move Listeners</a>
<a class="nav" href="/status.xsl">Index</a> <a class="nav" href="/status.xsl">Index</a>
</td></tr> </td></tr>
</table> </table>
......
<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 omit-xml-declaration="no" method="html" 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" > <xsl:template match = "/icestats" >
<html> <html>
<head> <head>
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<tr> <tr>
<td width="50"></td> <td width="50"></td>
<td> <td>
<img align="left" src="/icecast.png" /><h2><center>Authorization Page</center></h2> <h2>Authorization Page</h2>
<div class="roundcont"> <div class="roundcont">
<div class="roundtop"> <div class="roundtop">
<img src="/corner_topleft.jpg" class="corner" style="display: none" /> <img src="/corner_topleft.jpg" class="corner" style="display: none" />
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<link rel="stylesheet" type="text/css" href="style.css" /> <link rel="stylesheet" type="text/css" href="style.css" />
</head> </head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"> <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
<img align="left" src="/icecast.png" /><h2><center>Icecast2 Status (Version Info)</center></h2> <h2>Server Information</h2>
<br /> <br />
<!--index header menu --> <!--index header menu -->
<div class="roundcont"> <div class="roundcont">
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
<table border="0" width="100%" id="table1" cellspacing="0" cellpadding="4"> <table border="0" width="100%" id="table1" cellspacing="0" cellpadding="4">
<tr> <tr>
<td bgcolor="#656565"> <td bgcolor="#656565">
<a class="nav" href="admin/">Administration</a> | <a class="nav" href="admin/">Administration</a>
<a class="nav" href="status.xsl">Server Status</a> | <a class="nav" href="status.xsl">Server Status</a>
<a class="nav" href="server_version.xsl">Version</a></td> <a class="nav" href="server_version.xsl">Version</a></td>
</tr> </tr>
</table> </table>
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<img src="/corner_topleft.jpg" class="corner" style="display: none" /> <img src="/corner_topleft.jpg" class="corner" style="display: none" />
</div> </div>
<div class="newscontent"> <div class="newscontent">
<h3>Version Information</h3> <h3>Server Information</h3>
<table border="0" cellpadding="4"> <table border="0" cellpadding="4">
<xsl:for-each select="/icestats"> <xsl:for-each select="/icestats">
<tr> <tr>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<link rel="stylesheet" type="text/css" href="style.css" /> <link rel="stylesheet" type="text/css" href="style.css" />
</head> </head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"> <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
<img align="left" src="/icecast.png" /><h2><center>Icecast2 Status</center></h2> <h2>Icecast2 Status</h2>
<br /> <br />
<!--index header menu --> <!--index header menu -->
<div class="roundcont"> <div class="roundcont">
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
<table border="0" width="100%" id="table1" cellspacing="0" cellpadding="4"> <table border="0" width="100%" id="table1" cellspacing="0" cellpadding="4">
<tr> <tr>
<td bgcolor="#656565"> <td bgcolor="#656565">
<a class="nav" href="admin/">Administration</a> | <a class="nav" href="admin/">Administration</a>
<a class="nav" href="status.xsl">Server Status</a> | <a class="nav" href="status.xsl">Server Status</a>
<a class="nav" href="server_version.xsl">Version</a> |</td> <a class="nav" href="server_version.xsl">Version</a></td>
</tr> </tr>
</table> </table>
<div class="roundbottom"> <div class="roundbottom">
...@@ -38,25 +38,22 @@ ...@@ -38,25 +38,22 @@
<img src="/corner_topleft.jpg" class="corner" style="display: none" /> <img src="/corner_topleft.jpg" class="corner" style="display: none" />
</div> </div>
<div class="newscontent"> <div class="newscontent">
<h3> <div class="streamheader">
<xsl:choose> <table cellspacing="0" cellpadding="0">
<xsl:when test="authenticator"> <colgroup align="left" />
<a href="/auth.xsl"><img border="0" src="/key.png"/></a> <colgroup align="right" width="300" />
</xsl:when> <tr>
<xsl:otherwise> <td><h3>Mount Point <xsl:value-of select="@mount" /></h3></td>
<a href="{@mount}.m3u"><img border="0" src="/tunein.png"/></a> <xsl:choose>
</xsl:otherwise> <xsl:when test="authenticator">
</xsl:choose> <td align="right"><a class="auth" href="/auth.xsl">Login</a></td>
Mount Point : (<xsl:value-of select="@mount" />) : </xsl:when>
<xsl:choose> <xsl:otherwise>
<xsl:when test="authenticator"> <td align="right"> <a href="{@mount}.m3u">M3U</a> <a href="{@mount}.xspf">XSPF</a></td>
<a href="/auth.xsl">Click to Listen</a> </xsl:otherwise>
</xsl:when> </xsl:choose>
<xsl:otherwise> </tr></table>
<a href="{@mount}.m3u">Click to Listen</a> </div>
</xsl:otherwise>
</xsl:choose>
</h3>
<table border="0" cellpadding="4"> <table border="0" cellpadding="4">
<xsl:if test="server_name"> <xsl:if test="server_name">
...@@ -65,8 +62,12 @@ Mount Point : (<xsl:value-of select="@mount" />) : ...@@ -65,8 +62,12 @@ Mount Point : (<xsl:value-of select="@mount" />) :
<xsl:if test="server_description"> <xsl:if test="server_description">
<tr><td>Stream Description:</td><td class="streamdata"> <xsl:value-of select="server_description" /></td></tr> <tr><td>Stream Description:</td><td class="streamdata"> <xsl:value-of select="server_description" /></td></tr>
</xsl:if> </xsl:if>
<xsl:if test="server_type">
<tr><td>Content Type:</td><td class="streamdata"><xsl:value-of select="server_type" /></td></tr> <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>
<xsl:if test="stream_start">
<tr><td>Mount started:</td><td class="streamdata"><xsl:value-of select="stream_start" /></td></tr>
</xsl:if>
<xsl:if test="bitrate"> <xsl:if test="bitrate">
<tr><td>Bitrate:</td><td class="streamdata"> <xsl:value-of select="bitrate" /></td></tr> <tr><td>Bitrate:</td><td class="streamdata"> <xsl:value-of select="bitrate" /></td></tr>
</xsl:if> </xsl:if>
......
...@@ -34,9 +34,11 @@ h2 { ...@@ -34,9 +34,11 @@ h2 {
font-family: Verdana, sans-serif; font-family: Verdana, sans-serif;
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
font-size: 250%; font-size: 3em;
color: #fff; color: #fff;
padding: 10px 0px 10px 80px;
margin-top:3px; margin-top:3px;
background: transparent url(/icecast.png) no-repeat scroll left center
} }
h1 { h1 {
font-family: Verdana, sans-serif; font-family: Verdana, sans-serif;
...@@ -113,18 +115,24 @@ td { ...@@ -113,18 +115,24 @@ td {
background-color: #656565; background-color: #656565;
color: #fff; color: #fff;
} }
.roundcont a {
margin: 0px 10px;
}
.newscontent { .newscontent {
margin: 0 20px; margin: 0 20px;
} }
.newscontent h3 { h3 {
margin: 10px 0px; margin: 0px;
padding: 0px;
font-family: Verdana, sans-serif; font-family: Verdana, sans-serif;
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
font-size: 110%; font-size: 110%;
color: #f8ef64; color: #f8ef64;
border-bottom: 1px groove #ACACAC; }
.newscontent h3 {
margin-bottom: 10px;
border-bottom