1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Update: Corrected error displays

This commit is contained in:
Philipp Schafft 2020-10-01 23:40:21 +00:00
parent 1186e43d21
commit 6931390325
3 changed files with 10 additions and 5 deletions

View File

@ -54,7 +54,7 @@
</xsl:for-each> </xsl:for-each>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<div class="aside error"> <div class="aside info">
<strong>No mounts!</strong> There are no active mountpoints. <strong>No mounts!</strong> There are no active mountpoints.
</div> </div>
</xsl:otherwise> </xsl:otherwise>

View File

@ -307,8 +307,7 @@ h1, h2, h3, h5 {
/* Error messages */ /* Error messages */
.error { .error {
background-color: #DBCAD5; background-color: #FF9999;
color: #5C2949;
padding: .5em 2em; padding: .5em 2em;
border: 1px solid #5C2949; border: 1px solid #5C2949;
} }
@ -325,6 +324,12 @@ h1, h2, h3, h5 {
padding: .5em 2em; padding: .5em 2em;
} }
.warning strong { .info {
border: 1px solid #5C2949;
background-color: #ABBBFF;
padding: .5em 2em;
}
.error > strong, .warning > strong, .info > strong {
display: block; display: block;
} }

View File

@ -133,7 +133,7 @@
</xsl:for-each> </xsl:for-each>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<aside class="error"> <aside class="info">
<strong>No mounts!</strong> There are no active mountpoints. <strong>No mounts!</strong> There are no active mountpoints.
</aside> </aside>
</xsl:otherwise> </xsl:otherwise>