mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Update: Converted message boxes to <aside>
This commit is contained in:
parent
6931390325
commit
46d48fb4f3
@ -54,9 +54,9 @@
|
||||
</xsl:for-each>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<div class="aside info">
|
||||
<aside class="info">
|
||||
<strong>No mounts!</strong> There are no active mountpoints.
|
||||
</div>
|
||||
</aside>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</div>
|
||||
|
@ -10,9 +10,9 @@
|
||||
<div class="section">
|
||||
<h2><xsl:value-of select="$title" /></h2>
|
||||
<xsl:if test="iceresponse">
|
||||
<div class="aside error">
|
||||
<aside class="error">
|
||||
<xsl:value-of select="iceresponse/message" />
|
||||
</div>
|
||||
</aside>
|
||||
</xsl:if>
|
||||
<xsl:for-each select="role">
|
||||
<section class="box">
|
||||
|
@ -43,10 +43,10 @@
|
||||
</form>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<p class="warning">
|
||||
<aside class="warning">
|
||||
<strong>No mounts!</strong>
|
||||
There are no other mountpoints you could move the listeners to.
|
||||
</p>
|
||||
</aside>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</section>
|
||||
|
@ -17,10 +17,10 @@
|
||||
<xsl:call-template name="mountnav" />
|
||||
<h4>Update Metadata</h4>
|
||||
<xsl:if test="content-type and not((content-type = 'application/mpeg') or (content-type = 'audio/aac') or (content-type = 'audio/aacp'))">
|
||||
<p class="warning">
|
||||
<aside class="warning">
|
||||
<strong>Warning</strong>
|
||||
This is only supported for legacy codecs using ICY as transport such as MP3 and AAC.
|
||||
</p>
|
||||
</aside>
|
||||
</xsl:if>
|
||||
<form method="post" action="/admin/metadata.xsl">
|
||||
<input type="hidden" name="mount" value="{@mount}" />
|
||||
|
@ -304,6 +304,10 @@ h1, h2, h3, h5 {
|
||||
color: #001826;
|
||||
}
|
||||
|
||||
aside {
|
||||
margin: 0.4em;
|
||||
}
|
||||
|
||||
/* Error messages */
|
||||
|
||||
.error {
|
||||
|
Loading…
Reference in New Issue
Block a user