mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Feature: display playlist
This commit is contained in:
parent
d3370f3d1c
commit
3dd8bdbf40
@ -131,6 +131,29 @@
|
|||||||
</table>
|
</table>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
|
<!-- Extra playlist -->
|
||||||
|
<xsl:if test="playlist/*">
|
||||||
|
<h4>Playlist</h4>
|
||||||
|
<table class="table-block">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th>Album</th>
|
||||||
|
<th>Track</th>
|
||||||
|
<th>Creator</th>
|
||||||
|
<th>Title</th>
|
||||||
|
</tr>
|
||||||
|
<xsl:for-each select="playlist/trackList/track">
|
||||||
|
<tr>
|
||||||
|
<td><xsl:value-of select="album" /></td>
|
||||||
|
<td><xsl:value-of select="trackNum" /></td>
|
||||||
|
<td><xsl:value-of select="creator" /></td>
|
||||||
|
<td><xsl:value-of select="title" /></td>
|
||||||
|
</tr>
|
||||||
|
</xsl:for-each>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
<!-- Mount Authentication -->
|
<!-- Mount Authentication -->
|
||||||
<xsl:if test="authentication">
|
<xsl:if test="authentication">
|
||||||
<h4>Mount Authentication</h4>
|
<h4>Mount Authentication</h4>
|
||||||
|
@ -150,6 +150,28 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<!-- Extra playlist -->
|
||||||
|
<xsl:if test="playlist/*">
|
||||||
|
<h4>Playlist</h4>
|
||||||
|
<table class="table-block">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th>Album</th>
|
||||||
|
<th>Track</th>
|
||||||
|
<th>Creator</th>
|
||||||
|
<th>Title</th>
|
||||||
|
</tr>
|
||||||
|
<xsl:for-each select="playlist/trackList/track">
|
||||||
|
<tr>
|
||||||
|
<td><xsl:value-of select="album" /></td>
|
||||||
|
<td><xsl:value-of select="trackNum" /></td>
|
||||||
|
<td><xsl:value-of select="creator" /></td>
|
||||||
|
<td><xsl:value-of select="title" /></td>
|
||||||
|
</tr>
|
||||||
|
</xsl:for-each>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</xsl:if>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
|
Loading…
Reference in New Issue
Block a user