From 058635947a024e68112b7721174c7bc40248aaee Mon Sep 17 00:00:00 2001 From: Joey Hagedorn Date: Mon, 1 Aug 2005 14:57:24 +0000 Subject: (Logical change 1.272) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1105 ce84e21b-d406-0410-9b95-82705330c041 --- reports/web-rprt-srcs/boxypastel.css | 113 +++++++++++++++++++++ reports/web-rprt-srcs/main.js | 21 ++++ reports/xsl-transforms/nodes-digest-email.xsl | 37 +++++++ reports/xsl-transforms/nodes-digest-html.xsl | 75 ++++++++++++++ reports/xsl-transforms/nodes-digest-rss.xsl | 43 ++++++++ reports/xsl-transforms/nodes-individual-email.xsl | 22 ++++ reports/xsl-transforms/overview-stats-email.xsl | 84 +++++++++++++++ reports/xsl-transforms/overview-stats-html.xsl | 110 ++++++++++++++++++++ reports/xsl-transforms/overview-stats-rss.xsl | 91 +++++++++++++++++ .../xsl-transform-includes/html-templates.xsl | 104 +++++++++++++++++++ .../xsl-transform-includes/text-templates.xsl | 85 ++++++++++++++++ 11 files changed, 785 insertions(+) (limited to 'reports') diff --git a/reports/web-rprt-srcs/boxypastel.css b/reports/web-rprt-srcs/boxypastel.css index e69de29bb..bbb2566c9 100644 --- a/reports/web-rprt-srcs/boxypastel.css +++ b/reports/web-rprt-srcs/boxypastel.css @@ -0,0 +1,113 @@ +/* body */ +body { + background-color: #fff; + color: #000; + font: 12px 'Lucida Grande', Arial, Helvetica, sans-serif; + margin-left:25px; + margin-right:100px; + } +/* links */ +a:link { + color: #00f; + text-decoration: none; + } +a:visited { + color: #00a; + text-decoration: none; + } +a:hover { + color: #00a; + text-decoration: underline; + } +a:active { + color: #00a; + text-decoration: underline; + } +/* divs*/ +div.bad { + border: 1px solid #660000; + background: #FF6A6A; + margin: 10px 0; + padding: 8px; + text-align: left; + margin-left:50px; + margin-right:50px; + } +div.modified { + border: 1px solid #CC9900; + background: #FFEC8B; + margin: 10px 0; + padding: 8px; + text-align: left; + margin-left:50px; + margin-right:50px; + } +div.clean { + border: 1px solid #006600; + background: #9AFF9A; + margin: 10px 0; + padding: 8px; + text-align: left; + margin-left:50px; + margin-right:50px; + } +div.warning { + border: 1px solid #CC3300; + background: #FF9933; + margin: 10px 0; + padding: 8px; + text-align: left; + margin-left:50px; + margin-right:50px; + } +div.items { + display: none; + } +div.nodebox { + border: 1px solid #c7cfd5; + background: #f1f5f9; + margin: 20px 0; + padding: 8px; + text-align: left; + position:relative; + } +div.header { + background-color: #DDD; + padding: 8px; + text-indent:50px; + position:relative; + + } + +/*Spans*/ +.nodename { + font-style: italic; + } +.nodelisttitle { + font-size: 14px; + } + +h2 { + font-size: 16px; + color: #000; + } + +ul.plain { + list-style-type:none; + text-align: left; + } + +.notebox { + position: absolute; + top: 0px; + right: 0px; + padding: 1px; + text-indent:0px; + border: 1px solid #FFF; + background: #999; + color: #FFF; + } + +p.indented{ + text-indent: 50px + } diff --git a/reports/web-rprt-srcs/main.js b/reports/web-rprt-srcs/main.js index e69de29bb..e9bbc89f4 100644 --- a/reports/web-rprt-srcs/main.js +++ b/reports/web-rprt-srcs/main.js @@ -0,0 +1,21 @@ +function toggleLayer(whichLayer) + { + if (document.getElementById) + { + // this is the way the standards work + var style2 = document.getElementById(whichLayer).style; + style2.display = style2.display? "":"block"; + } + else if (document.all) + { + // this is the way old msie versions work + var style2 = document.all[whichLayer].style; + style2.display = style2.display? "":"block"; + } + else if (document.layers) + { + // this is the way nn4 works + var style2 = document.layers[whichLayer].style; + style2.display = style2.display? "":"block"; + } + } diff --git a/reports/xsl-transforms/nodes-digest-email.xsl b/reports/xsl-transforms/nodes-digest-email.xsl index e69de29bb..7575b58d4 100644 --- a/reports/xsl-transforms/nodes-digest-email.xsl +++ b/reports/xsl-transforms/nodes-digest-email.xsl @@ -0,0 +1,37 @@ + + + + + + +Subject: BCFG Nightly Errors () + +Subject: BCFG Nightly Good () + + + +Report Run @ + +SUMMARY: + nodes were included in your report. + + All machines are configured to specification. + + nodes are clean. + + + nodes are bad. + + + nodes were modified in the last run. (includes both good and bad nodes) + + + nodes did not run this calendar day. + +DETAILS: + + + + + + \ No newline at end of file diff --git a/reports/xsl-transforms/nodes-digest-html.xsl b/reports/xsl-transforms/nodes-digest-html.xsl index e69de29bb..3031a7a0d 100644 --- a/reports/xsl-transforms/nodes-digest-html.xsl +++ b/reports/xsl-transforms/nodes-digest-html.xsl @@ -0,0 +1,75 @@ + + + + + + + + + <xsl:choose> + <xsl:when test="count(/Report/Node/Statistics/Bad) > 0">BCFG Nightly Errors (<xsl:value-of select="@name" />)</xsl:when> + <xsl:otherwise>BCFG Nightly Errors (<xsl:value-of select="@name" />)</xsl:otherwise> + </xsl:choose> + + + +