diff options
Diffstat (limited to 'client/js')
| -rw-r--r-- | client/js/controllers/status.js | 4 | ||||
| -rw-r--r-- | client/js/requests/identity.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/client/js/controllers/status.js b/client/js/controllers/status.js index 01fdcc3..e4f119d 100644 --- a/client/js/controllers/status.js +++ b/client/js/controllers/status.js @@ -13,10 +13,10 @@ mainApp.controller('statusCtrl', function ($scope,$interval,$sce) $scope.username=status[1]; $scope.lastconnection=status[2]; if(status[0] == "1"){ - $scope.connection=$sce.trustAsHtml("Connection : <span style=\"color:green;\">Online</span>"); + $scope.connection=$sce.trustAsHtml("<span style=\"color:green;\">Online</span>"); } else{ - $scope.connection="Connection : <span style=\"color:red;\">Offline</span>"; + $scope.connection=$sce.trustAsHtml("<span style=\"color:red;\">Offline</span>"); } }, 2000); diff --git a/client/js/requests/identity.js b/client/js/requests/identity.js index 369ce85..d008abf 100644 --- a/client/js/requests/identity.js +++ b/client/js/requests/identity.js @@ -10,6 +10,6 @@ identity.fetchStatus = function(){ // TODO - return new Array("1", "user1", "25/02/2016"); + return new Array("0", "user1", "25/02/2016"); }
\ No newline at end of file |
