diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2005-10-02 04:12:31 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2005-10-02 04:12:31 +0000 |
commit | a53e0a5ff809311e4550ca10c3b6a5ad52938cf9 (patch) | |
tree | e9a03ad30a59fe594bd475b556ad7e239650e09e /reports | |
parent | 18ca62dd195dc66ca39f1cd7069718377378c2d5 (diff) | |
download | bcfg2-a53e0a5ff809311e4550ca10c3b6a5ad52938cf9.tar.gz bcfg2-a53e0a5ff809311e4550ca10c3b6a5ad52938cf9.tar.bz2 bcfg2-a53e0a5ff809311e4550ca10c3b6a5ad52938cf9.zip |
add extra config info to stats for node reports
(Logical change 1.331)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1353 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'reports')
-rw-r--r-- | reports/xsl-transforms/xsl-transform-includes/html-templates.xsl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl b/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl index 2c8fa67ee..48cd52608 100644 --- a/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl +++ b/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl @@ -16,6 +16,7 @@ <xsl:apply-templates select="Good" /> <xsl:apply-templates select="Bad" /> <xsl:apply-templates select="Modified" /> + <xsl:apply-templates select="Extra" /> </xsl:template> @@ -79,6 +80,30 @@ </div> </xsl:template> + <xsl:template match="Extra"> + <div class="extra"> + <span class="nodelisttitle"><a href="javascript:toggleLayer('{generate-id(.)}');" title="Click to Expand" class="commentLink"><xsl:value-of select="count(./*)" /></a> extra configuration elements on node.<br /></span> + + <div class="items" id="{generate-id(.)}"><ul class="plain"> + <xsl:apply-templates select="ConfigFile"> + <xsl:sort select="@name"/> + </xsl:apply-templates> + <xsl:apply-templates select="Directory"> + <xsl:sort select="@name"/> + </xsl:apply-templates> + <xsl:apply-templates select="Package"> + <xsl:sort select="@name"/> + </xsl:apply-templates> + <xsl:apply-templates select="Service"> + <xsl:sort select="@name"/> + </xsl:apply-templates> + <xsl:apply-templates select="SymLink"> + <xsl:sort select="@name"/> + </xsl:apply-templates> + </ul></div> + </div> + </xsl:template> + <xsl:template match="ConfigFile"> <li><b>Config File: </b> <tt><xsl:value-of select="@name"/></tt></li> |