2018-06-05 10:22:13 +00:00
|
|
|
<div ng-cloak layout="column" ng-controller="overviewController">
|
2016-09-16 12:35:56 +00:00
|
|
|
|
2018-06-04 10:57:01 +00:00
|
|
|
<!-- Top navbar section -->
|
2018-03-20 11:40:01 +00:00
|
|
|
<wz-menu ng-init="menuNavItem = 'overview'"></wz-menu>
|
2018-06-04 10:57:01 +00:00
|
|
|
<!-- End top navbar section -->
|
2016-09-16 12:35:56 +00:00
|
|
|
|
2018-06-04 10:57:01 +00:00
|
|
|
<!-- Navigation section (Breadcrumbs, Discover, etc) -->
|
2018-06-05 16:46:17 +00:00
|
|
|
<div layout="row" layout-align="start center">
|
2018-06-04 10:57:01 +00:00
|
|
|
<!-- Breadcrumbs -->
|
2018-06-04 12:13:59 +00:00
|
|
|
<div layout="row" layout-padding>
|
2018-06-05 16:46:17 +00:00
|
|
|
<!-- If you're not on the Welcome tab, show a functional breadcrumb -->
|
|
|
|
<span ng-if="tab !== 'welcome'">
|
2018-06-04 12:15:31 +00:00
|
|
|
<i class="fa fa-fw fa-bar-chart"></i>
|
2018-06-04 14:29:12 +00:00
|
|
|
<span class="wz-text-link cursor-pointer" ng-click="switchTab('welcome')">Overview</span> /
|
2018-06-05 08:47:25 +00:00
|
|
|
<span>{{ tabNames[tab] }}</span>
|
2018-06-04 12:13:59 +00:00
|
|
|
</span>
|
2018-06-05 16:46:17 +00:00
|
|
|
<!-- If you're on the Welcome tab, show a blank, simple breadcrumb -->
|
|
|
|
<span ng-if="tab === 'welcome'">
|
2018-06-04 12:15:31 +00:00
|
|
|
<i class="fa fa-fw fa-bar-chart"></i>
|
2018-06-04 14:29:12 +00:00
|
|
|
<span>Overview / Welcome</span>
|
2018-06-04 12:13:59 +00:00
|
|
|
</span>
|
2018-06-04 10:57:01 +00:00
|
|
|
</div>
|
|
|
|
<!-- End breadcrumbs -->
|
|
|
|
|
2018-06-05 08:47:25 +00:00
|
|
|
<!-- Reporting button section -->
|
2018-06-05 16:46:17 +00:00
|
|
|
<div ng-show="tab !== 'welcome'">
|
2018-06-05 08:47:25 +00:00
|
|
|
<!-- Report button -->
|
|
|
|
<md-button class="wz-button-flat small" ng-disabled="!rendered || loading || resultState !== 'ready'" ng-click="startVis2Png()">
|
|
|
|
<i class="fa fa-fw fa-file-text"></i> Generate report
|
|
|
|
</md-button>
|
|
|
|
</div>
|
|
|
|
<!-- End Reporting buttons section -->
|
|
|
|
|
2018-06-04 16:52:37 +00:00
|
|
|
<!-- Separator -->
|
|
|
|
<span flex></span>
|
|
|
|
<!-- End separator -->
|
|
|
|
|
2018-06-05 08:47:25 +00:00
|
|
|
<!-- Discover/Panels buttons section -->
|
2018-06-05 16:46:17 +00:00
|
|
|
<div ng-show="tab !== 'welcome'">
|
2018-06-04 14:29:12 +00:00
|
|
|
<!-- Panels button -->
|
|
|
|
<md-button ng-if="tabView === 'discover'" class="wz-button-flat small" ng-click="switchSubtab('panels')">
|
2018-06-05 08:47:25 +00:00
|
|
|
<i class="fa fa-th fa-fw"></i> View panels
|
2018-06-04 10:57:01 +00:00
|
|
|
</md-button>
|
2018-06-04 14:29:12 +00:00
|
|
|
|
|
|
|
<!-- Discover button -->
|
|
|
|
<md-button ng-if="tabView === 'panels'" class="wz-button-flat small" ng-click="switchSubtab('discover')">
|
|
|
|
<i class="fa fa-compass fa-fw"></i> View Discover
|
|
|
|
</md-button>
|
2018-06-04 10:57:01 +00:00
|
|
|
</div>
|
2018-06-05 08:47:25 +00:00
|
|
|
<!-- End Discover/Panels buttons section -->
|
2018-06-04 10:57:01 +00:00
|
|
|
</div>
|
|
|
|
<!-- End navigation section -->
|
|
|
|
|
2018-06-05 13:18:43 +00:00
|
|
|
<!-- Discover search bar section -->
|
|
|
|
<kbn-dis ng-show="tab !== 'welcome'"></kbn-dis>
|
|
|
|
<!-- End Discover search bar section -->
|
2018-06-04 10:57:01 +00:00
|
|
|
|
2018-06-05 13:18:43 +00:00
|
|
|
<!-- Loading status section -->
|
|
|
|
<div ng-if="tab !== 'welcome'" layout="column" layout-align="center center" class="wazuh-loading" ng-show="resultState === 'ready' && tabView === 'panels' && !rendered">
|
|
|
|
<div class="percentage"><i class="fa fa-fw fa-spin fa-spinner" aria-hidden="true"></i></div>
|
|
|
|
<div class="percentage">{{loadingStatus}}</div>
|
|
|
|
</div>
|
|
|
|
<!-- End loading status section -->
|
2018-06-04 10:57:01 +00:00
|
|
|
|
2018-06-05 13:18:43 +00:00
|
|
|
<!-- Report status section -->
|
|
|
|
<div ng-if="tab !== 'welcome'" layout="column" layout-align="center center" class="wazuh-loading" ng-show="reportBusy && reportStatus">
|
|
|
|
<div class="percentage"><i class="fa fa-fw fa-spin fa-spinner" aria-hidden="true"></i></div>
|
|
|
|
<div class="percentage">{{reportStatus}}</div>
|
|
|
|
</div>
|
|
|
|
<!-- End report status section -->
|
2018-06-04 10:57:01 +00:00
|
|
|
|
2018-06-05 13:18:43 +00:00
|
|
|
<!-- No results section -->
|
|
|
|
<div ng-if="tab !== 'welcome'" layout="row" ng-show="resultState !== 'ready' && tabView === 'panels'">
|
|
|
|
<md-card flex layout="column" class="wz-md-card">
|
|
|
|
<md-card-content class="wz-text-center">
|
|
|
|
<span>There are no results for selected time range. Try another one.</span>
|
|
|
|
</md-card-content>
|
|
|
|
</md-card>
|
2018-06-04 10:57:01 +00:00
|
|
|
</div>
|
2018-06-05 13:18:43 +00:00
|
|
|
<!-- No results section -->
|