mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-09 22:51:22 +00:00
GUAC-897 Using a spinner instead of a distracting modal.
This commit is contained in:
@@ -40,10 +40,7 @@ angular.module('home').controller('homeController', ['$scope', '$injector',
|
||||
$scope.recentConnections = [];
|
||||
|
||||
// Set status to loading until we have all the connections and groups loaded
|
||||
$scope.showStatus({
|
||||
title : 'status.loadingTitle',
|
||||
text : 'status.loadingText'
|
||||
});
|
||||
$scope.loading = true;
|
||||
|
||||
/* Fetch all connections and groups, then find which recent connections
|
||||
* still refer to valid connections and groups.
|
||||
@@ -83,7 +80,7 @@ angular.module('home').controller('homeController', ['$scope', '$injector',
|
||||
}
|
||||
});
|
||||
|
||||
$scope.showStatus(false);
|
||||
$scope.loading = false;
|
||||
});
|
||||
|
||||
/**
|
||||
|
@@ -72,7 +72,7 @@
|
||||
|
||||
<!-- All connections for this user -->
|
||||
<h2>{{'home.allConnections' | translate}}</h2>
|
||||
<div class="all-connections">
|
||||
<div class="all-connections" ng-class="{loading: loading}">
|
||||
<div class="list-item" ng-repeat="item in connectionsAndGroups | orderBy : 'name'" ng-include="'nestedGroup.html'"></div>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user