Add logo, remove session checking every 2 seconds

This commit is contained in:
manzerbredes 2016-02-03 16:40:02 +01:00
parent 84db461afb
commit eb9f9c9a6e
8 changed files with 5 additions and 14 deletions

View file

@ -6,7 +6,6 @@
mainApp.controller('homeCtrl', function ($scope)
{
$scope.test="Home view";
// Login before use App
//$('#loginModal').modal({backdrop: 'static', keyboard: false});

View file

@ -6,5 +6,4 @@
mainApp.controller('networkCtrl', function ($scope)
{
$scope.test="Network View";
});

View file

@ -8,7 +8,7 @@ mainApp.controller('statusCtrl', function ($scope,$interval,$sce)
{
// Update status every 2 seconds
$interval(function(){
/*$interval(function(){
var status=identity.fetchStatus();
$scope.username=status[1];
$scope.lastconnection=status[2];
@ -18,7 +18,7 @@ mainApp.controller('statusCtrl', function ($scope,$interval,$sce)
else{
$scope.connection=$sce.trustAsHtml("<span style=\"color:red;\">Offline</span>");
}
}, 2000);
}, 2000);*/

View file

@ -4,14 +4,7 @@ var identity = {} ;
// Fetch Status
identity.fetchStatus = function(){
// TODO
return new Array("0", "user1", "25/02/2016");
}
/*