http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/12342668/usage/jsgui/src/main/webapp/assets/mobile/css/mobile.css
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/main/webapp/assets/mobile/css/mobile.css 
b/usage/jsgui/src/main/webapp/assets/mobile/css/mobile.css
deleted file mode 100644
index 8ddaf8a..0000000
--- a/usage/jsgui/src/main/webapp/assets/mobile/css/mobile.css
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *  http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
-*/
-.poweredLogo{
-       width:150px;
-       height:28px;
-       float:right;
-       margin: 20px 20px;
-       
content:url("/assets/mobile/images/Powered-by-Cloudsoft-AMP-Logo-on-blue.png");
-}
-
-.navbar-absolute-bottom{
-       border-top-width: 0px;
-}
-
-.navbar-app{
-       color:#419641;
-}
-.list-group-item a{
-       color:#666;
-}
-
-.navbar-app .btn, .navbar-app .btn-navbar{
-       color:#777;
-}
-
-.sidebar-left{
-       background: none repeat scroll 0 0 #555;
-}
-
-.navbar-footer{
-       background: none repeat scroll 0 0 #555;
-}
-
-.list-group-item span, .list-group-item h4, .navbar-brand span, .panel-body 
.panel h4{
-       white-space: nowrap;
-       /*width: 100%;*/
-       overflow: hidden;              /* "overflow" value must be different 
from "visible" */
-       text-overflow: ellipsis;
-}
-
-.panel-heading .btn-navbar:last-child{
-       padding:0px 0px 6px 12px;
-}
-
-.entityListHeader {
-       padding: 10px 0px 40px 0px;
-}
-
-.entityListHeader .navbar-brand-center {
-       margin: 0px 35px;
-}
-.navbar-brand{
-       padding:15px 30px !important;
-}
-
-.wrapword{
-       word-wrap: break-word;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/12342668/usage/jsgui/src/main/webapp/assets/mobile/images/Powered-by-Cloudsoft-AMP-Logo-on-blue.png
----------------------------------------------------------------------
diff --git 
a/usage/jsgui/src/main/webapp/assets/mobile/images/Powered-by-Cloudsoft-AMP-Logo-on-blue.png
 
b/usage/jsgui/src/main/webapp/assets/mobile/images/Powered-by-Cloudsoft-AMP-Logo-on-blue.png
deleted file mode 100644
index 4e6b2b3..0000000
Binary files 
a/usage/jsgui/src/main/webapp/assets/mobile/images/Powered-by-Cloudsoft-AMP-Logo-on-blue.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/12342668/usage/jsgui/src/main/webapp/assets/mobile/images/Powered-by-Cloudsoft-AMP-Logo-on-white.png
----------------------------------------------------------------------
diff --git 
a/usage/jsgui/src/main/webapp/assets/mobile/images/Powered-by-Cloudsoft-AMP-Logo-on-white.png
 
b/usage/jsgui/src/main/webapp/assets/mobile/images/Powered-by-Cloudsoft-AMP-Logo-on-white.png
deleted file mode 100644
index 7143636..0000000
Binary files 
a/usage/jsgui/src/main/webapp/assets/mobile/images/Powered-by-Cloudsoft-AMP-Logo-on-white.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/12342668/usage/jsgui/src/main/webapp/assets/mobile/images/Powered-by-Cloudsoft-AMP-Logo.png
----------------------------------------------------------------------
diff --git 
a/usage/jsgui/src/main/webapp/assets/mobile/images/Powered-by-Cloudsoft-AMP-Logo.png
 
b/usage/jsgui/src/main/webapp/assets/mobile/images/Powered-by-Cloudsoft-AMP-Logo.png
deleted file mode 100644
index a627f53..0000000
Binary files 
a/usage/jsgui/src/main/webapp/assets/mobile/images/Powered-by-Cloudsoft-AMP-Logo.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/12342668/usage/jsgui/src/main/webapp/assets/mobile/js/app.js
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/main/webapp/assets/mobile/js/app.js 
b/usage/jsgui/src/main/webapp/assets/mobile/js/app.js
deleted file mode 100644
index cedad5d..0000000
--- a/usage/jsgui/src/main/webapp/assets/mobile/js/app.js
+++ /dev/null
@@ -1,84 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *  http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
-*/
-var app = angular.module('BrooklynMobile', [ 
-  "ngRoute",
-  "ngTouch",
-  "mobile-angular-ui", 
-  "BrooklynApp.Services",
-  "BrooklynApp.filters",
-  "BrooklynApp.controllers",
-  "pascalprecht.translate",
-  "ngCookies"]);
-
-app.config(function($routeProvider, $translateProvider) {
-       //Defaults root to applications.  Should change in the future
-       $routeProvider.when('/', {
-               templateUrl : 
"/assets/mobile/js/templates/applicationsList.html",
-               controller:"ApplicationListController"
-       });
-       
-       //Lists applications
-       $routeProvider.when('/v1/applications', {
-               templateUrl : 
"/assets/mobile/js/templates/applicationsList.html",
-               controller:"ApplicationListController"
-       });
-       
-       //List entities
-       $routeProvider.when('/v1/applications/:appId/entities/:id', {
-               templateUrl : "/assets/mobile/js/templates/entitiesList.html",
-               controller:"EntityListController"
-       });
-       $routeProvider.when('/v1/applications/:appId/entities', {
-               templateUrl : "/assets/mobile/js/templates/entitiesList.html",
-               controller:"EntityListController"
-       });
-       $routeProvider.when('/v1/applications/:appId', {
-               templateUrl : "/assets/mobile/js/templates/entitiesList.html",
-               controller:"EntityListController"
-       });
-       
-       //Application and entity details
-       $routeProvider.when('/v1/applications/:appId/entities/:id/summary', {
-               templateUrl : "/assets/mobile/js/templates/entitySummary.html",
-               controller:"EntityDetailsController"
-       });
-       $routeProvider.when('/v1/applications/:appId/summary', {
-               templateUrl : "/assets/mobile/js/templates/entitySummary.html",
-               controller:"EntityDetailsController"
-       });
-       
-       $translateProvider.useStaticFilesLoader({
-                 prefix: '/assets/mobile/js/i18n/',
-                 suffix: '.json'
-               });
-       //$translateProvider.useLocalStorage();
-       $translateProvider.preferredLanguage('en-us');
-       
-});
-
-app.controller('MainController', function($rootScope, $scope) {
-
-       $rootScope.$on("$routeChangeStart", function() {
-               $rootScope.loading = true;
-       });
-
-       $rootScope.$on("$routeChangeSuccess", function() {
-               $rootScope.loading = false;
-       });
-});
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/12342668/usage/jsgui/src/main/webapp/assets/mobile/js/controllers.js
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/main/webapp/assets/mobile/js/controllers.js 
b/usage/jsgui/src/main/webapp/assets/mobile/js/controllers.js
deleted file mode 100644
index 68e21d1..0000000
--- a/usage/jsgui/src/main/webapp/assets/mobile/js/controllers.js
+++ /dev/null
@@ -1,202 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *  http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
-*/
-var bklnControllers = angular.module('BrooklynApp.controllers',['ngResource']);
-
-//Brooklyn ApplicationList controller
-bklnControllers.controller('ApplicationListController', function($scope, 
$interval, ApplicationService){
-       //
-       $scope.reloadTimer;
-       $scope.loadData = function(){
-               ApplicationService.query({}, function (applications){
-                       $scope.applications = applications;
-                       console.log('ApplicationListController: new data 
loaded');
-               });
-       };
-       
-       $scope.showDetails = function($event){
-               alert("swipe happened");
-               $event.stopPropagation();
-               console.dir ($event);
-       };
-       
-       $scope.$on('$viewContentLoaded', function() {
-           console.log('ApplicationListController: loadeding');
-           $scope.loadData();
-           console.log('ApplicationListController: requested data');
-           $scope.reloadTimer = $interval($scope.loadData, 10000);
-           console.log('ApplicationListController: reload timer set');
-           console.log('ApplicationListController: loaded');
-         });
-       
-       $scope.$on('$destroy', function() {
-           console.log('ApplicationListController: unloading');
-           if (angular.isDefined($scope.reloadTimer)) {
-               $interval.cancel($scope.reloadTimer);
-               $scope.reloadTimer = undefined;
-             }
-           console.log('ApplicationListController: reload timer stopped');
-           console.log('ApplicationListController: unloaded');
-         });
-       
-});
-
-
-bklnControllers.controller('EntityListController', function($scope, $http, 
$interval, $location, $routeParams){
-       
-       $scope.reloadTimer;
-       $scope.path = $location.path().replace("#",'');
-       var shownPath = false;
-       $scope.loadData = function(){
-               
-               $http({method: 'GET', url: $scope.path}).
-           success(function(data) {
-               $scope.entity = data;
-               $scope.name = (data.spec) ? data.spec.name : data.name;
-               var children = (data.links.children) ? data.links.children : 
data.links.entities ;
-               $scope.back = (data.links.parent) ? data.links.parent : 
"/v1/applications";
-               if (!shownPath) {
-                       console.info ("Current path: "+ $location.path());
-                       console.info ("Back path: "+ $scope.back);
-                       shownPath = true;
-                       }
-               console.log('EntityListController: new data loaded');
-               $http({method: 'GET', url: children}).
-               success(function(data) {
-                       $scope.entities = data;
-                       //get status sequentially..
-                       angular.forEach($scope.entities, function (value, 
index){
-                               $http.get(value.links.sensors + 
"/service.state")
-                               .success(function(data){
-                                       data = data.replace(/"/g,'');
-                                       value.status = (data.length > 0) ? data 
: "Unknown";
-                               });
-                       });
-                       
-               });
-           });
-       };
-               
-       $scope.$on('$viewContentLoaded', function() {
-           console.log('EntityListController: loadeding');
-           $scope.loadData();
-           console.log('EntityListController: requested data');
-           $scope.reloadTimer = $interval($scope.loadData, 10000);
-           console.log('EntityListController: reload timer set');
-           console.log('EntityListController: loaded');
-         });
-       
-       $scope.$on('$destroy', function() {
-           console.log('EntityListController: unloading');
-           if (angular.isDefined($scope.reloadTimer)) {
-               $interval.cancel($scope.reloadTimer);
-               $scope.reloadTimer = undefined;
-             }
-           console.log('EntityListController: reload timer stopped');
-           console.log('EntityListController: unloaded');
-         });
-       
-});
-
-bklnControllers.controller('EntityDetailsController', function($scope, 
$filter, $window, $location, $http, $resource, $routeParams){
-
-       
-       $scope.goBack = function (){
-               $window.history.back();
-       };
-       
-       $scope.init = function(){
-               $scope.path = $location.path().replace("#",'');
-               
-               $scope.selfLink = $location.path().replace("/summary",'');
-               
-               $http({method: 'GET', url: $scope.selfLink}).
-           success(function(data) {
-               $scope.entity = data;
-               $scope.name = (data.spec) ? data.spec.name : data.name;
-               var sensors = ($scope.entity.links.sensors) ? 
$scope.entity.links.sensors : $scope.selfLink + "/sensors"; 
-               $http({method:'GET', url:$scope.entity.links.effectors}).
-               success(function(data){
-                       $scope.entity.effectors = data;
-                       console.dir (data);
-               });
-               
-               $http({method: 'GET', url: sensors + '/current-state'}).
-                   success(function(data) {
-                       $scope.entity.status = (data["service.state"]) ? 
data["service.state"].replace(/"/g,'') : null;
-                       $scope.entity.isUp = data["service.isUp"];
-                   });
-
-               var activities = ($scope.entity.links.activities) ? 
$scope.entity.links.activities : $scope.selfLink + "/activities"; 
-               $http({method: 'GET', url: activities}).
-                   success(function(data) {
-                       console.info(activities);
-                       console.dir(data);
-                       $scope.entity.activities = data;
-                   });
-               var config = ($scope.entity.links.config) ? 
$scope.entity.links.config : $scope.selfLink + "/config"; 
-               var configUrl = config +  '/current-state';
-               $http({method: 'GET', url: configUrl}).
-                   success(function(data) {
-                       console.info(configUrl);
-                       console.dir(data);
-                       var config = [];
-                       angular.forEach(data, function (v, k){
-                               config.push({"key": k, "value":v});
-                       });
-                       $scope.entity.config = config;
-                   });
-               
-                       console.dir ($scope.entity);
-           });
-       };
-       
-       $scope.isTopLevelActivity = function(input){
-               var submitter = input.submittedByTask;
-               return (submitter == null ||(submitter != null && 
$filter('filter')($scope.entity.activities,{"id":submitter.metadata.id}).length 
== 0 ));
-       };
-       
-       $scope.expunge = function (){
-               //TODO: show dialog requesting if user wants to release 
resources
-               var expungeURL = $scope.selfLink + "/expunge?replace=false";
-               $http({method: 'POST', url: expungeURL}).
-           success(function(data) {
-               console.info(expungeURL);
-               console.dir(data);
-           });
-               
-               
-       };
-       
-       $scope.executeEffector = function (uri){
-               var effector = uri + "?timeout=0";
-               var data = ""; 
-               console.info ("Executing: " + effector);
-               $http({method: 'POST', url: effector, data:data, headers: 
{'Content-Type': 'application/x-www-form-urlencoded'}}).
-           success(function(data) {
-               console.info("Success");
-               console.dir(data);
-           }).
-           error(function(data, status){
-               console.error ("Failed: " + status);
-               console.dir (data);
-           });
-       };
-       $scope.init();
-       
-});
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/12342668/usage/jsgui/src/main/webapp/assets/mobile/js/filters.js
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/main/webapp/assets/mobile/js/filters.js 
b/usage/jsgui/src/main/webapp/assets/mobile/js/filters.js
deleted file mode 100644
index 289bd3f..0000000
--- a/usage/jsgui/src/main/webapp/assets/mobile/js/filters.js
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *  http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
-*/
-'use strict';
-var bklnFilters = angular.module('BrooklynApp.filters',[]);
-
-bklnFilters.filter('Capitalize', function(){
-       return function(input){
-       input = input || '';
-       var out = input.toLocaleLowerCase();
-       out = out.charAt(0).toLocaleUpperCase() + out.substring(1);
-       return out;
-};
-});
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/12342668/usage/jsgui/src/main/webapp/assets/mobile/js/i18n/en-us.json
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/main/webapp/assets/mobile/js/i18n/en-us.json 
b/usage/jsgui/src/main/webapp/assets/mobile/js/i18n/en-us.json
deleted file mode 100644
index ca3ea5e..0000000
--- a/usage/jsgui/src/main/webapp/assets/mobile/js/i18n/en-us.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
-       "TITLE"     : "Brooklyn",
-       "APP_NAME_LONG"    : "Brooklyn",
-       "APP_NAME_SHORT"    : "Brooklyn",
-       "APPLICATION_LIST_TITLE":"Applications",
-       "NO_APPS_FOUND": "No applications found.",
-       "NO_ENTITIES_FOUND": "No entities found.",
-       "M_MENU_APPS": "Applications",
-       "M_MENU_HELP": "Help",
-       "M_MEMU_POWERED_BY":"",
-       "LOADING": "Loading ...",
-       "E_DISMISS_BUTTON":"Dismiss",
-       "E_DETIALS_SUMMARY":"Summary",
-       "E_DETIALS_CONFIG": "Config",
-       "E_DETIALS_LIFECYCLE": "Lifecycle",
-       "E_DETIALS_POLICIES":"Policies",
-       "E_DETIALS_ACTIVITIES":"Activities",
-       "E_DETIALS_NO_CONFIG_FOUND":"No configurations found",
-       "E_DETIALS_NO_POLICIES_FOUND":"No policies found",
-       "E_DETIALS_NO_ACTIVITIES_FOUND":"No activities found",
-       "E_SUMMARY_NAME":"Name",
-       "E_SUMMARY_ID": "Id",
-       "E_SUMMARY_STATUS":"Status",
-       "E_SUMMARY_TYPE": "Type",
-       "E_SUMMARY_SERVICE_UP":"Service up"
-       
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/12342668/usage/jsgui/src/main/webapp/assets/mobile/js/services.js
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/main/webapp/assets/mobile/js/services.js 
b/usage/jsgui/src/main/webapp/assets/mobile/js/services.js
deleted file mode 100644
index 6e16afa..0000000
--- a/usage/jsgui/src/main/webapp/assets/mobile/js/services.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *  http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
-*/
-
-var brooklynServices = angular.module('BrooklynApp.Services', ['ngResource']);
-
-brooklynServices.factory('ApplicationService', ['$resource', function 
($resource) {
-    var Application = $resource('/v1/applications/:id', 
{url:'/v1/applications/:id'}, {
-       query: {method:'GET', params:{}, isArray:true},
-       entities:{url:'v1/applications/:id/entities', method:'GET', 
isArray:true},
-    });
-    return Application;
-}]);

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/12342668/usage/jsgui/src/main/webapp/assets/mobile/js/templates/applicationsList.html
----------------------------------------------------------------------
diff --git 
a/usage/jsgui/src/main/webapp/assets/mobile/js/templates/applicationsList.html 
b/usage/jsgui/src/main/webapp/assets/mobile/js/templates/applicationsList.html
deleted file mode 100644
index 1ab6fc5..0000000
--- 
a/usage/jsgui/src/main/webapp/assets/mobile/js/templates/applicationsList.html
+++ /dev/null
@@ -1,72 +0,0 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<div class="scrollable">
-       <div class="scrollable-content">
-               <div class="list-group">
-                       <div style="padding: 10px 0px 19px 0px;" 
class="list-group-item">
-                               <span style="font-size: 1.5em; font-weight: 
400; padding-left: 15px">{{'APPLICATION_LIST_TITLE' | translate}}</span>
-                               <!-- <div class="btn-group pull-right">
-                                       <a href="{{$scope.loadData()}}" 
class="btn btn-navbar"> <i
-                                               class="fa fa-refresh"></i>
-                                       </a>
-                               </div> -->
-                       </div>
-
-                       <div ng-if="applications.length == 0" 
class="list-group-item">
-                               <h5 class="list-group-item-text 
text-center">{{'NO_APPS_FOUND' | translate}}</h5>
-                       </div>
-
-                       <div ng-repeat="application in applications"
-                               
href="#{{application.links.entities}}/{{application.id}}"
-                               class="list-group-item">
-                               <a 
href="#{{application.links.entities}}/{{application.id}}" 
ng-show="!showActions" ng-swipe-left="showDetails($event)">
-                                       <i class="fa fa-chevron-right 
pull-right"></i>
-                                       <h5 
class="list-group-item-heading">{{application.spec.name}}</h5>
-       
-                                       <p class="list-group-item-text">
-       
-                                               <i ng-if="application.status == 
'RUNNING'"
-                                                       class="fa fa-circle 
text-success"></i> <i
-                                                       
ng-if="application.status == 'UNKNOWN'"
-                                                       class="fa 
fa-exclamation text-warning"></i> <i
-                                                       
ng-if="application.status == 'STARTING'"
-                                                       class="fa fa-circle 
text-info"></i> {{application.status | Capitalize}}
-                                       </p>
-                               </a>
-                               
-                               <a 
href="#{{application.links.entities}}/{{application.id}}" ng-show="showActions" 
ng-swipe-right="showActions = false">
-                                       <span 
ng-href="#{{application.links.self}}/summary" class="fa pull-right" 
style="background-color:green;margin: -10px 0px;padding: 20px 20px;color: 
white;display: block;z-index: 2000;"> Details</span>
-                                       <i class="fa fa-chevron-right 
pull-right"></i>
-                                       <h5 
class="list-group-item-heading">{{application.spec.name}}</h5>
-       
-                                       <p class="list-group-item-text">
-       
-                                               <i ng-if="application.status == 
'RUNNING'"
-                                                       class="fa fa-circle 
text-success"></i> <i
-                                                       
ng-if="application.status == 'UNKNOWN'"
-                                                       class="fa 
fa-exclamation text-warning"></i> <i
-                                                       
ng-if="application.status == 'STARTING'"
-                                                       class="fa fa-circle 
text-info"></i> {{application.status | Capitalize}}
-                                       </p>
-                               </a>
-                       </div>
-               </div>
-       </div>
-</div>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/12342668/usage/jsgui/src/main/webapp/assets/mobile/js/templates/entitiesList.html
----------------------------------------------------------------------
diff --git 
a/usage/jsgui/src/main/webapp/assets/mobile/js/templates/entitiesList.html 
b/usage/jsgui/src/main/webapp/assets/mobile/js/templates/entitiesList.html
deleted file mode 100644
index 0417f8b..0000000
--- a/usage/jsgui/src/main/webapp/assets/mobile/js/templates/entitiesList.html
+++ /dev/null
@@ -1,53 +0,0 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-<div class="scrollable">
-
-       <div class="list-group-item entityListHeader">
-
-               <div class="btn-group pull-left">
-                       <a href="#{{back}}" class="btn btn-navbar "> <i
-                               class="fa fa-chevron-left"></i>
-                       </a>
-               </div>
-               <div class=" navbar-brand navbar-brand-center"><span 
style="font-size: 1.5em; font-weight: 400;">{{name}}</span></div>
-               
-               <div class="btn-group pull-right">
-                       <a href="#{{entity.links.self}}/summary" class="btn 
btn-navbar">
-                               <i class="fa fa-info"></i>
-                       </a>
-               </div>
-
-       </div>
-       <div ng-if="entities.length == 0" class="list-group-item">
-               <h5 class="list-group-item-text 
text-center">{{'NO_ENTITIES_FOUND' | translate}}</h5>
-       </div>
-       <a ng-repeat="entry in entities" href="#{{entry.links.self}}"
-               class="list-group-item"> <i class="fa fa-chevron-right 
pull-right"></i>
-               <h4 class="list-group-item-heading">{{entry.name}}</h4>
-               <p class="list-group-item-text">
-                       <i ng-if="entry.status == 'running'"
-                               class="fa fa-circle text-success"></i> <i
-                               ng-if="entry.status == 'Unknown'"
-                               class="fa fa-exclamation text-warning"></i> <i
-                               ng-if="entry.status == 'on-fire'" class="fa 
fa-fire text-danger"></i>
-                       <i ng-if="entry.status == 'starting'" class="fa 
fa-circle text-info"></i>
-                       {{entry.status | Capitalize}}
-               </p>
-       </a>
-</div>

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/12342668/usage/jsgui/src/main/webapp/assets/mobile/js/templates/entitySummary.html
----------------------------------------------------------------------
diff --git 
a/usage/jsgui/src/main/webapp/assets/mobile/js/templates/entitySummary.html 
b/usage/jsgui/src/main/webapp/assets/mobile/js/templates/entitySummary.html
deleted file mode 100644
index 832700d..0000000
--- a/usage/jsgui/src/main/webapp/assets/mobile/js/templates/entitySummary.html
+++ /dev/null
@@ -1,250 +0,0 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-<div content-for="title">
-       <span ng-click="goBack()">{{entity.name}}</span>
-</div>
-<!-- Left icon -->
-<div content-for="left-control-nav-icon-left">
-       <div ng-click="toggle('mainSidebar')"
-               class="btn btn-navbar sidebar-toggle">
-               <i class="fa fa-cogs"></i>
-       </div>
-</div>
-
-<!-- Right icon -->
-<div content-for="right-control-nav-icon-right">
-       <div ng-click="toggle('rightSidebar')"
-               class="btn btn-navbar sidebar-toggle">
-               <i class="fa fa-list"></i>
-       </div>
-</div>
-
-<!-- Left navigation (effectors) -->
-<div content-for="left-control-nav">
-       <h2 class="app-name">&nbsp;</h2>
-       <div class="scrollable sidebar-scrollable">
-               <div class="scrollable-content">
-                       <div class="list-group" toggle="off" bubble 
target="mainSidebar">
-                               <a class="list-group-item" ng-repeat="effector 
in entity.effectors"
-                                       
ng-click="executeEffector(effector.links.self); toggle('leftSidebar');" > <span 
ng-switch on="effector.name"> <i
-                                               ng-switch-when="restart" 
class="fa fa-refresh fa-2x"></i> <i
-                                               ng-switch-when="start" 
class="fa fa-play fa-2x"></i> <i
-                                               ng-switch-when="stop" class="fa 
fa-power-off fa-2x"></i> <i
-                                               ng-switch-when="resize" 
class="fa fa-arrows fa-2x"></i> <i
-                                               ng-switch-when="deploy" 
class="fa fa-cloud-upload fa-2x"></i> <i
-                                               ng-switch-when="undeploy" 
class="fa fa-cloud-download fa-2x"></i>
-                                               <i ng-switch-default class="fa 
fa-cloud fa-2x"></i>
-                               </span> <span style="padding-left: 10px; 
font-size: 1.5em;">{{effector.name | Capitalize}}</span>
-                               </a>
-                       </div>
-
-               </div>
-       </div>
-</div>
-
-<div content-for="right-control-nav">
-       <h2 class="app-name">&nbsp;</h2>
-       <div class="scrollable sidebar-scrollable">
-               <div class="scrollable-content">
-                       <div class="list-group" toggle="off" bubble 
target="rightSidebar">
-                               <a class="list-group-item" href="" 
ng-click="selected = 'Summary'; toggle('rightSidebar')"> <span ng-switch
-                                       on="effector.name"> <i ng-switch-default
-                                               class="fa fa-bullseye 
fa-2x"></i>
-                               </span> <span style="padding-left: 10px; 
font-size: 1.5em;">{{'E_DETIALS_SUMMARY' | translate}}</span>
-                               </a> <a class="list-group-item" href="" 
ng-click="selected = 'Lifecycle'; toggle('rightSidebar')"> <span ng-switch
-                                       on="effector.name"> <i ng-switch-default
-                                               class="fa fa-sun-o fa-2x"></i>
-                               </span> <span style="padding-left: 10px; 
font-size: 1.5em;">{{'E_DETIALS_LIFECYCLE' | translate}}</span>
-                               </a> <a class="list-group-item" href="" 
ng-click="selected = 'Config'; toggle('rightSidebar')"> <span ng-switch
-                                       on="effector.name"> <i ng-switch-default
-                                               class="fa fa-cogs fa-2x"></i>
-                               </span> <span style="padding-left: 10px; 
font-size: 1.5em;">{{'E_DETIALS_CONFIG' | translate}}</span>
-                               </a> <a class="list-group-item" href="" 
ng-click="selected = 'Policies'; toggle('rightSidebar')"> <span ng-switch
-                                       on="effector.name"> <i ng-switch-default
-                                               class="fa fa-legal fa-2x"></i>
-                               </span> <span style="padding-left: 10px; 
font-size: 1.5em;">{{'E_DETIALS_POLICIES' | translate}}</span>
-                               </a> <a class="list-group-item" href="" 
ng-click="selected = 'Activities'; toggle('rightSidebar')"> <span ng-switch
-                                       on="effector.name"> <i ng-switch-default
-                                               class="fa fa-tasks fa-2x"></i>
-                               </span> <span style="padding-left: 10px; 
font-size: 1.5em;">{{'E_DETIALS_ACTIVITIES' | translate}}</span>
-                               </a>
-                       </div>
-       
-               </div>
-       </div>
-</div>
-
-<!-- Entity Details/Summary -->
-
-<div class="scrollable" ng-init="selected = 'Summary'" >
-       <div class="scrollable-content section" ng-show="selected == 'Summary'">
-
-               <form action="" id="">
-
-                       <div class="panel">
-                               <div class="panel-heading">
-                                       <div class="panel-title">
-                                               <span>{{'E_DETIALS_SUMMARY' | 
translate}}</span>
-                                       </div>
-                               </div>
-                               <div class="panel-body">
-
-                                       <div class="block">
-                                               <label 
class="control-label">{{'E_SUMMARY_NAME' | translate}}</label> <input 
type="text"
-                                                       ng-model="entity.name" 
placeholder="Name" class="form-control"
-                                                       readonly>
-                                       </div>
-                                       <div class="block">
-                                               <label 
class="control-label">{{'E_SUMMARY_STATUS' | translate}}</label> <input 
type="text"
-                                                       
ng-model="entity.status" placeholder="Status"
-                                                       class="form-control" 
readonly>
-                                       </div>
-                                       <div class="block">
-                                               <label 
class="control-label">{{'E_SUMMARY_SERVICE_UP' | translate}}</label> <input 
type="text"
-                                                       ng-model="entity.isUp" 
placeholder="Service isUp"
-                                                       class="form-control" 
readonly>
-                                       </div>
-
-                                       <div class="block">
-                                               <label 
class="control-label">{{'E_SUMMARY_TYPE' | translate}}</label> <input 
type="text"
-                                                       ng-model="entity.type" 
placeholder="Type" class="form-control"
-                                                       readonly>
-                                       </div>
-
-                                       <div class="block">
-                                               <label 
class="control-label">{{'E_SUMMARY_ID' | translate}}</label> <input type="text"
-                                                       ng-model="entity.id" 
placeholder="Id" class="form-control"
-                                                       readonly>
-                                       </div>
-
-                               </div>
-                               <br />
-                               <br />
-
-                               <div bs-panel class="form-actions">
-                                       <button class="btn btn-success 
btn-block" ng-click="goBack()">{{'E_DISMISS_BUTTON' | translate}}</button>
-                               </div>
-                       </div>
-               </form>
-       </div>
-       
-       <div class="scrollable-content section" ng-show="selected == 
'Lifecycle'">
-
-                       <div class="panel">
-                               <div class="panel-heading">
-                                       <div class="panel-title">
-                                               <span>{{'E_DETIALS_LIFECYCLE' | 
translate}}</span>
-                                       </div>
-                               </div>
-                               <div class="panel-body">
-                                       <p> Lorem ipsum dolor sit amet, 
consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et 
dolore magna aliqua. </p>
-                                       <br/>
-                                       
-                               </div>
-                               <div bs-panel class="form-actions">
-                                       <button class="btn btn-danger 
btn-block" ng-click="expunge(); goBack();">Expunge</button>
-                               </div>
-                               <div bs-panel class="form-actions">
-                                       <button class="btn btn-success 
btn-block" ng-click="goBack()">{{'E_DISMISS_BUTTON' | translate}}</button>
-                               </div>
-                       </div>
-       </div>
-       <div class="scrollable-content section" ng-show="selected == 'Config'">
-
-                       <div class="panel">
-                               <div class="panel-heading">
-                                       <div class="panel-title">
-                                               <span>{{'E_DETIALS_CONFIG' | 
translate}}</span>
-                                       </div>
-                               </div>
-                               <div class="panel-body">
-                                       <br/>
-                                       <div ng-if="entity.config.length == 0">
-                                               <h5 class="list-group-item-text 
text-center">{{'E_DETIALS_NO_CONFIG_FOUND' | translate}}</h5>
-                                               <br/>
-                                       </div>
-                                       <div class="panel panel-default" 
ng-repeat="conf in entity.config | orderBy:'key'">
-                                          <div class="panel-heading">
-                                             <h4>{{conf.key | Capitalize}}</h4>
-                                          </div>
-                                          <div class="panel-body wrapword">
-                                             {{conf.value}}
-                                          </div>
-                                       </div>
-                               </div>
-                               <div bs-panel class="form-actions">
-                                       <button class="btn btn-success 
btn-block" ng-click="goBack()">{{'E_DISMISS_BUTTON' | translate}}</button>
-                               </div>
-                       </div>
-       </div>
-       <div class="scrollable-content section" ng-show="selected == 
'Policies'">
-
-                       <div class="panel">
-                               <div class="panel-heading">
-                                       <div class="panel-title">
-                                               <span>{{'E_DETIALS_POLICIES' | 
translate}}</span>
-                                       </div>
-                               </div>
-                               <div class="panel-body">
-                                       <p> Lorem ipsum dolor sit amet, 
consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et 
dolore magna aliqua. </p>
-                                       <br/>
-
-                               </div>
-                               <div bs-panel class="form-actions">
-                                       <button class="btn btn-success 
btn-block" ng-click="goBack()">{{'E_DISMISS_BUTTON' | translate}}</button>
-                               </div>
-                               
-                       </div>
-       </div>
-       <div class="scrollable-content section" ng-show="selected == 
'Activities'">
-
-                       <div class="panel">
-                               <div class="panel-heading">
-                                       <div class="panel-title">
-                                               <span>{{'E_DETIALS_ACTIVITIES' 
| translate}}</span>
-                                       </div>
-                               </div>
-                               <div class="panel-body">
-                                       <!--<p> Lorem ipsum dolor sit amet, 
consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et 
dolore magna aliqua. </p>
-                                       --><br/>
-
-                                       <div ng-if="entity.activities.length == 
0">
-                                               <h5 class="list-group-item-text 
text-center">{{'E_DETIALS_NO_ACTIVITIES_FOUND' | translate}}</h5>
-                                       </div>
-                                       <!-- <div class="panel panel-default" 
ng-repeat="activity in entity.activities" ng-if="activity.submittedByTask == 
null || (ctivity.submittedByTask != null && 
$filter('filter')($scope.entity.links.activities,{'id':activity.submittedByTask.metadata.id}).length)
 == 0"> -->
-                                       <div class="panel panel-default" 
ng-repeat="activity in entity.activities" ng-if 
="isTopLevelActivity(activity)"> 
-                                          <div class="panel-heading">
-                                             <h4>{{activity.displayName | 
Capitalize}}</h4>
-                                          </div>
-                                          <!-- <div class="panel-body">
-                                             Panel content
-                                          </div> -->
-                                          <table class="table">
-                                             
<tr><td>Submitted</td><td>{{activity.submitTimeUtc | date:'MM/dd/yyyy @ 
h:mma'}}</td></tr>
-                                             
<tr><td>Status</td><td>{{activity.currentStatus}}</td></tr>
-                                          </table>
-                                       </div>
-
-                               </div>
-                               <div bs-panel class="form-actions">
-                                       <button class="btn btn-success 
btn-block" ng-click="goBack()">{{'E_DISMISS_BUTTON' | translate}}</button>
-                               </div>
-                       </div>
-       </div>
-</div>
\ No newline at end of file

Reply via email to