2018-08-22 12:23:45 +00:00
|
|
|
<div flex="auto" layout="column" ng-cloak ng-controller="managementController">
|
2016-09-16 12:35:56 +00:00
|
|
|
|
2018-06-14 10:11:20 +00:00
|
|
|
<!-- Top navbar section -->
|
2018-03-20 11:40:01 +00:00
|
|
|
<wz-menu ng-init="menuNavItem = 'manager'"></wz-menu>
|
2018-06-14 10:11:20 +00:00
|
|
|
<!-- End top navbar section -->
|
2016-09-16 12:35:56 +00:00
|
|
|
|
2018-06-14 10:11:20 +00:00
|
|
|
<!-- Navigation section (Breadcrumbs, etc) -->
|
2018-09-03 13:12:42 +00:00
|
|
|
<div layout="row" layout-align="start center" ng-if="tab !== 'monitoring' && tab !== 'new-configuration'">
|
2018-06-14 10:11:20 +00:00
|
|
|
<!-- Breadcrumbs -->
|
|
|
|
<div layout="row" layout-padding>
|
|
|
|
<!-- If you're not on the Welcome tab, show a functional breadcrumb -->
|
2018-06-14 10:35:00 +00:00
|
|
|
<div ng-if="tab !== 'welcome'">
|
2018-06-14 10:11:20 +00:00
|
|
|
<span class="wz-text-link cursor-pointer" ng-click="switchTab('welcome')">Management</span>
|
2018-06-14 10:35:00 +00:00
|
|
|
<span> / {{ tabNames[tab] }}</span>
|
2018-06-14 10:11:20 +00:00
|
|
|
</div>
|
|
|
|
<!-- If you're on the Welcome tab, show a blank, simple breadcrumb -->
|
2018-06-14 10:35:00 +00:00
|
|
|
<div ng-if="tab === 'welcome'">
|
2018-06-14 10:11:20 +00:00
|
|
|
<span>Management / Welcome</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- End breadcrumbs -->
|
2017-11-20 10:04:46 +00:00
|
|
|
</div>
|
2018-06-14 10:11:20 +00:00
|
|
|
<!-- End navigation section -->
|
2018-07-02 12:54:33 +00:00
|
|
|
|
|
|
|
<!-- Wazuh management navigation bar -->
|
|
|
|
<md-nav-bar
|
|
|
|
ng-if="!load && inArray(tab, wazuhManagementTabs)"
|
|
|
|
class="wz-nav-bar"
|
|
|
|
ng-show="tab !== 'welcome'"
|
|
|
|
md-selected-nav-item="tab"
|
|
|
|
nav-bar-aria-label="Wazuh management navigation links">
|
|
|
|
<md-nav-item class="wz-nav-item" md-nav-click="reloadRuleset()" name="ruleset">Ruleset</md-nav-item>
|
|
|
|
<md-nav-item class="wz-nav-item" md-nav-click="reloadGroups()" name="groups">Groups</md-nav-item>
|
|
|
|
<md-nav-item class="wz-nav-item" md-nav-click="switchTab('configuration')" name="configuration">Configuration</md-nav-item>
|
|
|
|
</md-nav-bar>
|
|
|
|
<!-- End Wazuh management navigation bar -->
|
|
|
|
|
|
|
|
<!-- Status and reports navigation bar -->
|
|
|
|
<md-nav-bar
|
|
|
|
ng-if="!load && inArray(tab, statusReportsTabs) && tab !== 'monitoring'"
|
|
|
|
class="wz-nav-bar"
|
|
|
|
ng-show="tab !== 'welcome'"
|
|
|
|
md-selected-nav-item="tab"
|
|
|
|
nav-bar-aria-label="Status and reports navigation links">
|
|
|
|
<md-nav-item class="wz-nav-item" md-nav-click="switchTab('status')" name="status">Status</md-nav-item>
|
|
|
|
<md-nav-item class="wz-nav-item" md-nav-click="switchTab('logs')" name="logs">Logs</md-nav-item>
|
|
|
|
<md-nav-item class="wz-nav-item" md-nav-click="switchTab('monitoring')" name="monitoring">Monitoring</md-nav-item>
|
|
|
|
<md-nav-item class="wz-nav-item" md-nav-click="switchTab('reporting')" name="reporting">Reporting</md-nav-item>
|
|
|
|
</md-nav-bar>
|
2018-07-02 14:09:57 +00:00
|
|
|
<!-- End Status and reports navigation bar -->
|