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

BIN
client/images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

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");
}
/*

View file

@ -1,3 +1,3 @@
<a href="#" class="thumbnail">
<img class="media-object" src='./images/logo.gif' />
<img class="media-object" src='./images/logo.png' />
</a>

View file

@ -1,6 +1,6 @@
<div class="panel panel-default">
<div class="panel-heading">
{{ test }}
Home
</div>
<div class="panel-body">
Main Content

View file

@ -1,6 +1,6 @@
<div class="panel panel-default">
<div class="panel-heading">
{{ test }}
Network
</div>
<div class="panel-body">
Main Content