Add logo, remove session checking every 2 seconds
This commit is contained in:
parent
84db461afb
commit
eb9f9c9a6e
8 changed files with 5 additions and 14 deletions
BIN
client/images/logo.png
Normal file
BIN
client/images/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.7 KiB |
|
@ -6,7 +6,6 @@
|
|||
|
||||
mainApp.controller('homeCtrl', function ($scope)
|
||||
{
|
||||
$scope.test="Home view";
|
||||
|
||||
// Login before use App
|
||||
//$('#loginModal').modal({backdrop: 'static', keyboard: false});
|
||||
|
|
|
@ -6,5 +6,4 @@
|
|||
|
||||
mainApp.controller('networkCtrl', function ($scope)
|
||||
{
|
||||
$scope.test="Network View";
|
||||
});
|
|
@ -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);*/
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -4,14 +4,7 @@ var identity = {} ;
|
|||
|
||||
|
||||
|
||||
// Fetch Status
|
||||
identity.fetchStatus = function(){
|
||||
|
||||
// TODO
|
||||
|
||||
return new Array("0", "user1", "25/02/2016");
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
{{ test }}
|
||||
Home
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
Main Content
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
{{ test }}
|
||||
Network
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
Main Content
|
||||
|
|
Loading…
Add table
Reference in a new issue