summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/hosting/server/htdocs/store/index.html
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2013-02-11 05:48:20 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2013-02-11 05:48:20 +0000
commit4951c1b04bf66f81cf648b76af3795245d56381a (patch)
tree7e6182a46d4d246716438cdb9ecd4480ef3d4b65 /sca-cpp/trunk/hosting/server/htdocs/store/index.html
parent5c0eab60028407c84e2fee6a4fa1fbc03716d1d2 (diff)
Improvements to the app management UI.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1444660 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/hosting/server/htdocs/store/index.html')
-rw-r--r--sca-cpp/trunk/hosting/server/htdocs/store/index.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/sca-cpp/trunk/hosting/server/htdocs/store/index.html b/sca-cpp/trunk/hosting/server/htdocs/store/index.html
index 57920ede2e..b64e3de1ba 100644
--- a/sca-cpp/trunk/hosting/server/htdocs/store/index.html
+++ b/sca-cpp/trunk/hosting/server/htdocs/store/index.html
@@ -50,8 +50,7 @@
var categories = [
['Featured', 'featured', 1],
['Top', 'top', 2],
- //['New', 'new', 3],
- //['Search', 'all', 4],
+ ['New', 'new', 3],
['My Apps', 'myapps', 5]
];
@@ -83,7 +82,7 @@ $('viewhead').innerHTML = (function catmenu() {
var m = '';
map(function(c) { m += catmenuitem(car(c), cadr(c), caddr(c)); }, categories);
- m += '<span class="rmenu"><input type="button" class="bluebutton" id="createApp" title="Create a new app" Value="Create"/></span>';
+ m += '<input type="button" class="bluebutton" id="createApp" style="position: absolute; top: 4px; right: 2px;" title="Create a new app" Value="Create"/>';
return m;
})();
@@ -113,9 +112,9 @@ function viewapp(appname) {
/**
* Create an app.
*/
-$('createApp').onclick = function() {
+ui.onclick($('createApp'), function(e) {
return ui.navigate('/#view=create', '_view');
-};
+});
/**
* Get and display an app icon.