Properly hiding visualizations

This commit is contained in:
havidarou 2017-11-25 11:17:57 -05:00
parent 8a551be8b1
commit f305f04891
7 changed files with 7 additions and 7 deletions

View File

@ -3,7 +3,7 @@
<div class='uil-ring-css' ng-show="!hideRing(11) && resultState === 'loading'"><div></div></div> <div class='uil-ring-css' ng-show="!hideRing(11) && resultState === 'loading'"><div></div></div>
<!-- View: Panels --> <!-- View: Panels -->
<div ng-show="resultState === 'ready'" class="wazuh-column"> <div ng-show="resultState === 'ready' && tabView === 'panels'" class="wazuh-column">
<div layout="row" layout-align="center stretch" class="overview-audit-metric-row"> <div layout="row" layout-align="center stretch" class="overview-audit-metric-row">
<md-card flex="10"> <md-card flex="10">

View File

@ -3,7 +3,7 @@
<div class='uil-ring-css' ng-show="!hideRing(17) && resultState === 'loading'"><div></div></div> <div class='uil-ring-css' ng-show="!hideRing(17) && resultState === 'loading'"><div></div></div>
<!-- View: Panels --> <!-- View: Panels -->
<div ng-show="resultState === 'ready'" class="wazuh-column"> <div ng-show="resultState === 'ready' && tabView === 'panels'" class="wazuh-column">
<div layout="row" class="overview-fim-metrics-div"> <div layout="row" class="overview-fim-metrics-div">
<div flex="10" layout="column"> <div flex="10" layout="column">

View File

@ -3,7 +3,7 @@
<div class='uil-ring-css' ng-show="!hideRing(15) && resultState === 'loading'"><div></div></div> <div class='uil-ring-css' ng-show="!hideRing(15) && resultState === 'loading'"><div></div></div>
<!-- View: Panels --> <!-- View: Panels -->
<div ng-show="resultState === 'ready'" class="wazuh-column"> <div ng-show="resultState === 'ready' && tabView === 'panels'" class="wazuh-column">
<div layout="row" layout-align="center stretch" class="overview-general-metric-row"> <div layout="row" layout-align="center stretch" class="overview-general-metric-row">
<md-card flex> <md-card flex>

View File

@ -3,7 +3,7 @@
<div class='uil-ring-css' ng-show="!hideRing(14) && resultState === 'loading'"><div></div></div> <div class='uil-ring-css' ng-show="!hideRing(14) && resultState === 'loading'"><div></div></div>
<!-- View: Panels --> <!-- View: Panels -->
<div ng-show="resultState === 'ready'" class="wazuh-column"> <div ng-show="resultState === 'ready' && tabView === 'panels'" class="wazuh-column">
<div layout="row" layout-align="center stretch" class="overview-oscap-top-row-div"> <div layout="row" layout-align="center stretch" class="overview-oscap-top-row-div">
<md-card flex="20"> <md-card flex="20">

View File

@ -3,7 +3,7 @@
<div class='uil-ring-css' ng-show="!hideRing(5) && resultState === 'loading'"><div></div></div> <div class='uil-ring-css' ng-show="!hideRing(5) && resultState === 'loading'"><div></div></div>
<!-- View: Panels --> <!-- View: Panels -->
<div ng-show="resultState === 'ready'" class="wazuh-column"> <div ng-show="resultState === 'ready' && tabView === 'panels'" class="wazuh-column">
<div layout="row" layout-align="center stretch"> <div layout="row" layout-align="center stretch">
<md-card flex> <md-card flex>

View File

@ -3,7 +3,7 @@
<div class='uil-ring-css' ng-show="!hideRing(5) && resultState === 'loading'"><div></div></div> <div class='uil-ring-css' ng-show="!hideRing(5) && resultState === 'loading'"><div></div></div>
<!-- View: Panels --> <!-- View: Panels -->
<div ng-show="resultState === 'ready'" class="wazuh-column"> <div ng-show="resultState === 'ready' && tabView === 'panels'" class="wazuh-column">
<div layout="row" layout-align="center stretch" class="overview-pm-top-row"> <div layout="row" layout-align="center stretch" class="overview-pm-top-row">
<md-card flex="50"> <md-card flex="50">

View File

@ -34,7 +34,7 @@
<kbn-dis></kbn-dis> <kbn-dis></kbn-dis>
<!-- No results message --> <!-- No results message -->
<md-content flex layout="row" layout-align="start start" ng-show="resultState === 'none'"> <md-content flex layout="row" layout-align="start start" ng-show="resultState === 'none' && tabView === 'panels'">
<md-card flex layout="column"> <md-card flex layout="column">
<md-card-content class="overview-fim-no-results"> <md-card-content class="overview-fim-no-results">
No results for selected time interval No results for selected time interval