From 3b3beac5adfa1995a9a4c92fd92a881f024be08e Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Sat, 6 Aug 2011 05:59:32 +0000 Subject: Javascript improvements: add local storage, improve caching using URI fragments instead of query strings, simplify component layout and optimize some of the Javascript functions, and add the ability to clone components. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1154447 13f79535-47bb-0310-9956-ffa450edef68 --- .../trunk/modules/edit/htdocs/account/index.html | 24 +- .../modules/edit/htdocs/app/cache-manifest.cmf | 26 + .../modules/edit/htdocs/app/cache-manifest.cmf.off | 27 - sca-cpp/trunk/modules/edit/htdocs/app/frame.html | 2 +- sca-cpp/trunk/modules/edit/htdocs/app/index.html | 190 +++- sca-cpp/trunk/modules/edit/htdocs/clone/index.html | 34 +- .../trunk/modules/edit/htdocs/create/index.html | 24 +- sca-cpp/trunk/modules/edit/htdocs/data/index.html | 15 +- sca-cpp/trunk/modules/edit/htdocs/graph/graph.js | 1102 +++++++++++--------- sca-cpp/trunk/modules/edit/htdocs/graph/index.html | 138 ++- sca-cpp/trunk/modules/edit/htdocs/index.html | 18 +- sca-cpp/trunk/modules/edit/htdocs/login/index.html | 10 +- .../trunk/modules/edit/htdocs/logout/index.html | 14 +- sca-cpp/trunk/modules/edit/htdocs/menu.js | 8 +- sca-cpp/trunk/modules/edit/htdocs/page/index.html | 103 +- sca-cpp/trunk/modules/edit/htdocs/page/page.js | 166 ++- .../trunk/modules/edit/htdocs/public/iframe.html | 2 +- .../trunk/modules/edit/htdocs/public/notauth.html | 8 +- .../trunk/modules/edit/htdocs/public/notfound.html | 8 +- .../trunk/modules/edit/htdocs/public/notyet.html | 8 +- sca-cpp/trunk/modules/edit/htdocs/public/oops.html | 8 +- sca-cpp/trunk/modules/edit/htdocs/stats/index.html | 33 +- sca-cpp/trunk/modules/edit/htdocs/store/index.html | 45 +- sca-cpp/trunk/modules/edit/log.py | 2 +- sca-cpp/trunk/modules/js/htdocs/all-min.js | 131 +-- sca-cpp/trunk/modules/js/htdocs/component.js | 212 +++- sca-cpp/trunk/modules/js/htdocs/elemutil.js | 39 +- sca-cpp/trunk/modules/js/htdocs/ui-min.css | 63 +- sca-cpp/trunk/modules/js/htdocs/ui.css | 133 ++- sca-cpp/trunk/modules/js/htdocs/ui.js | 172 ++- sca-cpp/trunk/modules/js/htdocs/util.js | 69 +- 31 files changed, 1801 insertions(+), 1033 deletions(-) create mode 100644 sca-cpp/trunk/modules/edit/htdocs/app/cache-manifest.cmf delete mode 100644 sca-cpp/trunk/modules/edit/htdocs/app/cache-manifest.cmf.off diff --git a/sca-cpp/trunk/modules/edit/htdocs/account/index.html b/sca-cpp/trunk/modules/edit/htdocs/account/index.html index d83ca4562b..ef1deb0527 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/account/index.html +++ b/sca-cpp/trunk/modules/edit/htdocs/account/index.html @@ -17,7 +17,7 @@ * specific language governing permissions and limitations * under the License. --> - + Account @@ -28,8 +28,8 @@ - -
+ +
@@ -97,13 +97,18 @@ - -
+ +
@@ -45,6 +45,8 @@ document.title = window.location.hostname.split('.')[0];
- -
+ +
@@ -62,15 +62,17 @@ Description: - - + + - -
+ +
@@ -60,13 +60,15 @@ Description: - - + + diff --git a/sca-cpp/trunk/modules/edit/htdocs/data/index.html b/sca-cpp/trunk/modules/edit/htdocs/data/index.html index 1f583adc3b..23b8668ce4 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/data/index.html +++ b/sca-cpp/trunk/modules/edit/htdocs/data/index.html @@ -17,7 +17,7 @@ * specific language governing permissions and limitations * under the License. --> - + View - +
@@ -39,8 +39,10 @@ document.title = 'View - ' + window.location.hostname.split('.')[0] + '/' + cn;
- -
+ +
+ + - - + +

Saved

Saved
- +
- + +
+
+ + + + -
- + -- + +- -+ +c -> - ++ + +> +
-
-