[z3-checkins] r30173 - in z3/deliverance/branches/namespaced: etc themes/spiral themes/spiral/fwfiles
paul at codespeak.net
paul at codespeak.net
Tue Jul 18 16:20:25 CEST 2006
Author: paul
Date: Tue Jul 18 16:20:22 2006
New Revision: 30173
Modified:
z3/deliverance/branches/namespaced/etc/appmap.xml
z3/deliverance/branches/namespaced/themes/spiral/fwfiles/shell-bg.css
z3/deliverance/branches/namespaced/themes/spiral/spiral.js
z3/deliverance/branches/namespaced/themes/spiral/spiraltheme.html
Log:
Updates to have a spiral theme
Modified: z3/deliverance/branches/namespaced/etc/appmap.xml
==============================================================================
--- z3/deliverance/branches/namespaced/etc/appmap.xml (original)
+++ z3/deliverance/branches/namespaced/etc/appmap.xml Tue Jul 18 16:20:22 2006
@@ -3,6 +3,7 @@
<layouts>
<layout>
<theme>
+ <xi:include href="../themes/spiral/spiraltheme.html"/>
<xi:include href="../themes/simple/sampletheme.xml"/>
</theme>
<xi:include href="themerules.xml"/>
@@ -11,12 +12,4 @@
<xi:include href="../themecompiler.xsl"/>
</compiler>
</layouts>
- <contentspace>
- <content>
- <xi:include href="themecontent.xml"/>
- </content>
- <generator>
- <xi:include href="../renderer.xsl"/>
- </generator>
- </contentspace>
</appmap>
Modified: z3/deliverance/branches/namespaced/themes/spiral/fwfiles/shell-bg.css
==============================================================================
--- z3/deliverance/branches/namespaced/themes/spiral/fwfiles/shell-bg.css (original)
+++ z3/deliverance/branches/namespaced/themes/spiral/fwfiles/shell-bg.css Tue Jul 18 16:20:22 2006
@@ -1 +1 @@
-body {background: black url(shell-bg.jpg) 0 0 no-repeat fixed;}
div#content {background: #468 url(shell-blue.jpg) 0 0 no-repeat fixed;}
div#links a {background: transparent url(shell-fade.jpg) 0 0 no-repeat fixed;}
div#links a:hover {background: transparent url(shell-wash.jpg) 0 0 no-repeat fixed;}
\ No newline at end of file
+body {background: black url(shell-bg.jpg) 0 0 no-repeat fixed;}
div#content {background: #468 url(shell-blue.jpg) 0 0 no-repeat fixed;}
div#links a {background: transparent url(shell-fade.jpg) 0 0 no-repeat fixed;}
Modified: z3/deliverance/branches/namespaced/themes/spiral/spiral.js
==============================================================================
--- z3/deliverance/branches/namespaced/themes/spiral/spiral.js (original)
+++ z3/deliverance/branches/namespaced/themes/spiral/spiral.js Tue Jul 18 16:20:22 2006
@@ -1,81 +1,3 @@
var pu = null; // Global object
-function PageUpdater () {
-
- this.xmlurl = "../reports/requirementsclean.xml";
- this.xslurl = "../reports/requirementsreport.xsl";
-
- this.xmldoc = new MochiXML();
- this.xsldoc = new MochiXML();
-}
-
-PageUpdater.prototype.init = function () {
-
- var d1 = this.xsldoc.loadURL(this.xslurl);
- var d2 = this.xmldoc.loadURL(this.xmlurl);
-
- d1.addCallback(bind(this.makeprocessor, this))
- d2.addCallback(bind(this.dataLoaded, this));
-
-}
-
-
-PageUpdater.prototype.dataLoaded = function () {
- var log = getElement("log");
- log.firstChild.nodeValue = "Finished loading";
-}
-
-
-PageUpdater.prototype.makeprocessor = function () {
- this.processor = new XSLTProcessor();
- this.processor.importStylesheet(this.xsldoc.xmldoc);
-}
-
-PageUpdater.prototype.redraw = function (req) {
-
- var isIE = document.all && window.ActiveXObject && navigator.userAgent.toLowerCase().indexOf("msie") > -1 && navigator.userAgent.toLowerCase().indexOf("opera") == -1;
- var input = this.xmldoc.xmldoc.documentElement;
- var target = document.getElementById("content");
- //Sarissa.updateContentFromNode(input, target, this.processor, false);
- //return;
- var newDocument = this.processor.transformToDocument(input);
- if (isIE) {
- var newdiv = newDocument.documentElement;
- alert(newdiv.innerHTML);
- } else {
- var nn = document.importNode(newDocument.documentElement, true);
- //alert(Sarissa.serialize(nn).substring(0,100));
- //Sarissa.copyChildNodes(nn, target);
- target.innerHTML = nn.innerHTML;
- }
-
- return;
-}
-
-function clickCancel (e) {
- e.stop();
- var target = e.target();
- var reportname = target.getAttribute("href");
- pu.xmldoc.xmldoc.documentElement.setAttribute("view", reportname);
- pu.redraw();
- return false;
-}
-
-
-function redraw () {
- pu.redraw();
-}
-
-function main() {
- var linkbox = document.getElementById("links");
- var links = iter(linkbox.getElementsByTagName("a"));
- forEach(links, function cancelClick (link) {
- connect(link, "onclick", clickCancel)
- });
-
- pu = new PageUpdater();
- pu.init();
-}
-
-connect(window, "onload", main);
\ No newline at end of file
Modified: z3/deliverance/branches/namespaced/themes/spiral/spiraltheme.html
==============================================================================
--- z3/deliverance/branches/namespaced/themes/spiral/spiraltheme.html (original)
+++ z3/deliverance/branches/namespaced/themes/spiral/spiraltheme.html Tue Jul 18 16:20:22 2006
@@ -8,17 +8,16 @@
<!--[if lt IE 7]><script src="../themes/spiral/IE7/ie7-standard-p.js" type="text/javascript"></script><![endif]-->
<link href="../themes/spiral/fwfiles/shell-bg.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="../themes/spiral/spiral.css" rel="stylesheet" type="text/css" media="screen"/>
- <script src="../themes/spiral/MochiKit/MochiKit.js" type="text/javascript">//</script>
<script src="../themes/spiral/sarissa.js" type="text/javascript">//</script>
- <script src="../themes/spiral/mochixml.js" type="text/javascript">//</script>
<script src="../themes/spiral/spiral.js" type="text/javascript">//</script>
</head>
<body>
<div id="sidebar">
<h2 id="siteheading">Spiral</h2>
<div id="links">
- <a href="">My Startpage</a>
- <a href="">My Teams</a>
+ <a href="index.html">Home</a>
+ <a href="intro.html">About Deliverance</a>
+ <a href="intro.html?notheme=1">Unthemed Home</a>
<a href="requirements">Requirements</a>
<a href="people">People</a>
<div id="log" style="display: none">Loading...</div>
More information about the z3-checkins
mailing list