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

75 lines
4.2 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">
2019-01-16 15:16:00 +00:00
<span class="wz-text-link cursor-pointer" ng-click="mctrl.switchTab('welcome', true)">Management</span>
2018-11-02 16:03:15 +00:00
<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">
2019-01-16 15:16:00 +00:00
<span class="wz-text-link cursor-pointer" ng-click="mctrl.switchTab('welcome', true)">Management</span>
<span class="wz-text-link cursor-pointer" ng-click="mctrl.switchTab('groups', true)"> / {{ mctrl.tabNames[mctrl.tab] }}</span>
2019-01-15 15:41:35 +00:00
<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>
2019-01-25 11:59:59 +00:00
<div layout="row" layout-align="start center" ng-if="mctrl.tab !== 'monitoring' && mctrl.tab === 'configuration'">
<!-- Breadcrumbs -->
<div layout="row" layout-padding>
<!-- Welcome section -->
<div ng-if="!mctrl.currentConfiguration">
<span class="wz-text-link cursor-pointer" ng-click="mctrl.switchTab('welcome')">Management</span>
<span> / </span>
<span>{{ mctrl.tabNames[mctrl.tab] }}</span>
</div>
<!-- First-level section -->
<div ng-if="mctrl.currentConfiguration">
<span class="wz-text-link cursor-pointer" ng-click="mctrl.switchTab('welcome', true)">Management</span>
<span> / </span>
<span class="wz-text-link cursor-pointer" ng-click="mctrl.switchTab('configuration')">{{ mctrl.tabNames[mctrl.tab] }}</span>
<span> / {{ mctrl.currentConfiguration }} </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 -->
2019-01-28 11:58:31 +00:00
<!--<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">
2019-01-16 15:16:00 +00:00
<md-nav-item class="wz-nav-item" md-nav-click="mctrl.switchTab('ruleset', true)" name="ruleset">Ruleset</md-nav-item>
<md-nav-item class="wz-nav-item" md-nav-click="mctrl.switchTab('groups', true)" name="groups">Groups</md-nav-item>
2019-01-29 11:33:40 +00:00
<md-nav-item class="wz-nav-item" md-nav-click="mctrl.switchTab('configuration', true)" name="configuration">Configuration</md-nav-item>
2019-01-28 11:58:31 +00:00
</md-nav-bar>-->
2018-07-02 12:54:33 +00:00
<!-- 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">
2019-01-16 15:16:00 +00:00
<md-nav-item class="wz-nav-item" md-nav-click="mctrl.switchTab('status', true)" name="status">Status</md-nav-item>
<md-nav-item class="wz-nav-item" md-nav-click="mctrl.switchTab('logs', true)" name="logs">Logs</md-nav-item>
<md-nav-item class="wz-nav-item" md-nav-click="mctrl.switchTab('monitoring', true)" name="monitoring">Cluster</md-nav-item>
<md-nav-item class="wz-nav-item" md-nav-click="mctrl.switchTab('reporting', true)" 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 -->