diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-30 18:58:26 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-30 18:58:26 +0000 |
commit | 4723a495f0682128a612aa0c59414214a6316554 (patch) | |
tree | b5a8982afd3db6109bc3ebc0fe9dd40f37895d47 /java/sca/modules/domain-manager/src/main/resources/files.html | |
parent | 5b25a38af216bbf60a0804068678849dca338ff7 (diff) |
Simplified how widgets get loaded in the domain manager UI iframes. Moved some of the header text from the widgets to the main pages, as in a mashup you don't need these headers in each widget.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@681176 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | java/sca/modules/domain-manager/src/main/resources/files.html | 46 |
1 files changed, 10 insertions, 36 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 71b543477a..87f6a0469e 100644 --- a/java/sca/modules/domain-manager/src/main/resources/files.html +++ b/java/sca/modules/domain-manager/src/main/resources/files.html @@ -20,45 +20,19 @@ <head> <title>SCA Domain - Contribution File Server</title> -<script type="text/javascript" src="../files/files.js"></script> - -<script language="JavaScript"> - - //@Reference - var toolbarGadget = new Reference("toolbarGadget"); - - //@Reference - var filesGadget = new Reference("filesGadget"); - - function toolbarGadget_getResponse(html) { - var gadget = document.getElementById('toolbarGadget'); - var content = gadget.contentWindow.document; - content.open(); - content.write(html); - content.close(); - } - - function filesGadget_getResponse(html) { - var gadget = document.getElementById('filesGadget'); - var content = gadget.contentWindow.document; - content.open(); - content.write(html); - content.close(); - } - - function init() { - toolbarGadget.get('', toolbarGadget_getResponse); - filesGadget.get('', filesGadget_getResponse); - } - -</script> - <link rel="stylesheet" type="text/css" href="manager.css"> </head> -<body onload="init()"> - <iframe id="toolbarGadget" style="top: 0px; left: 0px; width: 100%;"></iframe> +<body> + <iframe id="toolbarGadget" src="toolbar-gadget.html" style="top: 0px; left: 0px; width: 100%;"></iframe> + <br><br> + + <span class=hd1> + SCA Domain<br><br> + File Server <a href="/feed/files/"><img src="icons/feed-icon.png" border="0"></a> + </span> <br> - <iframe id="filesGadget" style="left: 0px; width: 100%; height: 100%;"></iframe> + + <iframe id="filesGadget" src="files-gadget.html" style="left: 0px; width: 100%; height: 100%;"></iframe> </body> </html> |