GUAC-897 Added status message while home or manage pages are loading.

This commit is contained in:
James Muehlner
2014-11-18 22:51:25 -08:00
parent 2c47fbb55c
commit 683fc4475b
3 changed files with 34 additions and 0 deletions

View File

@@ -39,6 +39,12 @@ angular.module('home').controller('homeController', ['$scope', '$injector',
// All valid recent connections
$scope.recentConnections = [];
// Set status to loading until we have all the connections and groups loaded
$scope.showStatus({
title : 'status.loadingTitle',
text : 'status.loadingText'
});
/* Fetch all connections and groups, then find which recent connections
* still refer to valid connections and groups.
*/
@@ -76,6 +82,8 @@ angular.module('home').controller('homeController', ['$scope', '$injector',
$scope.recentConnections.push(recentConnection);
}
});
$scope.showStatus(false);
});
/**