diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-02 10:04:44 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-02 10:04:44 +0000 |
commit | f07b324e6f0f2edb71c4dc1d6b63e8a3743c48a6 (patch) | |
tree | f9c59fa81f2d56b87066fc54b9b553ac4c43fd35 /sca-cpp/trunk/modules/edit/htdocs/dash | |
parent | d8df0d6da27ac9c4c61863bc7700db7a871ae8d4 (diff) |
Support for wiring and unwiring references.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1066399 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-cpp/trunk/modules/edit/htdocs/dash/dashboard.html | 16 | ||||
-rw-r--r-- | sca-cpp/trunk/modules/edit/htdocs/dash/index.html | 11 |
2 files changed, 14 insertions, 13 deletions
diff --git a/sca-cpp/trunk/modules/edit/htdocs/dash/dashboard.html b/sca-cpp/trunk/modules/edit/htdocs/dash/dashboard.html index 0339f3fa76..5b5d758f31 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/dash/dashboard.html +++ b/sca-cpp/trunk/modules/edit/htdocs/dash/dashboard.html @@ -28,13 +28,12 @@ <script type="text/javascript" src="/component.js"></script> </head> <body> -<div id="dashboard"> -<form id="appsForm"> +<div style="position: absolute; top: 0px; left: 0px; right: 0px;"> + <div id="apps"></div> <br/> <input type="button" id="createAppButton" value="Create App"/> -</form> <div id="newApp" style="visibility: hidden;"> <form id="newAppForm"> @@ -48,10 +47,12 @@ <tr><td><b>App Name:</b></td></tr> <tr><td><input type="text" id="appName" size="10"/></td></tr> <tr><tr><td><b>App Title:</b></td></tr> -<tr><td><input type="text" id="appTitle" size="20"/></td></tr> -</table> +<tr><td><input type="text" id="appTitle" size="30"/></td></tr> +<tr><td> <input id="createAppOKButton" type="button" style="font-weight: bold;" value="Create"/> <input id="createAppCancelButton" type="button" value="Cancel"/> +</td></tr> +</table> </form> </div> @@ -67,8 +68,7 @@ var dashboard = sca.reference(editWidget, "dashboard"); */ function getapps(sync) { function display(doc) { - var apps = ''; - apps += '<table width="100%">'; + var apps = '<table width="100%">'; apps += '<tr><th>App</th><th>Title</th></tr>'; var entries = cddr(atom.readATOMFeedDocument(doc)); @@ -142,7 +142,7 @@ $('createAppCancelButton').onclick = function() { */ /* $('deleteAppLink').onclick = function() { - var apps = $('appsForm').apps; + var apps = $('apps'); if (isNil(apps)) return false; if (isNil(apps.length)) diff --git a/sca-cpp/trunk/modules/edit/htdocs/dash/index.html b/sca-cpp/trunk/modules/edit/htdocs/dash/index.html index d84424e96e..d3add792d6 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/dash/index.html +++ b/sca-cpp/trunk/modules/edit/htdocs/dash/index.html @@ -29,14 +29,15 @@ <body> <div id="menu"></div> -<br/> -<h1>Welcome to your App Dashboard!</h1> -<br/> -<div id="dashboard"></div> - <script type="text/javascript"> + // Load the menu bar ui.loadwidget('menu', '/menu.html'); +</script> + +<div id="dashboard"></div> + +<script type="text/javascript"> // Load the dashboard ui.loadiframe('dashboard', 'dashboard.html'); |