Project: Icecast
Revision: 14850
Author: karl
Date: 09 May 2008 19:14:52
Changes:xsl update. added xspf links. minor changes to page display
Files:modified: /icecast/trunk/icecast/admin/manageauth.xsl (
try)
modified: /icecast/trunk/icecast/admin/listclients.xsl (
try)
modified: /icecast/trunk/icecast/admin/stats.xsl (
try)
modified: /icecast/trunk/icecast/web/server_version.xsl (
try)
modified: /icecast/trunk/icecast/admin/listmounts.xsl (
try)
modified: /icecast/trunk/icecast/admin/updatemetadata.xsl (
try)
modified: /icecast/trunk/icecast/web/auth.xsl (
try)
modified: /icecast/trunk/icecast/web/style.css (
try)
modified: /icecast/trunk/icecast/admin/moveclients.xsl (
try)
modified: /icecast/trunk/icecast/web/status.xsl (
try)
Diff:
| ... | ...@@ -7,7 +7,7 @@ |
| 7 | 7 | <link rel="stylesheet" type="text/css" href="/style.css" />
|
| 8 | 8 | </head>
|
| 9 | 9 | <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
| 10 | | <img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2>
|
| 10 | <h2>Icecast2 Admin</h2>
|
| 11 | 11 | <br />
|
| 12 | 12 |
|
| 13 | 13 | <div class="roundcont">
|
| ... | ...@@ -17,9 +17,9 @@ |
| 17 | 17 | <table border="0" cellpadding="1" cellspacing="3">
|
| 18 | 18 | <tr>
|
| 19 | 19 | <td align="center">
|
| 20 | | <a class="nav" href="stats.xsl">Admin Home</a> |
|
| 21 | | <a class="nav" href="listmounts.xsl">List Mountpoints</a> |
|
| 22 | | <a class="nav" href="moveclients.xsl">Move Listeners</a> |
|
| 20 | <a class="nav" href="stats.xsl">Admin Home</a>
|
| 21 | <a class="nav" href="listmounts.xsl">List Mountpoints</a>
|
| 22 | <a class="nav" href="moveclients.xsl">Move Listeners</a>
|
| 23 | 23 | <a class="nav" href="/status.xsl">Index</a>
|
| 24 | 24 | </td></tr>
|
| 25 | 25 | </table>
|
| ... | ...@@ -30,7 +30,6 @@ |
| 30 | 30 | <br />
|
| 31 | 31 | <br />
|
| 32 | 32 |
|
| 33 | | <h2>Show defined users</h2>
|
| 34 | 33 | <div class="roundcont">
|
| 35 | 34 | <div class="roundtop">
|
| 36 | 35 | <img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
| ... | ...@@ -46,9 +45,9 @@ |
| 46 | 45 | <table border="0" cellpadding="1" cellspacing="5" bgcolor="444444">
|
| 47 | 46 | <tr>
|
| 48 | 47 | <td align="center">
|
| 49 | | <a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</a> |
|
| 50 | | <a class="nav2" href="moveclients.xsl?mount={@mount}">Move Listeners</a> |
|
| 51 | | <a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a> |
|
| 48 | <a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</a>
|
| 49 | <a class="nav2" href="moveclients.xsl?mount={@mount}">Move Listeners</a>
|
| 50 | <a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a>
|
| 52 | 51 | <a class="nav2" href="killsource.xsl?mount={@mount}">Kill Source</a>
|
| 53 | 52 | </td></tr>
|
| 54 | 53 | </table>
|
| ... | ...@@ -7,7 +7,7 @@ |
| 7 | 7 | <link rel="stylesheet" type="text/css" href="/style.css" />
|
| 8 | 8 | </head>
|
| 9 | 9 | <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
| 10 | | <img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2>
|
| 10 | <h2>Icecast2 Admin</h2>
|
| 11 | 11 | <br />
|
| 12 | 12 |
|
| 13 | 13 | <div class="roundcont">
|
| ... | ...@@ -17,9 +17,9 @@ |
| 17 | 17 | <table border="0" cellpadding="1" cellspacing="3">
|
| 18 | 18 | <tr>
|
| 19 | 19 | <td align="center">
|
| 20 | | <a class="nav" href="stats.xsl">Admin Home</a> |
|
| 21 | | <a class="nav" href="listmounts.xsl">List Mountpoints</a> |
|
| 22 | | <a class="nav" href="moveclients.xsl">Move Listeners</a> |
|
| 20 | <a class="nav" href="stats.xsl">Admin Home</a>
|
| 21 | <a class="nav" href="listmounts.xsl">List Mountpoints</a>
|
| 22 | <a class="nav" href="moveclients.xsl">Move Listeners</a>
|
| 23 | 23 | <a class="nav" href="/status.xsl">Index</a>
|
| 24 | 24 | </td></tr>
|
| 25 | 25 | </table>
|
| ... | ...@@ -39,33 +39,39 @@ |
| 39 | 39 | </div>
|
| 40 | 40 | <div class="newscontent">
|
| 41 | 41 | <xsl:for-each select="source">
|
| 42 | | <h3>
|
| 42 | <div class="streamheader">
|
| 43 | <table cellspacing="0" cellpadding="0" >
|
| 44 | <colgroup align="left" />
|
| 45 | <colgroup align="right" width="300" />
|
| 46 | <tr>
|
| 47 | <td><h3>Mount Point <xsl:value-of select="@mount" /></h3></td>
|
| 48 | <xsl:choose>
|
| 49 | <xsl:when test="authenticator">
|
| 50 | <td align="right"><a class="auth" href="/auth.xsl">Login</a></td>
|
| 51 | </xsl:when>
|
| 52 | <xsl:otherwise>
|
| 53 | <td align="right">
|
| 54 | <a href="{@mount}.m3u">M3U</a>
|
| 55 | <a href="{@mount}.xspf">XSPF</a></td>
|
| 56 | </xsl:otherwise>
|
| 57 | </xsl:choose>
|
| 58 | </tr></table>
|
| 59 | </div>
|
| 43 | 60 |
|
| 44 | | <xsl:choose>
|
| 45 | | <xsl:when test="authenticator">
|
| 46 | | <a href="/auth.xsl"><img border="0" src="/key.png"/></a>
|
| 47 | | </xsl:when>
|
| 48 | | <xsl:otherwise>
|
| 49 | | <a href="{@mount}.m3u"><img border="0" src="/tunein.png"/></a>
|
| 50 | | </xsl:otherwise>
|
| 51 | | </xsl:choose>
|
| 52 | | <xsl:if test="server_name"><xsl:value-of select="server_name" /> </xsl:if>
|
| 53 | | Mount Point : (<xsl:value-of select="@mount" />)
|
| 54 | | </h3>
|
| 55 | | <table border="0" cellpadding="1" cellspacing="5" bgcolor="444444">
|
| 61 | <table border="0" cellpadding="1" cellspacing="5" bgcolor="444444">
|
| 56 | 62 | <tr>
|
| 57 | 63 | <td align="center">
|
| 58 | | <a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</a> |
|
| 59 | | <a class="nav2" href="moveclients.xsl?mount={@mount}">Move Listeners</a> |
|
| 60 | | <a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a> |
|
| 64 | <a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</a>
|
| 65 | <a class="nav2" href="moveclients.xsl?mount={@mount}">Move Listeners</a>
|
| 66 | <a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a>
|
| 61 | 67 | <a class="nav2" href="killsource.xsl?mount={@mount}">Kill Source</a>
|
| 62 | 68 | </td></tr>
|
| 63 | 69 | </table>
|
| 64 | 70 | <br />
|
| 65 | | <table cellspacing="1" border="1" bordercolor="#C0C0C0" >
|
| 71 | <table cellspacing="0" cellpadding="5" border="1" bordercolor="#C0C0C0" >
|
| 66 | 72 | <tr>
|
| 67 | 73 | <td ><center><b>IP</b></center></td>
|
| 68 | | <td ><center><b>Connected For</b></center></td>
|
| 74 | <td ><center><b>Seconds Connected</b></center></td>
|
| 69 | 75 | <td ><center><b>User Agent</b></center></td>
|
| 70 | 76 | <td ><center><b>Action</b></center></td>
|
| 71 | 77 | </tr>
|
| ... | ...@@ -73,7 +79,7 @@ |
| 73 | 79 | <xsl:for-each select="listener">
|
| 74 | 80 | <tr>
|
| 75 | 81 | <td align="center"><xsl:value-of select="IP" /><xsl:if test="username"> (<xsl:value-of select="username" />)</xsl:if></td>
|
| 76 | | <td align="center"><xsl:value-of select="Connected" /> seconds</td>
|
| 82 | <td align="center"><xsl:value-of select="Connected" /></td>
|
| 77 | 83 | <td align="center"><xsl:value-of select="UserAgent" /></td>
|
| 78 | 84 | <td align="center"><a href="killclient.xsl?mount={$themount}&id={ID}">Kick</a></td>
|
| 79 | 85 | </tr>
|
| ... | ...@@ -7,7 +7,7 @@ |
| 7 | 7 | <link rel="stylesheet" type="text/css" href="/style.css" />
|
| 8 | 8 | </head>
|
| 9 | 9 | <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
| 10 | | <img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2>
|
| 10 | <h2>Icecast2 Admin</h2>
|
| 11 | 11 | <br />
|
| 12 | 12 | <!--header menu -->
|
| 13 | 13 | <div class="roundcont">
|
| ... | ...@@ -17,9 +17,9 @@ |
| 17 | 17 | <table border="0" cellpadding="1" cellspacing="3">
|
| 18 | 18 | <tr>
|
| 19 | 19 | <td align="center">
|
| 20 | | <a class="nav" href="stats.xsl">Admin Home</a> |
|
| 21 | | <a class="nav" href="listmounts.xsl">List Mountpoints</a> |
|
| 22 | | <a class="nav" href="moveclients.xsl">Move Listeners</a> |
|
| 20 | <a class="nav" href="stats.xsl">Admin Home</a>
|
| 21 | <a class="nav" href="listmounts.xsl">List Mountpoints</a>
|
| 22 | <a class="nav" href="moveclients.xsl">Move Listeners</a>
|
| 23 | 23 | <a class="nav" href="/status.xsl">Index</a>
|
| 24 | 24 | </td></tr>
|
| 25 | 25 | </table>
|
| ... | ...@@ -67,25 +67,32 @@ |
| 67 | 67 | <img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
| 68 | 68 | </div>
|
| 69 | 69 | <div class="newscontent">
|
| 70 | | <h3>
|
| 71 | | <xsl:choose>
|
| 72 | | <xsl:when test="authenticator">
|
| 73 | | <a href="/auth.xsl"><img border="0" src="/key.png"/></a>
|
| 74 | | </xsl:when>
|
| 75 | | <xsl:otherwise>
|
| 76 | | <a href="{@mount}.m3u"><img border="0" src="/tunein.png"/></a>
|
| 77 | | </xsl:otherwise>
|
| 78 | | </xsl:choose>
|
| 79 | | Mount Point : (<xsl:value-of select="@mount" />)
|
| 80 | | </h3>
|
| 70 | <div class="streamheader">
|
| 71 | <table cellspacing="0" cellpadding="0" >
|
| 72 | <colgroup align="left" />
|
| 73 | <colgroup align="right" width="300" />
|
| 74 | <tr>
|
| 75 | <td><h3>Mount Point <xsl:value-of select="@mount" /></h3></td>
|
| 76 | <xsl:choose>
|
| 77 | <xsl:when test="authenticator">
|
| 78 | <td align="right"><a class="auth" href="/auth.xsl">Login</a></td>
|
| 79 | </xsl:when>
|
| 80 | <xsl:otherwise>
|
| 81 | <td align="right">
|
| 82 | <a href="{@mount}.m3u">M3U</a>
|
| 83 | <a href="{@mount}.xspf">XSPF</a></td>
|
| 84 | </xsl:otherwise>
|
| 85 | </xsl:choose>
|
| 86 | </tr></table>
|
| 87 | </div>
|
| 81 | 88 | <table border="0" cellpadding="1" cellspacing="5" bgcolor="444444">
|
| 82 | 89 | <tr>
|
| 83 | 90 | <td align="center">
|
| 84 | | <a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</a> |
|
| 85 | | <a class="nav2" href="moveclients.xsl?mount={@mount}">Move MountPoints</a> |
|
| 86 | | <a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a> |
|
| 91 | <a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</a>
|
| 92 | <a class="nav2" href="moveclients.xsl?mount={@mount}">Move MountPoints</a>
|
| 93 | <a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a>
|
| 87 | 94 | <a class="nav2" href="killsource.xsl?mount={@mount}">Kill Source</a>
|
| 88 | | <xsl:if test="authenticator"> | <a class="nav2" href="manageauth.xsl?mount={@mount}">Manage Authentication</a></xsl:if>
|
| 95 | <xsl:if test="authenticator"><a class="nav2" href="manageauth.xsl?mount={@mount}">Manage Authentication</a></xsl:if>
|
| 89 | 96 | </td></tr>
|
| 90 | 97 | </table>
|
| 91 | 98 | <br />
|
| ... | ...@@ -7,7 +7,7 @@ |
| 7 | 7 | <link rel="stylesheet" type="text/css" href="style.css" />
|
| 8 | 8 | </head>
|
| 9 | 9 | <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
| 10 | | <img align="left" src="/icecast.png" /><h2><center>Icecast2 Status (Version Info)</center></h2>
|
| 10 | <h2>Server Information</h2>
|
| 11 | 11 | <br />
|
| 12 | 12 | <!--index header menu -->
|
| 13 | 13 | <div class="roundcont">
|
| ... | ...@@ -17,8 +17,8 @@ |
| 17 | 17 | <table border="0" width="100%" id="table1" cellspacing="0" cellpadding="4">
|
| 18 | 18 | <tr>
|
| 19 | 19 | <td bgcolor="#656565">
|
| 20 | | <a class="nav" href="admin/">Administration</a> |
|
| 21 | | <a class="nav" href="status.xsl">Server Status</a> |
|
| 20 | <a class="nav" href="admin/">Administration</a>
|
| 21 | <a class="nav" href="status.xsl">Server Status</a>
|
| 22 | 22 | <a class="nav" href="server_version.xsl">Version</a></td>
|
| 23 | 23 | </tr>
|
| 24 | 24 | </table>
|
| ... | ...@@ -35,7 +35,7 @@ |
| 35 | 35 | <img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
| 36 | 36 | </div>
|
| 37 | 37 | <div class="newscontent">
|
| 38 | | <h3>Version Information</h3>
|
| 38 | <h3>Server Information</h3>
|
| 39 | 39 | <table border="0" cellpadding="4">
|
| 40 | 40 | <xsl:for-each select="/icestats">
|
| 41 | 41 | <tr>
|
| ... | ...@@ -7,7 +7,7 @@ |
| 7 | 7 | <link rel="stylesheet" type="text/css" href="/style.css" />
|
| 8 | 8 | </head>
|
| 9 | 9 | <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
| 10 | | <img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2>
|
| 10 | <h2>Icecast2 Admin</h2>
|
| 11 | 11 | <br />
|
| 12 | 12 |
|
| 13 | 13 | <div class="roundcont">
|
| ... | ...@@ -17,9 +17,9 @@ |
| 17 | 17 | <table border="0" cellpadding="1" cellspacing="3">
|
| 18 | 18 | <tr>
|
| 19 | 19 | <td align="center">
|
| 20 | | <a class="nav" href="stats.xsl">Admin Home</a> |
|
| 21 | | <a class="nav" href="listmounts.xsl">List Mountpoints</a> |
|
| 22 | | <a class="nav" href="moveclients.xsl">Move Listeners</a> |
|
| 20 | <a class="nav" href="stats.xsl">Admin Home</a>
|
| 21 | <a class="nav" href="listmounts.xsl">List Mountpoints</a>
|
| 22 | <a class="nav" href="moveclients.xsl">Move Listeners</a>
|
| 23 | 23 | <a class="nav" href="/status.xsl">Index</a>
|
| 24 | 24 | </td></tr>
|
| 25 | 25 | </table>
|
| ... | ...@@ -38,26 +38,33 @@ |
| 38 | 38 | </div>
|
| 39 | 39 | <div class="newscontent">
|
| 40 | 40 | <xsl:for-each select="source">
|
| 41 | | <h3>
|
| 42 | | <xsl:choose>
|
| 43 | | <xsl:when test="authenticator">
|
| 44 | | <a href="/auth.xsl"><img border="0" src="/key.png"/></a>
|
| 45 | | </xsl:when>
|
| 46 | | <xsl:otherwise>
|
| 47 | | <a href="{@mount}.m3u"><img border="0" src="/tunein.png"/></a>
|
| 48 | | </xsl:otherwise>
|
| 49 | | </xsl:choose>
|
| 50 | | <xsl:if test="server_name"><xsl:value-of select="server_name" /> </xsl:if>
|
| 51 | | Mount Point : (<xsl:value-of select="@mount" />)
|
| 52 | | </h3>
|
| 53 | | <table border="0" cellpadding="1" cellspacing="5" bgcolor="444444">
|
| 41 | <div class="streamheader">
|
| 42 | <table cellspacing="0" cellpadding="0" >
|
| 43 | <colgroup align="left" />
|
| 44 | <colgroup align="right" width="300" />
|
| 45 | <tr>
|
| 46 | <td><h3>Mount Point <xsl:value-of select="@mount" /></h3></td>
|
| 47 | <xsl:choose>
|
| 48 | <xsl:when test="authenticator">
|
| 49 | <td align="right"><a class="auth" href="/auth.xsl">Login</a></td>
|
| 50 | </xsl:when>
|
| 51 | <xsl:otherwise>
|
| 52 | <td align="right">
|
| 53 | <a href="{@mount}.m3u">M3U</a>
|
| 54 | <a href="{@mount}.xspf">XSPF</a></td>
|
| 55 | </xsl:otherwise>
|
| 56 | </xsl:choose>
|
| 57 | </tr></table>
|
| 58 | </div>
|
| 59 |
|
| 60 | <table border="0" cellpadding="1" cellspacing="5" bgcolor="444444">
|
| 54 | 61 | <tr>
|
| 55 | 62 | <td align="center">
|
| 56 | | <a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</a> |
|
| 57 | | <a class="nav2" href="moveclients.xsl?mount={@mount}">Move Listeners</a> |
|
| 58 | | <a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a> |
|
| 63 | <a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</a>
|
| 64 | <a class="nav2" href="moveclients.xsl?mount={@mount}">Move Listeners</a>
|
| 65 | <a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a>
|
| 59 | 66 | <a class="nav2" href="killsource.xsl?mount={@mount}">Kill Source</a>
|
| 60 | | <xsl:if test="authenticator"> | <a class="nav2" href="manageauth.xsl?mount={@mount}">Manage Authentication</a></xsl:if>
|
| 67 | <xsl:if test="authenticator"><a class="nav2" href="manageauth.xsl?mount={@mount}">Manage Authentication</a></xsl:if>
|
| 61 | 68 | </td></tr>
|
| 62 | 69 | </table>
|
| 63 | 70 | <br />
|
| ... | ...@@ -7,7 +7,7 @@ |
| 7 | 7 | <link rel="stylesheet" type="text/css" href="/style.css" />
|
| 8 | 8 | </head>
|
| 9 | 9 | <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
| 10 | | <img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2>
|
| 10 | <h2>Icecast2 Admin</h2>
|
| 11 | 11 | <br />
|
| 12 | 12 |
|
| 13 | 13 | <div class="roundcont">
|
| ... | ...@@ -17,9 +17,9 @@ |
| 17 | 17 | <table border="0" cellpadding="1" cellspacing="3">
|
| 18 | 18 | <tr>
|
| 19 | 19 | <td align="center">
|
| 20 | | <a class="nav" href="stats.xsl">Admin Home</a> |
|
| 21 | | <a class="nav" href="listmounts.xsl">List Mountpoints</a> |
|
| 22 | | <a class="nav" href="moveclients.xsl">Move Listeners</a> |
|
| 20 | <a class="nav" href="stats.xsl">Admin Home</a>
|
| 21 | <a class="nav" href="listmounts.xsl">List Mountpoints</a>
|
| 22 | <a class="nav" href="moveclients.xsl">Move Listeners</a>
|
| 23 | 23 | <a class="nav" href="/status.xsl">Index</a>
|
| 24 | 24 | </td></tr>
|
| 25 | 25 | </table>
|
| ... | ...@@ -1,5 +1,5 @@ |
| 1 | 1 | <xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
|
| 2 | | <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" />
|
| 2 | <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" />
|
| 3 | 3 | <xsl:template match = "/icestats" >
|
| 4 | 4 | <html>
|
| 5 | 5 | <head>
|
| ... | ...@@ -11,7 +11,7 @@ |
| 11 | 11 | <tr>
|
| 12 | 12 | <td width="50"></td>
|
| 13 | 13 | <td>
|
| 14 | | <img align="left" src="/icecast.png" /><h2><center>Authorization Page</center></h2>
|
| 14 | <h2>Authorization Page</h2>
|
| 15 | 15 | <div class="roundcont">
|
| 16 | 16 | <div class="roundtop">
|
| 17 | 17 | <img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
| ... | ...@@ -34,9 +34,11 @@ |
| 34 | 34 | font-family: Verdana, sans-serif; |
| 35 | 35 | text-decoration: none; |
| 36 | 36 | font-weight: bold; |
| 37 | | font-size: 250%; |
| 37 | font-size: 3em; |
| 38 | 38 | color: #fff; |
| 39 | padding: 10px 0px 10px 80px; |
| 39 | 40 | margin-top:3px; |
| 41 | background: transparent url(/icecast.png) no-repeat scroll left center |
| 40 | 42 | } |
| 41 | 43 | h1 { |
| 42 | 44 | font-family: Verdana, sans-serif; |
| ... | ...@@ -113,18 +115,24 @@ |
| 113 | 115 | background-color: #656565; |
| 114 | 116 | color: #fff; |
| 115 | 117 | } |
| 116 | | |
| 118 | .roundcont a { |
| 119 | margin: 0px 10px; |
| 120 | } |
| 117 | 121 | .newscontent { |
| 118 | 122 | margin: 0 20px; |
| 119 | 123 | } |
| 120 | | .newscontent h3 { |
| 121 | | margin: 10px 0px; |
| 124 | h3 { |
| 125 | margin: 0px; |
| 126 | padding: 0px; |
| 122 | 127 | font-family: Verdana, sans-serif; |
| 123 | 128 | text-decoration: none; |
| 124 | 129 | font-weight: bold; |
| 125 | 130 | font-size: 110%; |
| 126 | 131 | color: #f8ef64; |
| 127 | | border-bottom: 1px groove #ACACAC; |
| 132 | } |
| 133 | .newscontent h3 { |
| 134 | margin-bottom: 10px; |
| 135 | border-bottom: 1px groove #ACACAC; |
| 128 | 136 | } |
| 129 | 137 | .newscontent h4 { |
| 130 | 138 | margin: 10px 0px; |
| ... | ...@@ -156,15 +164,42 @@ |
| 156 | 164 | font-size: 90%; |
| 157 | 165 | color: #f8ef64; |
| 158 | 166 | } |
| 167 | .streamheader table { |
| 168 | width: 100%; |
| 169 | margin-bottom: 5px; |
| 170 | border-bottom: 1px groove #ACACAC; |
| 171 | } |
| 172 | .streamheader td { |
| 173 | margin: 0px; |
| 174 | padding-top: 10px; |
| 175 | padding-bottom: 10px; |
| 176 | padding: 10 5 10 5; |
| 177 | border: 0px solid white; |
| 178 | } |
| 179 | .streamheader h3 { |
| 180 | border: 0px; |
| 181 | } |
| 182 | .streamheader a { |
| 183 | padding: 8px 5px 3px 30px; |
| 184 | text-decoration: none; |
| 185 | background: transparent url("/tunein.png") no-repeat left center; |
| 186 | } |
| 187 | .streamheader a.auth { |
| 188 | padding-top: 10px; |
| 189 | padding-bottom: 10px; |
| 190 | padding-left: 32px; |
| 191 | background: transparent url("/key.png") no-repeat left center; |
| 192 | } |
| 159 | 193 | .newscontent a { |
| 160 | 194 | font-family: Verdana, sans-serif; |
| 161 | | text-decoration: underline; |
| 195 | text-decoration: none; |
| 162 | 196 | font-weight: bold; |
| 197 | margin: 0px; |
| 163 | 198 | color: #f8ef64; |
| 164 | 199 | } |
| 165 | 200 | .newscontent a:hover { |
| 166 | 201 | font-family: Verdana, sans-serif; |
| 167 | | text-decoration: underline; |
| 202 | text-decoration: none; |
| 168 | 203 | font-weight: bold; |
| 169 | 204 | color: #fff; |
| 170 | 205 | } |
| ... | ...@@ -172,6 +207,7 @@ |
| 172 | 207 | font-family: Verdana, sans-serif; |
| 173 | 208 | text-decoration: none; |
| 174 | 209 | font-weight: bold; |
| 210 | padding: 2px 9px; |
| 175 | 211 | background: #444; |
| 176 | 212 | color: #f8ef64; |
| 177 | 213 | } |
| ... | ...@@ -184,13 +220,13 @@ |
| 184 | 220 | } |
| 185 | 221 | .poster { |
| 186 | 222 | font-family: Verdana, sans-serif; |
| 187 | | margin: 0px; |
| 188 | | margin-top: 50px; |
| 223 | margin: 50px 120px 20px 0px; |
| 189 | 224 | display: block; |
| 190 | 225 | text-decoration: none; |
| 191 | 226 | font-size: 100%; |
| 192 | 227 | color: #f8ef64; |
| 193 | | border-top: 3px dashed #000; |
| 228 | padding: 5px; |
| 229 | border-top: 1px groove #ACACAC; |
| 194 | 230 | } |
| 195 | 231 | .roundcont p { |
| 196 | 232 | margin: 10px 50px; |
| ... | ...@@ -7,7 +7,7 @@ |
| 7 | 7 | <link rel="stylesheet" type="text/css" href="/style.css" />
|
| 8 | 8 | </head>
|
| 9 | 9 | <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
| 10 | | <img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2>
|
| 10 | <h2>Icecast2 Admin</h2>
|
| 11 | 11 | <br />
|
| 12 | 12 |
|
| 13 | 13 | <div class="roundcont">
|
| ... | ...@@ -17,9 +17,9 @@ |
| 17 | 17 | <table border="0" cellpadding="1" cellspacing="3">
|
| 18 | 18 | <tr>
|
| 19 | 19 | <td align="center">
|
| 20 | | <a class="nav" href="stats.xsl">Admin Home</a> |
|
| 21 | | <a class="nav" href="listmounts.xsl">List Mountpoints</a> |
|
| 22 | | <a class="nav" href="moveclients.xsl">Move Listeners</a> |
|
| 20 | <a class="nav" href="stats.xsl">Admin Home</a>
|
| 21 | <a class="nav" href="listmounts.xsl">List Mountpoints</a>
|
| 22 | <a class="nav" href="moveclients.xsl">Move Listeners</a>
|
| 23 | 23 | <a class="nav" href="/status.xsl">Index</a>
|
| 24 | 24 | </td></tr>
|
| 25 | 25 | </table>
|
| ... | ...@@ -7,7 +7,7 @@ |
| 7 | 7 | <link rel="stylesheet" type="text/css" href="style.css" />
|
| 8 | 8 | </head>
|
| 9 | 9 | <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
| 10 | | <img align="left" src="/icecast.png" /><h2><center>Icecast2 Status</center></h2>
|
| 10 | <h2>Icecast2 Status</h2>
|
| 11 | 11 | <br />
|
| 12 | 12 | <!--index header menu -->
|
| 13 | 13 | <div class="roundcont">
|
| ... | ...@@ -17,9 +17,9 @@ |
| 17 | 17 | <table border="0" width="100%" id="table1" cellspacing="0" cellpadding="4">
|
| 18 | 18 | <tr>
|
| 19 | 19 | <td bgcolor="#656565">
|
| 20 | | <a class="nav" href="admin/">Administration</a> |
|
| 21 | | <a class="nav" href="status.xsl">Server Status</a> |
|
| 22 | | <a class="nav" href="server_version.xsl">Version</a> |</td>
|
| 20 | <a class="nav" href="admin/">Administration</a>
|
| 21 | <a class="nav" href="status.xsl">Server Status</a>
|
| 22 | <a class="nav" href="server_version.xsl">Version</a></td>
|
| 23 | 23 | </tr>
|
| 24 | 24 | </table>
|
| 25 | 25 | <div class="roundbottom">
|
| ... | ...@@ -38,25 +38,22 @@ |
| 38 | 38 | <img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
| 39 | 39 | </div>
|
| 40 | 40 | <div class="newscontent">
|
| 41 | | <h3>
|
| 42 | | <xsl:choose>
|
| 43 | | <xsl:when test="authenticator">
|
| 44 | | <a href="/auth.xsl"><img border="0" src="/key.png"/></a>
|
| 45 | | </xsl:when>
|
| 46 | | <xsl:otherwise>
|
| 47 | | <a href="{@mount}.m3u"><img border="0" src="/tunein.png"/></a>
|
| 48 | | </xsl:otherwise>
|
| 49 | | </xsl:choose>
|
| 50 | | Mount Point : (<xsl:value-of select="@mount" />) :
|
| 51 | | <xsl:choose>
|
| 52 | | <xsl:when test="authenticator">
|
| 53 | | <a href="/auth.xsl">Click to Listen</a>
|
| 54 | | </xsl:when>
|
| 55 | | <xsl:otherwise>
|
| 56 | | <a href="{@mount}.m3u">Click to Listen</a>
|
| 57 | | </xsl:otherwise>
|
| 58 | | </xsl:choose>
|
| 59 | | </h3>
|
| 41 | <div class="streamheader">
|
| 42 | <table cellspacing="0" cellpadding="0">
|
| 43 | <colgroup align="left" />
|
| 44 | <colgroup align="right" width="300" />
|
| 45 | <tr>
|
| 46 | <td><h3>Mount Point <xsl:value-of select="@mount" /></h3></td>
|
| 47 | <xsl:choose>
|
| 48 | <xsl:when test="authenticator">
|
| 49 | <td align="right"><a class="auth" href="/auth.xsl">Login</a></td>
|
| 50 | </xsl:when>
|
| 51 | <xsl:otherwise>
|
| 52 | <td align="right"> <a href="{@mount}.m3u">M3U</a> <a href="{@mount}.xspf">XSPF</a></td>
|
| 53 | </xsl:otherwise>
|
| 54 | </xsl:choose>
|
| 55 | </tr></table>
|
| 56 | </div>
|
| 60 | 57 |
|
| 61 | 58 | <table border="0" cellpadding="4">
|
| 62 | 59 | <xsl:if test="server_name">
|
| ... | ...@@ -65,8 +62,12 @@ |
| 65 | 62 | <xsl:if test="server_description">
|
| 66 | 63 | <tr><td>Stream Description:</td><td class="streamdata"> <xsl:value-of select="server_description" /></td></tr>
|
| 67 | 64 | </xsl:if>
|
| 65 | <xsl:if test="server_type">
|
| 68 | 66 | <tr><td>Content Type:</td><td class="streamdata"><xsl:value-of select="server_type" /></td></tr>
|
| 69 | | <tr><td>Mount Uptime:</td><td class="streamdata"><xsl:value-of select="stream_start" /></td></tr>
|
| 67 | </xsl:if>
|
| 68 | <xsl:if test="stream_start">
|
| 69 | <tr><td>Mount started:</td><td class="streamdata"><xsl:value-of select="stream_start" /></td></tr>
|
| 70 | </xsl:if>
|
| 70 | 71 | <xsl:if test="bitrate">
|
| 71 | 72 | <tr><td>Bitrate:</td><td class="streamdata"> <xsl:value-of select="bitrate" /></td></tr>
|
| 72 | 73 | </xsl:if>
|
To list