From 093d169f38327c96964f9a42bc8fcd8f9eb32179 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Sun, 27 Mar 2011 21:58:51 +0000 Subject: HTML cleanup, improve layout on different browsers, iOS and android devices and add robots.txt and some icons. Support execution and preview of components from the edit pages. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1086046 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/edit/htdocs/public/app.png | Bin 635 -> 258 bytes sca-cpp/trunk/modules/edit/htdocs/public/app.xcf | Bin 0 -> 1294 bytes .../trunk/modules/edit/htdocs/public/iframe.html | 32 +++++++++++++++++++++ sca-cpp/trunk/modules/edit/htdocs/public/img.png | Bin 0 -> 368 bytes sca-cpp/trunk/modules/edit/htdocs/public/img.xcf | Bin 0 -> 1639 bytes .../trunk/modules/edit/htdocs/public/notauth.html | 26 ++++++++++------- .../trunk/modules/edit/htdocs/public/notfound.html | 20 ++++++++----- sca-cpp/trunk/modules/edit/htdocs/public/oops.html | 18 ++++++++---- .../trunk/modules/edit/htdocs/public/touchicon.png | Bin 0 -> 606 bytes .../trunk/modules/edit/htdocs/public/touchicon.xcf | Bin 0 -> 3400 bytes 10 files changed, 73 insertions(+), 23 deletions(-) create mode 100644 sca-cpp/trunk/modules/edit/htdocs/public/app.xcf create mode 100644 sca-cpp/trunk/modules/edit/htdocs/public/iframe.html create mode 100644 sca-cpp/trunk/modules/edit/htdocs/public/img.png create mode 100644 sca-cpp/trunk/modules/edit/htdocs/public/img.xcf create mode 100644 sca-cpp/trunk/modules/edit/htdocs/public/touchicon.png create mode 100644 sca-cpp/trunk/modules/edit/htdocs/public/touchicon.xcf (limited to 'sca-cpp/trunk/modules/edit/htdocs/public') diff --git a/sca-cpp/trunk/modules/edit/htdocs/public/app.png b/sca-cpp/trunk/modules/edit/htdocs/public/app.png index bae5415d0c..d3bf372316 100644 Binary files a/sca-cpp/trunk/modules/edit/htdocs/public/app.png and b/sca-cpp/trunk/modules/edit/htdocs/public/app.png differ diff --git a/sca-cpp/trunk/modules/edit/htdocs/public/app.xcf b/sca-cpp/trunk/modules/edit/htdocs/public/app.xcf new file mode 100644 index 0000000000..741b7ff43f Binary files /dev/null and b/sca-cpp/trunk/modules/edit/htdocs/public/app.xcf differ diff --git a/sca-cpp/trunk/modules/edit/htdocs/public/iframe.html b/sca-cpp/trunk/modules/edit/htdocs/public/iframe.html new file mode 100644 index 0000000000..140ff48b8b --- /dev/null +++ b/sca-cpp/trunk/modules/edit/htdocs/public/iframe.html @@ -0,0 +1,32 @@ + + + +frame + + + + + + + +
frame ...
+ + + diff --git a/sca-cpp/trunk/modules/edit/htdocs/public/img.png b/sca-cpp/trunk/modules/edit/htdocs/public/img.png new file mode 100644 index 0000000000..42fcce9212 Binary files /dev/null and b/sca-cpp/trunk/modules/edit/htdocs/public/img.png differ diff --git a/sca-cpp/trunk/modules/edit/htdocs/public/img.xcf b/sca-cpp/trunk/modules/edit/htdocs/public/img.xcf new file mode 100644 index 0000000000..ffcc124584 Binary files /dev/null and b/sca-cpp/trunk/modules/edit/htdocs/public/img.xcf differ diff --git a/sca-cpp/trunk/modules/edit/htdocs/public/notauth.html b/sca-cpp/trunk/modules/edit/htdocs/public/notauth.html index f49c914057..a4c808deb7 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/public/notauth.html +++ b/sca-cpp/trunk/modules/edit/htdocs/public/notauth.html @@ -18,7 +18,7 @@ --> -App Edit - Sorry +Sorry @@ -29,20 +29,27 @@ - - -

App Edit

+


+
Sorry, you're not authorized to view this page.
+
+ - diff --git a/sca-cpp/trunk/modules/edit/htdocs/public/notfound.html b/sca-cpp/trunk/modules/edit/htdocs/public/notfound.html index 980d1e1960..a69cd7dd6e 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/public/notfound.html +++ b/sca-cpp/trunk/modules/edit/htdocs/public/notfound.html @@ -18,7 +18,7 @@ --> -App Edit - Page not found +Page not found @@ -29,16 +29,22 @@ +

+
+ +
Sorry, that page was not found.
+
You may have clicked an expired link or mistyped the address.
+ +if (!issubdomain(window.location.hostname)) + ui.loadwidget('menu', '/menu.html', ui.showbody); -

App Edit

-
-
Sorry, that page was not found.
-
You may have clicked an expired link or mistyped the address.
+$('h1').innerHTML = domaintitle(window.location.hostname); + +ui.showbody(); + diff --git a/sca-cpp/trunk/modules/edit/htdocs/public/oops.html b/sca-cpp/trunk/modules/edit/htdocs/public/oops.html index f4f23d2f60..e7e5085db5 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/public/oops.html +++ b/sca-cpp/trunk/modules/edit/htdocs/public/oops.html @@ -18,7 +18,7 @@ --> -App Edit - Oops +Oops @@ -29,15 +29,21 @@ +

+
+ +
Oops, something went wrong...
+ +if (!issubdomain(window.location.hostname)) + ui.loadwidget('menu', '/menu.html', ui.showbody); -

App Edit

-
-
Oops, something went wrong...
+$('h1').innerHTML = domaintitle(window.location.hostname); + +ui.showbody(); + diff --git a/sca-cpp/trunk/modules/edit/htdocs/public/touchicon.png b/sca-cpp/trunk/modules/edit/htdocs/public/touchicon.png new file mode 100644 index 0000000000..f22c33d2a0 Binary files /dev/null and b/sca-cpp/trunk/modules/edit/htdocs/public/touchicon.png differ diff --git a/sca-cpp/trunk/modules/edit/htdocs/public/touchicon.xcf b/sca-cpp/trunk/modules/edit/htdocs/public/touchicon.xcf new file mode 100644 index 0000000000..fc713b478b Binary files /dev/null and b/sca-cpp/trunk/modules/edit/htdocs/public/touchicon.xcf differ -- cgit v1.2.3