summaryrefslogtreecommitdiffstats
path: root/reports/xsl-transforms/nodes-digest-www.xsl
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-01-23 22:35:40 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-01-23 22:35:40 +0000
commitedca0b698637c3fd0a70af7e4752a46afca938d3 (patch)
tree658fad717833200ccb4e3725c811ccce7c10fc8d /reports/xsl-transforms/nodes-digest-www.xsl
parent8ca8a153dfc6bd81ede9f5cff1ee3f111ae053ee (diff)
downloadbcfg2-edca0b698637c3fd0a70af7e4752a46afca938d3.tar.gz
bcfg2-edca0b698637c3fd0a70af7e4752a46afca938d3.tar.bz2
bcfg2-edca0b698637c3fd0a70af7e4752a46afca938d3.zip
last step of repo switches
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1716 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'reports/xsl-transforms/nodes-digest-www.xsl')
-rw-r--r--reports/xsl-transforms/nodes-digest-www.xsl40
1 files changed, 20 insertions, 20 deletions
diff --git a/reports/xsl-transforms/nodes-digest-www.xsl b/reports/xsl-transforms/nodes-digest-www.xsl
index 9585738c9..95026120f 100644
--- a/reports/xsl-transforms/nodes-digest-www.xsl
+++ b/reports/xsl-transforms/nodes-digest-www.xsl
@@ -10,8 +10,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>
@@ -48,10 +48,10 @@
<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">
<li><b>Node: </b>
- <tt><a href="#{HostInfo/@fqdn}"><xsl:value-of select="HostInfo/@fqdn" /></a></tt></li>
+ <tt><a href="#{Client/@name}"><xsl:value-of select="Client/@name" /></a></tt></li>
</xsl:if>
</xsl:for-each>
</ul></div>
@@ -64,10 +64,10 @@
<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">
<li><b>Node: </b>
- <tt><a href="#{HostInfo/@fqdn}"><xsl:value-of select="HostInfo/@fqdn" /></a></tt></li>
+ <tt><a href="#{Client/@name}"><xsl:value-of select="Client/@name" /></a></tt></li>
</xsl:if>
</xsl:for-each>
</ul></div>
@@ -79,10 +79,10 @@
<span class="nodelisttitle"><a href="javascript:toggleLayer('extrasummary');" title="Click to Expand" class="commentLink"><xsl:value-of select="count(/Report/Node/Statistics/Extra)" /></a> nodes have extra configuration. (includes both good and bad nodes)<br /></span>
<div class="items" id="extrasummary"><ul class="plain">
<xsl:for-each select="Node">
- <xsl:sort select="HostInfo/@fqdn"/>
+ <xsl:sort select="Client/@name"/>
<xsl:if test="count(Statistics/Extra) > 0">
<li><b>Node: </b>
- <tt><a href="#{HostInfo/@fqdn}"><xsl:value-of select="HostInfo/@fqdn" /></a></tt></li>
+ <tt><a href="#{Client/@name}"><xsl:value-of select="Client/@name" /></a></tt></li>
</xsl:if>
</xsl:for-each>
</ul></div>
@@ -96,10 +96,10 @@
<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">
<li><b>Node: </b>
- <tt><a href="#{HostInfo/@fqdn}"><xsl:value-of select="HostInfo/@fqdn" /></a></tt></li>
+ <tt><a href="#{Client/@name}"><xsl:value-of select="Client/@name" /></a></tt></li>
</xsl:if>
</xsl:for-each>
</ul></div>
@@ -111,10 +111,10 @@
<span class="nodelisttitle"><a href="javascript:toggleLayer('vstalesummary');" title="Click to Expand" class="commentLink"><xsl:value-of select="count($stalenodes[count(.|$pingablenodes)= count($pingablenodes)])" /></a> nodes did not run within the last 24 hours but were pingable.<br /></span>
<div class="items" id="vstalesummary"><ul class="plain">
<xsl:for-each select="Node">
- <xsl:sort select="HostInfo/@fqdn"/>
- <xsl:if test="count(Statistics/Stale)-count(HostInfo[@pingable='N']) > 0">
+ <xsl:sort select="Client/@name"/>
+ <xsl:if test="count(Statistics/Stale)-count(Client[@pingable='N']) > 0">
<li><b>Node: </b>
- <tt><a href="#{HostInfo/@fqdn}"><xsl:value-of select="HostInfo/@fqdn" /></a></tt></li>
+ <tt><a href="#{Client/@name}"><xsl:value-of select="Client/@name" /></a></tt></li>
</xsl:if>
</xsl:for-each>
</ul></div>
@@ -127,10 +127,10 @@
<div class="items" id="stalesummary"><ul class="plain">
<xsl:for-each select="Node">
- <xsl:sort select="HostInfo/@fqdn"/>
+ <xsl:sort select="Client/@name"/>
<xsl:if test="count(Statistics/Stale) > 0">
<li><b>Node: </b>
- <tt><a href="#{HostInfo/@fqdn}"><xsl:value-of select="HostInfo/@fqdn" /></a></tt></li>
+ <tt><a href="#{Client/@name}"><xsl:value-of select="Client/@name" /></a></tt></li>
</xsl:if>
</xsl:for-each>
</ul></div>
@@ -138,16 +138,16 @@
</div>
</xsl:if>
- <xsl:if test="count(/Report/Node[HostInfo/@pingable='N']) > 0">
+ <xsl:if test="count(/Report/Node[Client/@pingable='N']) > 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">
+ <xsl:sort select="Client/@name"/>
+ <xsl:if test="count(Client[@pingable='N']) > 0">
<li><b>Node: </b>
- <tt><a href="#{HostInfo/@fqdn}"><xsl:value-of select="HostInfo/@fqdn" /></a></tt></li>
+ <tt><a href="#{Client/@name}"><xsl:value-of select="Client/@name" /></a></tt></li>
</xsl:if>
</xsl:for-each>
</ul></div>