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:template name="content">
|
||||
<div class="roundbox">
|
||||
<xsl:for-each select="/report/incident">
|
||||
<div class="article">
|
||||
<h3>Response</h3>
|
||||
<h4>Message</h4>
|
||||
<p><xsl:value-of select="state/text" /></p>
|
||||
<xsl:if test="state/@definition">
|
||||
<h2><xsl:value-of select="$title" /></h2>
|
||||
<xsl:for-each select="/report/incident">
|
||||
<section class="box">
|
||||
<h3 class="box_title">Response</h3>
|
||||
<h4>Message</h4>
|
||||
<p><xsl:value-of select="state/text" /></p>
|
||||
<xsl:if test="state/@definition">
|
||||
<p>Error code: <xsl:value-of select="state/@definition" /></p>
|
||||
</xsl:if>
|
||||
</div>
|
||||
</xsl:for-each>
|
||||
</div>
|
||||
</xsl:if>
|
||||
</section>
|
||||
</xsl:for-each>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
|
@ -16,10 +16,14 @@
|
||||
<!-- Header/Menu -->
|
||||
<xsl:call-template name="header" />
|
||||
|
||||
<xsl:call-template name="content" />
|
||||
<main role="main">
|
||||
<xsl:call-template name="content" />
|
||||
</main>
|
||||
|
||||
<!-- Footer -->
|
||||
<xsl:call-template name="footer" />
|
||||
<footer>
|
||||
<xsl:call-template name="footer" />
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -37,8 +37,8 @@
|
||||
<xsl:choose>
|
||||
<xsl:when test="source">
|
||||
<xsl:for-each select="source">
|
||||
<div class="article">
|
||||
<h3>Mountpoint <xsl:value-of select="@mount" /></h3>
|
||||
<section class="box">
|
||||
<h3 class="box_title">Mountpoint <code><xsl:value-of select="@mount" /></code></h3>
|
||||
<!-- Mount nav -->
|
||||
<xsl:call-template name="mountnav" />
|
||||
<h4>Play stream</h4>
|
||||
@ -61,7 +61,7 @@
|
||||
<h4>Mount Authentication</h4>
|
||||
<xsl:call-template name="authlist" />
|
||||
</xsl:if>
|
||||
</div>
|
||||
</section>
|
||||
</xsl:for-each>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
|
@ -6,16 +6,14 @@
|
||||
<xsl:variable name="title">Server Response</xsl:variable>
|
||||
|
||||
<xsl:template name="content">
|
||||
<div class="section">
|
||||
<h2><xsl:value-of select="$title" /></h2>
|
||||
<xsl:for-each select="/iceresponse">
|
||||
<div class="article">
|
||||
<h3>Response</h3>
|
||||
<h4>Message</h4>
|
||||
<p><xsl:value-of select="message" /></p>
|
||||
<p>(Return Code: <xsl:value-of select="return" />)</p>
|
||||
</div>
|
||||
</xsl:for-each>
|
||||
</div>
|
||||
<h2><xsl:value-of select="$title" /></h2>
|
||||
<xsl:for-each select="/iceresponse">
|
||||
<section class="box">
|
||||
<h3 class="box_title">Response</h3>
|
||||
<h4>Message</h4>
|
||||
<p><xsl:value-of select="message" /></p>
|
||||
<p>(Return Code: <xsl:value-of select="return" />)</p>
|
||||
</section>
|
||||
</xsl:for-each>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
|
@ -32,12 +32,11 @@
|
||||
|
||||
|
||||
<xsl:template name="content">
|
||||
<div class="section">
|
||||
<h2>Server status</h2>
|
||||
|
||||
<!-- Global stats table -->
|
||||
<div class="article">
|
||||
<h3>Global server stats</h3>
|
||||
<section class="box">
|
||||
<h3 class="box_title">Global server stats</h3>
|
||||
<!-- Global subnav -->
|
||||
<div class="nav">
|
||||
<ul>
|
||||
@ -66,12 +65,12 @@
|
||||
<h4>Authentication</h4>
|
||||
<xsl:call-template name="authlist" />
|
||||
</xsl:if>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Mount stats -->
|
||||
<xsl:for-each select="source">
|
||||
<div class="article">
|
||||
<h3>Mountpoint <xsl:value-of select="@mount" /></h3>
|
||||
<section class="box">
|
||||
<h3 class="box_title">Mountpoint <code><xsl:value-of select="@mount" /></code></h3>
|
||||
<!-- Mount nav -->
|
||||
<xsl:call-template name="mountnav" />
|
||||
<h4>Play stream</h4>
|
||||
@ -149,8 +148,7 @@
|
||||
<xsl:call-template name="authlist" />
|
||||
</xsl:if>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
</xsl:for-each>
|
||||
</div>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
|
Loading…
Reference in New Issue
Block a user