wazuh-kibana-app/public/directives/wz-menu/wz-menu.html
Jesús Ángel González 12780699d3 Fix wazuh logo
2018-02-21 17:31:42 +01:00

24 lines
3.0 KiB
HTML

<md-nav-bar class="wazuhMenuNav" name="menuTopName" md-selected-nav-item="menuNavItem" nav-bar-aria-label="navigation menu">
<md-nav-item class="wazuhMenuNav-logo" style="margin-top:-10px !important" id="header_logo" md-nav-click="goToClick('#/')" name="logo" aria-hidden="true">
<img aria-hidden="true" kbn-src="/plugins/wazuh/img/new_logo_white.png" height="44" weight="252"></img>
</md-nav-item>
<md-nav-item class="directives-color-white" ng-class="{navItemChangeColor: menuNavItem == 'overview' }" md-nav-click="goToClick('#/overview')" id="overview"><i class="fa fa-bar-chart"></i> Overview</md-nav-item>
<md-nav-item class="directives-color-white" ng-class="{navItemChangeColor: menuNavItem == 'manager' }" md-nav-click="goToClick('#/manager')" id="manager"><i class="fa fa-server"></i> Manager</md-nav-item>
<md-nav-item class="directives-color-white" ng-class="{navItemChangeColor: menuNavItem == 'agents' }" md-nav-click="goToClick('#/agents-preview')" id="agents"><i class="fa fa-tv"></i> Agents</md-nav-item>
<md-nav-item class="directives-color-white" ng-class="{navItemChangeColor: menuNavItem == 'discover' }" md-nav-click="goToClick('#/wazuh-discover')" id="discover"><i class="fa fa-compass"></i> Discover</md-nav-item>
<div class="wazuhMenuNavBar_API" layout="row" ng-show="theresAPI || theresPattern">
<div ng-show="theresAPI" layout layout-align="center center"><i class="fa fa-star fa-fw settings-template-1" aria-hidden="true"></i>{{ currentAPI }}&nbsp;&ndash;&nbsp;<md-tooltip md-direction="bottom">Selected API</md-tooltip></div>
<div ng-show="!theresAPI" layout layout-align="center center"><i class="fa fa-star fa-fw settings-template-1" aria-hidden="true"></i>No API &nbsp;&ndash;&nbsp;<md-tooltip md-direction="bottom">Selected API</md-tooltip></div>
<!-- <div ng-show="theresPattern" layout layout-align="center center">&nbsp;&ndash;&nbsp;{{ currentPattern }}<md-tooltip md-direction="bottom">Selected index-pattern</md-tooltip></div> -->
<div ng-show="theresPattern && patternList && patternList.length > 1" layout layout-align="center center">
<md-select ng-model="currentSelectedPattern" ng-change="changePattern(currentSelectedPattern)" placeholder="Index pattern" class="wazuh-select md-no-underline" aria-label="Select index pattern">
<md-option ng-repeat="pattern in patternList" value="{{ pattern.id }}">{{ pattern.attributes.title }}</md-option>
</md-select>
<md-tooltip md-direction="bottom">Selected index pattern</md-tooltip>
</div>
<div ng-show="theresPattern && patternList && patternList.length === 1" layout layout-align="center center"> {{ patternList[0].attributes.title }} <md-tooltip md-direction="bottom">Selected index pattern</md-tooltip></div>
</div>
<md-nav-item class="wazuhMenuNavBar_gear directives-color-white" md-nav-click="goToClick('#/settings')" id="settings" name="settings">
<i class="fa fa-cog ng-scope" aria-hidden="true"></i>
</md-nav-item>
</md-nav-bar>