summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/domain-manager/src/main/resources/files.html
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2008-07-31 08:04:20 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2008-07-31 08:04:20 +0000
commit34f92700da268b74b52aa3f2b6c9e1e2da6ad591 (patch)
treef1521730f8d1713a46aa84f206d25e8506769412 /java/sca/modules/domain-manager/src/main/resources/files.html
parentf47f6707497e8645da513d6abbe9fe280e0b7fe2 (diff)
Improved the Domain Manager widgets to use HTML divs for presentation and iframes for script isolation. This provides better control and performance of the layout while preserving isolation between the scripts of the individual widgets.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@681295 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--java/sca/modules/domain-manager/src/main/resources/files.html24
1 files changed, 21 insertions, 3 deletions
diff --git a/java/sca/modules/domain-manager/src/main/resources/files.html b/java/sca/modules/domain-manager/src/main/resources/files.html
index 87f6a0469e..defcaae9be 100644
--- a/java/sca/modules/domain-manager/src/main/resources/files.html
+++ b/java/sca/modules/domain-manager/src/main/resources/files.html
@@ -20,19 +20,37 @@
<head>
<title>SCA Domain - Contribution File Server</title>
+<script type="text/javascript" src="utils.js"></script>
+
<link rel="stylesheet" type="text/css" href="manager.css">
</head>
<body>
- <iframe id="toolbarGadget" src="toolbar-gadget.html" style="top: 0px; left: 0px; width: 100%;"></iframe>
- <br><br>
+ <div id="toolbarGadgetDiv"></div>
+ <br>
<span class=hd1>
SCA Domain<br><br>
File Server&nbsp;<a href="/feed/files/"><img src="icons/feed-icon.png" border="0"></a>
</span>
<br>
+ This is a simple ATOM-based file server useful to share files if you don't have an FTP, SVN or Maven repository.
+ <br><br>
+
+ <div id="filesGadgetDiv"></div>
- <iframe id="filesGadget" src="files-gadget.html" style="left: 0px; width: 100%; height: 100%;"></iframe>
+ <iframe id="toolbarGadget" src="toolbar-gadget.html"></iframe>
+ <iframe id="filesGadget" src="files-gadget.html"></iframe>
</body>
+
+<script type="text/javascript">
+ function ongadget(win, doc) {
+ if (doc == content(toolbarGadget)) {
+ toolbarGadgetDiv.innerHTML = doc.body.innerHTML;
+ } else if (doc == content(filesGadget)) {
+ filesGadgetDiv.innerHTML = doc.body.innerHTML;
+ }
+ return document;
+ }
+</script>
</html>