diff options
author | Joey Hagedorn <hagedorn@mcs.anl.gov> | 2006-01-09 23:12:33 +0000 |
---|---|---|
committer | Joey Hagedorn <hagedorn@mcs.anl.gov> | 2006-01-09 23:12:33 +0000 |
commit | 0f95b5db21e8a9247834befa21fe56b8d9f7e16e (patch) | |
tree | 90e6f8e333535a7807f1594467d4195ad564af9d /reports/xsl-transforms/xsl-transform-includes | |
parent | e1ba4d1443e2fae8b626d5282dd633aab2144dcb (diff) | |
download | bcfg2-0f95b5db21e8a9247834befa21fe56b8d9f7e16e.tar.gz bcfg2-0f95b5db21e8a9247834befa21fe56b8d9f7e16e.tar.bz2 bcfg2-0f95b5db21e8a9247834befa21fe56b8d9f7e16e.zip |
made changes to get rid of hostinfo.xml file have GenerateHostInfo update clients.xml
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1659 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'reports/xsl-transforms/xsl-transform-includes')
-rw-r--r-- | reports/xsl-transforms/xsl-transform-includes/html-templates.xsl | 4 | ||||
-rw-r--r-- | reports/xsl-transforms/xsl-transform-includes/text-templates.xsl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl b/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl index 45f85c592..7e9e08055 100644 --- a/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl +++ b/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl @@ -3,10 +3,10 @@ <xsl:template match="Node"> <xsl:if test="count(Statistics/Good)+count(Statistics/Bad)+count(Statistics/Extra)+count(Statistics/Modified)+count(Statistics/Stale) > 0"> - <div class="nodebox" name="{HostInfo/@fqdn}"> + <div class="nodebox" name="{Client/@name}"> <span class="notebox">Time Ran: <xsl:value-of select="Statistics/@time" /></span> <span class="configbox">(<xsl:value-of select="Client/@profile" />)</span> - <h2>Node: <span class="nodename"><xsl:value-of select="HostInfo/@fqdn" /></span></h2> + <h2>Node: <span class="nodename"><xsl:value-of select="Client/@name" /></span></h2> <xsl:apply-templates select="Statistics" /> </div> </xsl:if> diff --git a/reports/xsl-transforms/xsl-transform-includes/text-templates.xsl b/reports/xsl-transforms/xsl-transform-includes/text-templates.xsl index c346b8bec..8b820415b 100644 --- a/reports/xsl-transforms/xsl-transform-includes/text-templates.xsl +++ b/reports/xsl-transforms/xsl-transform-includes/text-templates.xsl @@ -5,7 +5,7 @@ <xsl:text> - </xsl:text>Node:<xsl:value-of select="HostInfo/@fqdn" /><xsl:text> + </xsl:text>Node:<xsl:value-of select="Client/@name" /><xsl:text> </xsl:text>Time Ran: <xsl:value-of select="Statistics/@time" />.<xsl:text> </xsl:text>(<xsl:value-of select="Client/@profile" />) <xsl:apply-templates select="Statistics" /> |