wazuh-kibana-app/public/templates/management/management.head

55 lines
3.0 KiB
Plaintext
Raw Normal View History

2018-11-02 16:03:15 +00:00
<div flex="auto" layout="column" ng-cloak ng-controller="managementController as mctrl">
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
<!-- Navigation section -->
2018-11-02 16:03:15 +00:00
<div layout="row" layout-align="start center" ng-if="mctrl.tab !== 'monitoring' && mctrl.tab !== '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 -->
2019-01-15 15:41:35 +00:00
<div ng-if="mctrl.tab !== 'welcome' && !mctrl.currentGroup">
2018-11-02 16:03:15 +00:00
<span class="wz-text-link cursor-pointer" ng-click="mctrl.switchTab('welcome')">Management</span>
<span> / {{ mctrl.tabNames[mctrl.tab] }}</span>
2018-06-14 10:11:20 +00:00
</div>
2019-01-15 15:41:35 +00:00
<div ng-if="mctrl.tab === 'groups' && mctrl.currentGroup && mctrl.currentGroup.name">
<span class="wz-text-link cursor-pointer" ng-click="mctrl.switchTab('welcome')">Management</span>
<span class="wz-text-link cursor-pointer" ng-click="mctrl.switchTab('groups')"> / {{ mctrl.tabNames[mctrl.tab] }}</span>
<span> / {{ mctrl.currentGroup.name }} </span>
</div>
2018-06-14 10:11:20 +00:00
<!-- If you're on the Welcome tab, show a blank, simple breadcrumb -->
2018-11-02 16:03:15 +00:00
<div ng-if="mctrl.tab === 'welcome'">
2018-06-14 10:11:20 +00:00
<span>Management / Welcome</span>
</div>
</div>
<!-- End breadcrumbs -->
</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
2018-11-02 16:03:15 +00:00
ng-if="!mctrl.load && mctrl.inArray(mctrl.tab, mctrl.wazuhManagementTabs)"
2018-07-02 12:54:33 +00:00
class="wz-nav-bar"
2018-11-02 16:03:15 +00:00
ng-show="mctrl.tab !== 'welcome'"
md-selected-nav-item="mctrl.tab"
2018-07-02 12:54:33 +00:00
nav-bar-aria-label="Wazuh management navigation links">
2018-11-02 16:03:15 +00:00
<md-nav-item class="wz-nav-item" md-nav-click="mctrl.switchTab('ruleset')" name="ruleset">Ruleset</md-nav-item>
<md-nav-item class="wz-nav-item" md-nav-click="mctrl.switchTab('groups')" name="groups">Groups</md-nav-item>
2018-07-02 12:54:33 +00:00
</md-nav-bar>
<!-- End Wazuh management navigation bar -->
<!-- Status and reports navigation bar -->
<md-nav-bar
2018-11-02 16:03:15 +00:00
ng-if="!mctrl.load && mctrl.inArray(mctrl.tab, mctrl.statusReportsTabs) && mctrl.tab !== 'monitoring'"
2018-07-02 12:54:33 +00:00
class="wz-nav-bar"
2018-11-02 16:03:15 +00:00
ng-show="mctrl.tab !== 'welcome'"
md-selected-nav-item="mctrl.tab"
2018-07-02 12:54:33 +00:00
nav-bar-aria-label="Status and reports navigation links">
2018-11-02 16:03:15 +00:00
<md-nav-item class="wz-nav-item" md-nav-click="mctrl.switchTab('status')" name="status">Status</md-nav-item>
<md-nav-item class="wz-nav-item" md-nav-click="mctrl.switchTab('logs')" name="logs">Logs</md-nav-item>
2018-11-13 14:18:16 +00:00
<md-nav-item class="wz-nav-item" md-nav-click="mctrl.switchTab('monitoring')" name="monitoring">Cluster</md-nav-item>
2018-11-02 16:03:15 +00:00
<md-nav-item class="wz-nav-item" md-nav-click="mctrl.switchTab('reporting')" name="reporting">Reporting</md-nav-item>
2018-07-02 12:54:33 +00:00
</md-nav-bar>
2018-07-02 14:09:57 +00:00
<!-- End Status and reports navigation bar -->