From 608b81cdaae88392dcec0bcde2ec9b8fb4ace634 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 31 Jan 2011 03:57:57 +0000 Subject: Minor stylesheet changes. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1065479 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/edit/htdocs/app/index.html | 5 +-- .../trunk/modules/edit/htdocs/dash/dashboard.html | 5 +-- sca-cpp/trunk/modules/edit/htdocs/dash/index.html | 3 +- sca-cpp/trunk/modules/edit/htdocs/index.html | 15 ++------ sca-cpp/trunk/modules/edit/htdocs/main.html | 42 ++++++++++++++++++++++ sca-cpp/trunk/modules/edit/start | 8 +++++ 6 files changed, 56 insertions(+), 22 deletions(-) create mode 100644 sca-cpp/trunk/modules/edit/htdocs/main.html (limited to 'sca-cpp/trunk/modules/edit') diff --git a/sca-cpp/trunk/modules/edit/htdocs/app/index.html b/sca-cpp/trunk/modules/edit/htdocs/app/index.html index ee07b5d4b7..f5f11137ec 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/app/index.html +++ b/sca-cpp/trunk/modules/edit/htdocs/app/index.html @@ -51,10 +51,7 @@ function editapp(name) { if (isNil(name)) return; $('title').innerHTML = 'Editing: ' + name; - $('app').innerHTML = - ''; + ui.loadiframe('app', 'app.html?app=' + name); } // Display the editor for the current app diff --git a/sca-cpp/trunk/modules/edit/htdocs/dash/dashboard.html b/sca-cpp/trunk/modules/edit/htdocs/dash/dashboard.html index 29de0e396a..0339f3fa76 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/dash/dashboard.html +++ b/sca-cpp/trunk/modules/edit/htdocs/dash/dashboard.html @@ -58,9 +58,6 @@ @@ -38,7 +39,7 @@ ui.loadwidget('menu', '/menu.html'); // Load the dashboard -ui.loadwidget('dashboard', 'dashboard.html'); +ui.loadiframe('dashboard', 'dashboard.html'); diff --git a/sca-cpp/trunk/modules/edit/htdocs/index.html b/sca-cpp/trunk/modules/edit/htdocs/index.html index d0736ba295..d47031fa7e 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/index.html +++ b/sca-cpp/trunk/modules/edit/htdocs/index.html @@ -31,22 +31,11 @@

App Edit Tools

-

This module implements simple tools to help you create Tuscany apps.

- -

App Dashboard

-

Try the App Dashboard to manage your collection of apps.

- -

App Editor

-

Try the App Editor to edit an app.

- -

Composition Editor

-

Try the Composition Editor to compose an app.

- -

Page Editor

-

Try the Page Editor to draw an app page.

+
diff --git a/sca-cpp/trunk/modules/edit/htdocs/main.html b/sca-cpp/trunk/modules/edit/htdocs/main.html new file mode 100644 index 0000000000..a9f074c8ae --- /dev/null +++ b/sca-cpp/trunk/modules/edit/htdocs/main.html @@ -0,0 +1,42 @@ + + + + + + + + + +

This module implements simple tools to help you create Tuscany apps.

+ +

App Dashboard

+

Try the App Dashboard to manage your collection of apps.

+ +

App Editor

+

Try the App Editor to edit an app.

+ +

Composition Editor

+

Try the Composition Editor to compose an app.

+ +

Page Editor

+

Try the Page Editor to draw an app page.

+ + + diff --git a/sca-cpp/trunk/modules/edit/start b/sca-cpp/trunk/modules/edit/start index 7750571423..25adffb948 100755 --- a/sca-cpp/trunk/modules/edit/start +++ b/sca-cpp/trunk/modules/edit/start @@ -17,7 +17,15 @@ # specific language governing permissions and limitations # under the License. +here=`readlink -f $0`; here=`dirname $here` +jsprefix=`readlink -f $here/../js` + ../http/httpd-conf tmp localhost 8090 htdocs +cat >>tmp/conf/httpd.conf <>tmp/conf/httpd.conf <