mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Fix: Fixed a lot of admin area general styling
This commit is contained in:
parent
430042c911
commit
73bf0c8ca1
@ -4,17 +4,16 @@
|
|||||||
<xsl:variable name="title">Error</xsl:variable>
|
<xsl:variable name="title">Error</xsl:variable>
|
||||||
|
|
||||||
<xsl:template name="content">
|
<xsl:template name="content">
|
||||||
<div class="roundbox">
|
<h2><xsl:value-of select="$title" /></h2>
|
||||||
<xsl:for-each select="/report/incident">
|
<xsl:for-each select="/report/incident">
|
||||||
<div class="article">
|
<section class="box">
|
||||||
<h3>Response</h3>
|
<h3 class="box_title">Response</h3>
|
||||||
<h4>Message</h4>
|
<h4>Message</h4>
|
||||||
<p><xsl:value-of select="state/text" /></p>
|
<p><xsl:value-of select="state/text" /></p>
|
||||||
<xsl:if test="state/@definition">
|
<xsl:if test="state/@definition">
|
||||||
<p>Error code: <xsl:value-of select="state/@definition" /></p>
|
<p>Error code: <xsl:value-of select="state/@definition" /></p>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</div>
|
</section>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</div>
|
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
@ -16,10 +16,14 @@
|
|||||||
<!-- Header/Menu -->
|
<!-- Header/Menu -->
|
||||||
<xsl:call-template name="header" />
|
<xsl:call-template name="header" />
|
||||||
|
|
||||||
|
<main role="main">
|
||||||
<xsl:call-template name="content" />
|
<xsl:call-template name="content" />
|
||||||
|
</main>
|
||||||
|
|
||||||
<!-- Footer -->
|
<!-- Footer -->
|
||||||
|
<footer>
|
||||||
<xsl:call-template name="footer" />
|
<xsl:call-template name="footer" />
|
||||||
|
</footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -37,8 +37,8 @@
|
|||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="source">
|
<xsl:when test="source">
|
||||||
<xsl:for-each select="source">
|
<xsl:for-each select="source">
|
||||||
<div class="article">
|
<section class="box">
|
||||||
<h3>Mountpoint <xsl:value-of select="@mount" /></h3>
|
<h3 class="box_title">Mountpoint <code><xsl:value-of select="@mount" /></code></h3>
|
||||||
<!-- Mount nav -->
|
<!-- Mount nav -->
|
||||||
<xsl:call-template name="mountnav" />
|
<xsl:call-template name="mountnav" />
|
||||||
<h4>Play stream</h4>
|
<h4>Play stream</h4>
|
||||||
@ -61,7 +61,7 @@
|
|||||||
<h4>Mount Authentication</h4>
|
<h4>Mount Authentication</h4>
|
||||||
<xsl:call-template name="authlist" />
|
<xsl:call-template name="authlist" />
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</div>
|
</section>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
|
@ -6,16 +6,14 @@
|
|||||||
<xsl:variable name="title">Server Response</xsl:variable>
|
<xsl:variable name="title">Server Response</xsl:variable>
|
||||||
|
|
||||||
<xsl:template name="content">
|
<xsl:template name="content">
|
||||||
<div class="section">
|
|
||||||
<h2><xsl:value-of select="$title" /></h2>
|
<h2><xsl:value-of select="$title" /></h2>
|
||||||
<xsl:for-each select="/iceresponse">
|
<xsl:for-each select="/iceresponse">
|
||||||
<div class="article">
|
<section class="box">
|
||||||
<h3>Response</h3>
|
<h3 class="box_title">Response</h3>
|
||||||
<h4>Message</h4>
|
<h4>Message</h4>
|
||||||
<p><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>
|
</section>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</div>
|
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
@ -32,12 +32,11 @@
|
|||||||
|
|
||||||
|
|
||||||
<xsl:template name="content">
|
<xsl:template name="content">
|
||||||
<div class="section">
|
|
||||||
<h2>Server status</h2>
|
<h2>Server status</h2>
|
||||||
|
|
||||||
<!-- Global stats table -->
|
<!-- Global stats table -->
|
||||||
<div class="article">
|
<section class="box">
|
||||||
<h3>Global server stats</h3>
|
<h3 class="box_title">Global server stats</h3>
|
||||||
<!-- Global subnav -->
|
<!-- Global subnav -->
|
||||||
<div class="nav">
|
<div class="nav">
|
||||||
<ul>
|
<ul>
|
||||||
@ -66,12 +65,12 @@
|
|||||||
<h4>Authentication</h4>
|
<h4>Authentication</h4>
|
||||||
<xsl:call-template name="authlist" />
|
<xsl:call-template name="authlist" />
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</div>
|
</section>
|
||||||
|
|
||||||
<!-- Mount stats -->
|
<!-- Mount stats -->
|
||||||
<xsl:for-each select="source">
|
<xsl:for-each select="source">
|
||||||
<div class="article">
|
<section class="box">
|
||||||
<h3>Mountpoint <xsl:value-of select="@mount" /></h3>
|
<h3 class="box_title">Mountpoint <code><xsl:value-of select="@mount" /></code></h3>
|
||||||
<!-- Mount nav -->
|
<!-- Mount nav -->
|
||||||
<xsl:call-template name="mountnav" />
|
<xsl:call-template name="mountnav" />
|
||||||
<h4>Play stream</h4>
|
<h4>Play stream</h4>
|
||||||
@ -149,8 +148,7 @@
|
|||||||
<xsl:call-template name="authlist" />
|
<xsl:call-template name="authlist" />
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
</div>
|
</section>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</div>
|
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
Loading…
Reference in New Issue
Block a user