First iteration brooklyn web mobile app.

This is a web mobile app intended for small form factor devices such as cell phones and potentially tablet devices in the future.  This interface aims to simplify navigation and increase user experience in small factor devices.  This application was implemented using AngularJS and Mobile Angular UI for their clear separation of concerns, and implementation of bootstrap css directives (which are popular in the web space). The application is NLS enabled and can also be easily white labeled by overloading css files and NLS files.  In this first release the application is capable to:
1) Dynamically view Applications and Entities
2) Dynamically view entity to application and entity to entity relationship in a design that is commonly use in smaller devices
3) Dynamically view Summary Activities, and Configurations
4) Execute expunge
5) Dynamically view and execute effectors for any application and entity
6) Currently the main index.html for forward iphone devices to this new interface.  This was done so because the standard web app is known to not work as expected in these devices and because I wanted to narrow exposure while the implementation hardens.  Any other device would have to navigate to index.m.html
There are still remaining tasks:
1) List Policies
2) Explore how much depth we would like to offer in small factor devices
3) Explore the possibility to send push notification using configurable services such as Pushover
4) Create short hand queries to quickly identify object in specific states: on-fire, unknown, etc
5) and more...
 ![ios simulator screen shot aug 22 2014 3 45 40 pm](https://cloud.githubusercontent.com/assets/7986567/4016527/0604b32e-2a36-11e4-87fb-00f2440cc7e8.png)
![ios simulator screen shot aug 22 2014 3 45 58 pm](https://cloud.githubusercontent.com/assets/7986567/4016524/05f97f36-2a36-11e4-984e-8d60372628aa.png)
![ios simulator screen shot aug 22 2014 3 46 06 pm](https://cloud.githubusercontent.com/assets/7986567/4016526/0601b7aa-2a36-11e4-8cb3-0d5700cea29d.png)
![ios simulator screen shot aug 22 2014 3 46 12 pm](https://cloud.githubusercontent.com/assets/7986567/4016523/05f69cb2-2a36-11e4-8f96-429d223091f8.png)
![ios simulator screen shot aug 22 2014 3 46 15 pm](https://cloud.githubusercontent.com/assets/7986567/4016522/05f68056-2a36-11e4-8f18-758a7ae92789.png)
![ios simulator screen shot aug 22 2014 3 46 23 pm](https://cloud.githubusercontent.com/assets/7986567/4016525/05fc4874-2a36-11e4-8e0c-1bf60fb8ee9a.png)











removed

Angel Tomala-Reyes (°²ç÷¶ù ÍÐÂíÀ­ ÈðË¹)
Senior Software Engineer, Advanced Cloud Technologies
Global Technology Services, IBM Corporation
15038 Union Turnpike 8F
Flushing, NY 11367
aetomala@us.ibm.com




From:	Svetoslav <notifications@github.com>
To:	apache/incubator-brooklyn
            <incubator-brooklyn@noreply.github.com>
Cc:	Angel E Tomala Reyes/Poughkeepsie/IBM@IBMUS
Date:	09/02/2014 08:45 AM
Subject:	Re: [incubator-brooklyn] First iteration brooklyn web mobile
            app. (#130)



In usage/jsgui/src/main/webapp/assets/mobile/js/controllers.js:


> +
> +		 $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;



Seems like dev-time debugging helper, not needed any more?


¡ª
Reply to this email directly or view it on GitHub.