diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-06 01:06:46 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-06 01:06:46 +0000 |
commit | 3e1309dbb69d64d91c328763c7a2dd4a6bcf9427 (patch) | |
tree | 4383fcd49cfe9ca131c34a2efd8d69e911b4aeed /sca-cpp/trunk/modules/edit/htdocs/app/app.html | |
parent | ce4092ca7f7e16a9a9b9b67da22055012e895c25 (diff) |
Support for changing component names and properties, and some edit improvements.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1067563 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-cpp/trunk/modules/edit/htdocs/app/app.html | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/sca-cpp/trunk/modules/edit/htdocs/app/app.html b/sca-cpp/trunk/modules/edit/htdocs/app/app.html index 7a6330102a..7d95dcdd63 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/app/app.html +++ b/sca-cpp/trunk/modules/edit/htdocs/app/app.html @@ -29,18 +29,31 @@ </head> <body> -<div style="position: absolute; top: 0px; left: 0px; right: 0px;"> +<div id="bodydiv" style="position: absolute; top: 0px; left: 0px; right: 0px;"> -<table width="100%"> -<tr><th><span id="appname"></span><span style="padding-top: 0px; padding-bottom:0px; position: absolute; top: 2px; right: 8px;"><input type="button" id="saveButton" style="font-weight: bold;" Value="Save"/></span></th></tr> +<table style="width: 100%;"> +<tr> +<th class="thl thr">Properties</th> + +<th class="thl thr" style="padding-top: 0px; padding-bottom: 0px; padding-right: 0px; text-align: right;"> +<span id="source" style="font-weight: normal;">[atom]</span> +<input type="button" id="saveButton" style="font-weight: bold;" Value="Save"/> +</th> +</tr> </table> <br> <div> <form id="appForm"> -<table width="100%"> +<table style="width: 100%;"> <tr><tr><td><b>App Title:</b></td></tr> <tr><td><input type="text" id="appTitle" size="30"/></td></tr> +<tr><tr><td><b>Category:</b></td></tr> +<tr><td><input type="text" id="appCategory" size="15" value="Cool Apps"/></td></tr> +<tr><tr><td><b>Updated:</b></td></tr> +<tr><td><span id="appUpdated">Feb 4, 2011</span></td></tr> +<tr><tr><td><b>Description:</b></td></tr> +<tr><td><textarea id="appDescription" cols="30" rows="5">Enter a short description of your app here</textarea></td></tr> </table> </form> </div> @@ -48,6 +61,7 @@ </div> <script type="text/javascript"> +if (ui.isIE()) $('bodydiv').style.right = -20; // Init service references var editWidget = sca.component("EditWidget"); @@ -57,7 +71,7 @@ var dashboard = sca.reference(editWidget, "dashboard"); * The current app name. */ var appname = ui.queryParams()['app']; -$('appname').innerHTML = 'App: ' + appname; +$('source').innerHTML = '[<a href="/apps/' + appname + '">atom</a>]'; /** * Get and display an app. |