diff options
Diffstat (limited to 'reports/xsl-transforms/overview-stats-www.xsl')
-rw-r--r-- | reports/xsl-transforms/overview-stats-www.xsl | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/reports/xsl-transforms/overview-stats-www.xsl b/reports/xsl-transforms/overview-stats-www.xsl index afcd06de4..3b1e252ac 100644 --- a/reports/xsl-transforms/overview-stats-www.xsl +++ b/reports/xsl-transforms/overview-stats-www.xsl @@ -8,8 +8,8 @@ <xsl:variable name="dirtynodes" select="/Report/Node[count(Statistics/Bad)>0]"/> <xsl:variable name="modifiednodes" select="/Report/Node[count(Statistics/Modified)>0]"/> <xsl:variable name="stalenodes" select="/Report/Node[count(Statistics/Stale)>0]"/> - <xsl:variable name="unpingablenodes" select="/Report/Node[HostInfo/@pingable='N']"/> - <xsl:variable name="pingablenodes" select="/Report/Node[HostInfo/@pingable='Y']"/> + <xsl:variable name="unpingablenodes" select="/Report/Node[Client/@pingable='N']"/> + <xsl:variable name="pingablenodes" select="/Report/Node[Client/@pingable='Y']"/> <html> <head> @@ -32,9 +32,9 @@ <div class="items" id="goodsummary"><ul class="plain"> <xsl:for-each select="Node"> - <xsl:sort select="HostInfo/@fqdn"/> + <xsl:sort select="Client/@name"/> <xsl:if test="count(Statistics/Good) > 0"> - <tt><xsl:value-of select="HostInfo/@fqdn" /></tt><br/> + <tt><xsl:value-of select="Client/@name" /></tt><br/> </xsl:if> </xsl:for-each> </ul></div> @@ -47,9 +47,9 @@ <div class="items" id="badsummary"><ul class="plain"> <xsl:for-each select="Node"> - <xsl:sort select="HostInfo/@fqdn"/> + <xsl:sort select="Client/@name"/> <xsl:if test="count(Statistics/Bad) > 0"> - <tt><xsl:value-of select="HostInfo/@fqdn" /></tt><br/> + <tt><xsl:value-of select="Client/@name" /></tt><br/> </xsl:if> </xsl:for-each> </ul></div> @@ -62,9 +62,9 @@ <div class="items" id="modifiedsummary"><ul class="plain"> <xsl:for-each select="Node"> - <xsl:sort select="HostInfo/@fqdn"/> + <xsl:sort select="Client/@name"/> <xsl:if test="count(Statistics/Modified) > 0"> - <tt><xsl:value-of select="HostInfo/@fqdn" /></tt><br/> + <tt><xsl:value-of select="Client/@name" /></tt><br/> </xsl:if> </xsl:for-each> </ul></div> @@ -77,9 +77,9 @@ <div class="items" id="stalesummary"><ul class="plain"> <xsl:for-each select="Node"> - <xsl:sort select="HostInfo/@fqdn"/> - <xsl:if test="count(Statistics/Stale)-count(HostInfo[@pingable='N']) > 0"> - <tt><xsl:value-of select="HostInfo/@fqdn" /></tt><br/> + <xsl:sort select="Client/@name"/> + <xsl:if test="count(Statistics/Stale)-count(Client[@pingable='N']) > 0"> + <tt><xsl:value-of select="Client/@name" /></tt><br/> </xsl:if> </xsl:for-each> </ul></div> @@ -90,13 +90,13 @@ <xsl:if test="count($unpingablenodes) > 0"> <div class="down"> - <span class="nodelisttitle"><a href="javascript:toggleLayer('unpingablesummary');" title="Click to Expand" class="commentLink"><xsl:value-of select="count(/Report/Node/HostInfo[@pingable='N'])" /></a> nodes were down.<br /></span> + <span class="nodelisttitle"><a href="javascript:toggleLayer('unpingablesummary');" title="Click to Expand" class="commentLink"><xsl:value-of select="count(/Report/Node/Client[@pingable='N'])" /></a> nodes were down.<br /></span> <div class="items" id="unpingablesummary"><ul class="plain"> <xsl:for-each select="Node"> - <xsl:sort select="HostInfo/@fqdn"/> - <xsl:if test="count(HostInfo[@pingable='N']) > 0"> - <tt><xsl:value-of select="HostInfo/@fqdn" /></tt><br/> + <xsl:sort select="Client/@name"/> + <xsl:if test="count(Client[@pingable='N']) > 0"> + <tt><xsl:value-of select="Client/@name" /></tt><br/> </xsl:if> </xsl:for-each> </ul></div> |