summaryrefslogtreecommitdiffstats
path: root/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl
diff options
context:
space:
mode:
authorJoey Hagedorn <hagedorn@mcs.anl.gov>2006-04-04 20:35:56 +0000
committerJoey Hagedorn <hagedorn@mcs.anl.gov>2006-04-04 20:35:56 +0000
commit40b7d470cb03ac18115d45a089d56d0552b8e145 (patch)
treed3cbcbb28c407eff2b0885471e5626ca92674916 /reports/xsl-transforms/xsl-transform-includes/html-templates.xsl
parentdc4a28c0bb59edc9385d6860ed1b7defeeacde42 (diff)
downloadbcfg2-40b7d470cb03ac18115d45a089d56d0552b8e145.tar.gz
bcfg2-40b7d470cb03ac18115d45a089d56d0552b8e145.tar.bz2
bcfg2-40b7d470cb03ac18115d45a089d56d0552b8e145.zip
Updated documentation for Reports.
Added Subversion Revision Info to nodes-digest and overview-stats HTML reports added new report type with table of machines called overview-matrix-www git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1824 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'reports/xsl-transforms/xsl-transform-includes/html-templates.xsl')
-rw-r--r--reports/xsl-transforms/xsl-transform-includes/html-templates.xsl14
1 files changed, 13 insertions, 1 deletions
diff --git a/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl b/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl
index 7e9e08055..6e358df8b 100644
--- a/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl
+++ b/reports/xsl-transforms/xsl-transform-includes/html-templates.xsl
@@ -6,7 +6,19 @@
<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="Client/@name" /></span></h2>
+
+ <table class="invisitable">
+ <tr><td width="43%"><h2>Node: <span class="nodename"><xsl:value-of select="Client/@name" /></span></h2></td>
+ <td width="23%"><xsl:if test="Statistics/@revision &gt; -1" > Revision: <xsl:value-of select="Statistics/@revision" /></xsl:if></td>
+
+
+ <td width="33%"><div class="statusborder">
+ <div class="greenbar" style="width: {((Statistics/@good) div (Statistics/@total))*100}%;"><xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text></div>
+ <div class="redbar" style="width: {(((Statistics/@total)-(Statistics/@good)) div (Statistics/@total))*100}%;"><xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text></div>
+ </div>
+ </td></tr>
+ </table>
+
<xsl:apply-templates select="Statistics" />
</div>
</xsl:if>