Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

fix(ui): fix svg display in legacy monitoring pages for firefox #11659

Merged
merged 1 commit into from
Sep 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion www/include/monitoring/status/Services/xsl/serviceGrid.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@
<xsl:element name="a">
<xsl:attribute name="href"><xsl:value-of select="s_listing_uri"/></xsl:attribute>
<xsl:attribute name="isreact">true</xsl:attribute>
<xsl:value-of select="viewIcon" disable-output-escaping="yes"/>
<xsl:element name="span">
<xsl:attribute name="class">svgs</xsl:attribute>
<xsl:value-of select="viewIcon" disable-output-escaping="yes"/>
</xsl:element>
</xsl:element>
<xsl:element name="a">
<xsl:attribute name="href">main.php?p=204&amp;mode=0&amp;svc_id=<xsl:value-of select="hnl"/></xsl:attribute>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@
<xsl:element name="a">
<xsl:attribute name="href"><xsl:value-of select="s_listing_uri"/></xsl:attribute>
<xsl:attribute name="isreact">true</xsl:attribute>
<xsl:value-of select="viewIcon" disable-output-escaping="yes"/>
<xsl:element name="span">
<xsl:attribute name="class">svgs</xsl:attribute>
<xsl:value-of select="viewIcon" disable-output-escaping="yes"/>
</xsl:element>
</xsl:element>
<xsl:element name="a">
<xsl:attribute name="href">main.php?p=204&amp;mode=0&amp;svc_id=<xsl:value-of select="hnl"/></xsl:attribute>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,17 @@
<xsl:element name="a">
<xsl:attribute name="href"><xsl:value-of select="s_listing_uri"/></xsl:attribute>
<xsl:attribute name="isreact">true</xsl:attribute>
<xsl:value-of select="viewIcon" disable-output-escaping="yes"/>
<xsl:element name="span">
<xsl:attribute name="class">svgs</xsl:attribute>
<xsl:value-of select="viewIcon" disable-output-escaping="yes"/>
</xsl:element>
</xsl:element>
<xsl:element name="a">
<xsl:attribute name="href">main.php?p=204&amp;mode=0&amp;svc_id=<xsl:value-of select="hnl"/></xsl:attribute>
<xsl:value-of select="chartIcon" disable-output-escaping="yes"/>
<xsl:element name="span">
<xsl:attribute name="class">svgs</xsl:attribute>
<xsl:value-of select="chartIcon" disable-output-escaping="yes"/>
</xsl:element>
</xsl:element>
</td>
<xsl:if test="//i/s = 1">
Expand Down Expand Up @@ -122,5 +128,8 @@
</xsl:for-each>
</table>
<div id="div_popup" class="popup_volante"><div class="container-load"></div><div id="popup-container-display"></div></div>
<script type="text/javascript">
$(displaySvgOnXSL());
</script>
</xsl:template>
</xsl:stylesheet>
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,17 @@
<xsl:element name="a">
<xsl:attribute name="href"><xsl:value-of select="s_listing_uri"/></xsl:attribute>
<xsl:attribute name="isreact">true</xsl:attribute>
<xsl:value-of select="viewIcon" disable-output-escaping="yes"/>
<xsl:element name="span">
<xsl:attribute name="class">svgs</xsl:attribute>
<xsl:value-of select="viewIcon" disable-output-escaping="yes"/>
</xsl:element>
</xsl:element>
<xsl:element name="a">
<xsl:attribute name="href">main.php?p=204&amp;mode=0&amp;svc_id=<xsl:value-of select="hnl"/></xsl:attribute>
<xsl:value-of select="chartIcon" disable-output-escaping="yes"/>
<xsl:element name="span">
<xsl:attribute name="class">svgs</xsl:attribute>
<xsl:value-of select="chartIcon" disable-output-escaping="yes"/>
</xsl:element>
</xsl:element>
</td>
<xsl:if test="//i/s = 1">
Expand Down Expand Up @@ -173,5 +179,8 @@
<div class="container-load"></div>
<div id="popup-container-display"></div>
</div>
<script type="text/javascript">
$(displaySvgOnXSL());
</script>
</xsl:template>
</xsl:stylesheet>
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,17 @@
<xsl:element name="a">
<xsl:attribute name="href"><xsl:value-of select="s_listing_uri"/></xsl:attribute>
<xsl:attribute name="isreact">true</xsl:attribute>
<xsl:value-of select="viewIcon" disable-output-escaping="yes"/>
<xsl:element name="span">
<xsl:attribute name="class">svgs</xsl:attribute>
<xsl:value-of select="viewIcon" disable-output-escaping="yes"/>
</xsl:element>
</xsl:element>
<xsl:element name="a">
<xsl:attribute name="href">main.php?p=20401&amp;mode=0&amp;svc_id=<xsl:value-of select="hnl"/></xsl:attribute>
<xsl:value-of select="chartIcon" disable-output-escaping="yes"/>
<xsl:element name="span">
<xsl:attribute name="class">svgs</xsl:attribute>
<xsl:value-of select="chartIcon" disable-output-escaping="yes"/>
</xsl:element>
</xsl:element>
</td>
<xsl:if test="//i/s = 1">
Expand Down Expand Up @@ -90,5 +96,8 @@
<div class="container-load"></div>
<div id="popup-container-display"></div>
</div>
<script type="text/javascript">
$(displaySvgOnXSL());
</script>
</xsl:template>
</xsl:stylesheet>
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,17 @@
<td class="ListColLeft" style="white-space:nowrap;width:37px;">
<xsl:element name="a">
<xsl:attribute name="href"><xsl:value-of select="s_listing_uri"/></xsl:attribute>
<xsl:value-of select="viewIcon" disable-output-escaping="yes"/>
<xsl:element name="span">
<xsl:attribute name="class">svgs</xsl:attribute>
<xsl:value-of select="viewIcon" disable-output-escaping="yes"/>
</xsl:element>
</xsl:element>
<xsl:element name="a">
<xsl:attribute name="href">main.php?p=20401&amp;mode=0&amp;svc_id=<xsl:value-of select="hnl"/></xsl:attribute>
<xsl:value-of select="chartIcon" disable-output-escaping="yes"/>
<xsl:element name="span">
<xsl:attribute name="class">svgs</xsl:attribute>
<xsl:value-of select="chartIcon" disable-output-escaping="yes"/>
</xsl:element>
</xsl:element>
</td>
<xsl:if test="//i/s = 1">
Expand Down Expand Up @@ -119,5 +125,8 @@
</xsl:for-each>
</table>
<div id="div_popup" class="popup_volante"><div class="container-load"></div><div id="popup-container-display"></div></div>
<script type="text/javascript">
$(displaySvgOnXSL());
</script>
</xsl:template>
</xsl:stylesheet>