summaryrefslogtreecommitdiffstats
path: root/reports/xsl-transforms
diff options
context:
space:
mode:
authorJoey Hagedorn <hagedorn@mcs.anl.gov>2005-11-25 10:01:42 +0000
committerJoey Hagedorn <hagedorn@mcs.anl.gov>2005-11-25 10:01:42 +0000
commit5aac1f7510e5c2a40b4adfa309b1bb6be7fd27ed (patch)
tree92f7d5ccc839ebe274e7a107dcf2b8f1410efe28 /reports/xsl-transforms
parentc5d32c612f0bf73f34620929f81fa169e39b83b4 (diff)
downloadbcfg2-5aac1f7510e5c2a40b4adfa309b1bb6be7fd27ed.tar.gz
bcfg2-5aac1f7510e5c2a40b4adfa309b1bb6be7fd27ed.tar.bz2
bcfg2-5aac1f7510e5c2a40b4adfa309b1bb6be7fd27ed.zip
inline javascript/css and change wording
(Logical change 1.365) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1529 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'reports/xsl-transforms')
-rw-r--r--reports/xsl-transforms/overview-stats-html.xsl12
1 files changed, 7 insertions, 5 deletions
diff --git a/reports/xsl-transforms/overview-stats-html.xsl b/reports/xsl-transforms/overview-stats-html.xsl
index 9fa389367..afcd06de4 100644
--- a/reports/xsl-transforms/overview-stats-html.xsl
+++ b/reports/xsl-transforms/overview-stats-html.xsl
@@ -1,5 +1,7 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns="http://www.w3.org/1999/xhtml">
+ <xsl:include href="xsl-transform-includes/main-js.xsl" />
+ <xsl:include href="xsl-transform-includes/boxypastel-css.xsl" />
<xsl:output method="xml" media-type="text/html" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
<xsl:template match="Report">
<xsl:variable name="cleannodes" select="/Report/Node[count(Statistics/Good)>0]"/>
@@ -13,8 +15,8 @@
<head>
<title><xsl:value-of select="@name" /></title>
- <link rel="stylesheet" type="text/css" href="web-rprt-srcs/boxypastel.css" />
- <script type="text/javascript" src="web-rprt-srcs/main.js" />
+ <xsl:copy-of select="$boxypastel-css" />
+ <xsl:copy-of select="$main-js" />
</head>
<body bgcolor="#ffffff">
<div class="header">
@@ -71,7 +73,7 @@
<xsl:if test="count($stalenodes[count(.|$pingablenodes)= count($pingablenodes)]) > 0">
<div class="warning">
- <span class="nodelisttitle"><a href="javascript:toggleLayer('stalesummary');" title="Click to Expand" class="commentLink"><xsl:value-of select="count($stalenodes[count(.|$pingablenodes)= count($pingablenodes)])" /></a> nodes did not run this calendar day but were pingable.<br /></span>
+ <span class="nodelisttitle"><a href="javascript:toggleLayer('stalesummary');" 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="stalesummary"><ul class="plain">
<xsl:for-each select="Node">
@@ -87,8 +89,8 @@
<xsl:if test="count($unpingablenodes) > 0">
- <div class="warning">
- <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 not pingable.<br /></span>
+ <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>
<div class="items" id="unpingablesummary"><ul class="plain">
<xsl:for-each select="Node">