diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-10-29 17:47:19 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-10-29 17:47:19 +0000 |
commit | d1146122184e153e1fac944eafe3535274859ca0 (patch) | |
tree | 368b450c8be8f42eeb13a071f6bce9fcc61ec91f /sca-cpp/trunk/modules/edit/htdocs/store | |
parent | 11adbc1719db790bd485f4f511b2740c151e5872 (diff) |
Better network connectivity status reporting and handling of orientation change events.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1194948 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/edit/htdocs/store')
-rw-r--r-- | sca-cpp/trunk/modules/edit/htdocs/store/index.html | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sca-cpp/trunk/modules/edit/htdocs/store/index.html b/sca-cpp/trunk/modules/edit/htdocs/store/index.html index 1a04b406ac..e82d675f22 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/store/index.html +++ b/sca-cpp/trunk/modules/edit/htdocs/store/index.html @@ -20,7 +20,10 @@ <div id="bodydiv" class="bodydiv"> <table style="width: 100%;"> -<tr><td><h2><span id="h1"></span></h2></td></tr> +<tr> +<td><h2><span id="h1"></span></h2></td> +<td style="vertical-align: middle; text-align: right;"><span id="status" style="font-weight: bold; color: #808080;"></span></td> +</tr> </table> <div id="catmenu"></div> @@ -115,11 +118,16 @@ if (category == 'myapps') { */ function getapps(category) { //log('category', category); + showStatus('Loading'); + function display(doc) { // Stop now if we didn't get the apps - if (doc == null) + if (doc == null) { + showStatus('No data'); return false; + } + showStatus(defaultStatus()); var apps = '<div>'; var feed = car(elementsToValues(atom.readATOMFeed(mklist(doc)))); |