diff options
author | Joey Hagedorn <hagedorn@mcs.anl.gov> | 2005-11-24 00:24:11 +0000 |
---|---|---|
committer | Joey Hagedorn <hagedorn@mcs.anl.gov> | 2005-11-24 00:24:11 +0000 |
commit | c1439f7bcb508bddb38d6b725568a4ce0e914a7e (patch) | |
tree | 773b701b7aaef8ae94edd8eb7641252d732db9f3 | |
parent | 9efe894d5904d4353e4302649022b83c9c16011c (diff) | |
download | bcfg2-c1439f7bcb508bddb38d6b725568a4ce0e914a7e.tar.gz bcfg2-c1439f7bcb508bddb38d6b725568a4ce0e914a7e.tar.bz2 bcfg2-c1439f7bcb508bddb38d6b725568a4ce0e914a7e.zip |
added client/image support in node info
(Logical change 1.363)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1518 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r-- | reports/xsl-transforms/xsl-transform-includes/html-templates.xsl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl b/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl index 034d7a2de..93c736ef1 100644 --- a/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl +++ b/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl @@ -1,9 +1,11 @@ <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns="http://www.w3.org/1999/xhtml"> <xsl:template match="Node"> - <xsl:if test="count(Statistics/Good)+count(Statistics/Bad)+count(Statistics/Modified)+count(Statistics/Stale) > 0"> - <div class="nodebox"> + <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}"> <span class="notebox">Time Ran: <xsl:value-of select="Statistics/@time" /></span> + <span class="configbox">(<xsl:value-of select="Client/@image" />/<xsl:value-of select="Client/@profile" />)</span> <h2>Node: <span class="nodename"><xsl:value-of select="HostInfo/@fqdn" /></span></h2> <xsl:apply-templates select="Statistics" /> </div> |