38 |
<xsl:if test="line=$line_no"> |
<xsl:if test="line=$line_no"> |
39 |
<xsl:variable name="bgcolor"> |
<xsl:variable name="bgcolor"> |
40 |
<xsl:choose> |
<xsl:choose> |
41 |
<xsl:when test="alarm='yes'"> <xsl:value-of select="'#ff0000'"/> </xsl:when> |
<xsl:when test="alarm='yes'"> <xsl:value-of select="'#ff0000'"/> </xsl:when> |
42 |
<xsl:when test="alarm='no'"> <xsl:value-of select="'#ffffff'"/> </xsl:when> |
<xsl:when test="alarm='no'"> <xsl:value-of select="'#ffffff'"/> </xsl:when> |
43 |
|
<xsl:when test="alarm='yes1'"> <xsl:value-of select="'#ff8000'"/> </xsl:when> |
44 |
|
<xsl:when test="alarm='yes2'"> <xsl:value-of select="'#ffcc99'"/> </xsl:when> |
45 |
|
<xsl:when test="alarm='mcalib'"> <xsl:value-of select="'#b3ff66'"/> </xsl:when> |
46 |
|
<xsl:when test="alarm='macq'"> <xsl:value-of select="'#99ffff'"/> </xsl:when> |
47 |
|
<xsl:when test="alarm='minit'"> <xsl:value-of select="'#ffff66'"/> </xsl:when> |
48 |
|
<xsl:when test="alarm='calib'"> <xsl:value-of select="'#e6ffcc'"/> </xsl:when> |
49 |
|
<xsl:when test="alarm='acq'"> <xsl:value-of select="'#ccffff'"/> </xsl:when> |
50 |
|
<xsl:when test="alarm='init'"> <xsl:value-of select="'#ffffcc'"/> </xsl:when> |
51 |
<xsl:otherwise> <xsl:value-of select="'#00ff00'"/> </xsl:otherwise> |
<xsl:otherwise> <xsl:value-of select="'#00ff00'"/> </xsl:otherwise> |
52 |
</xsl:choose> |
</xsl:choose> |
53 |
</xsl:variable> |
</xsl:variable> |