Waiting until the info is loaded

Conflicts:
	README.md
This commit is contained in:
malbarral 2017-08-01 20:59:06 +02:00
commit 0c44dfcd8a
8 changed files with 9 additions and 7 deletions

View File

@ -22,6 +22,7 @@
| 5.5.0 | 2.0.1 | /usr/share/kibana/bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp-2.0.1_5.5.0.zip |
| 5.5.1 | 2.0.1 | /usr/share/kibana/bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp-2.0.1_5.5.1.zip |
## Upgrade
Remove the App using kibana-plugin tool

View File

@ -144,6 +144,7 @@ app.controller('agentsController', function ($scope, $q, DataFactory, Notifier,
};
$scope.applyAgent = function (agent) {
$scope.load = true;
if (agent) {
if($scope.submenuNavItem == 'preview'){
$scope.submenuNavItem = 'overview';

View File

@ -21,7 +21,7 @@
</kbn-disfull>
</md-content>
<div flex ng-if="tabView == 'panels' && results" layout="column">
<div flex ng-if="tabView == 'panels' && results && !load" layout="column">
<md-progress-linear class="md-accent" md-mode="indeterminate" ng-show="load"></md-progress-linear>
<md-content layout="row" layout-align="center stretch" class="no-legend">
<md-card flex="10" layout="column">

View File

@ -21,7 +21,7 @@
</md-content>
<!-- View: Panels -->
<div flex layout="column" ng-if="tabView == 'panels' && results">
<div flex layout="column" ng-if="tabView == 'panels' && results && !load">
<md-progress-linear class="md-accent" md-mode="indeterminate" ng-show="load"></md-progress-linear>
<md-content layout="row">
<md-card flex="33">

View File

@ -21,7 +21,7 @@
</kbn-disfull>
</md-content>
<div flex ng-if="tabView == 'panels' && results" layout="column">
<div flex ng-if="tabView == 'panels' && results && !load" layout="column">
<md-progress-linear class="md-accent" md-mode="indeterminate" ng-show="load"></md-progress-linear>
<md-content layout="row" layout-align="center stretch" class="no-legend">
<md-card flex="20" layout="column">

View File

@ -88,7 +88,7 @@
<!-- View: Panels -->
<div ng-if="tabView == 'panels' && results">
<div ng-if="tabView == 'panels' && results && !load">
<md-content layout="row">
<md-card flex="33">
<md-card-title>

View File

@ -21,7 +21,7 @@
</kbn-disfull>
</md-content>
<div flex ng-if="tabView == 'panels' && results" layout="column">
<div flex ng-if="tabView == 'panels' && results && !load" layout="column">
<md-progress-linear class="md-accent" md-mode="indeterminate" ng-show="load"></md-progress-linear>
<md-content layout="row" layout-align="center stretch">
<md-card flex>

View File

@ -21,7 +21,7 @@
</kbn-disfull>
</md-content>
<div flex ng-if="tabView == 'panels' && results" layout="column">
<div flex ng-if="tabView == 'panels' && results && !load" layout="column">
<md-progress-linear class="md-accent" md-mode="indeterminate" ng-show="load"></md-progress-linear>
<md-content layout="row">
<md-card flex="50">