wazuh-kibana-app/public/templates/overview.head
2016-11-23 12:53:41 -08:00

48 lines
3.3 KiB
Plaintext

<div flex ng-controller="stateLocationController" layout="column">
<md-content ng-init="menuNavItem = 'overview'" style="height: 70px;">
<md-nav-bar class="wazuhMenuNav" md-selected-nav-item="menuNavItem" nav-bar-aria-label="navigation menu">
<md-nav-item aria-label="wazuhHead" id="header_logo" md-nav-href="#/" name="logo" aria-hidden="true">
<img aria-label="wazuhHead" aria-hidden="true" src="/plugins/wazuh/img/logo_white.png" height="44" weight="252"></img>
</md-nav-item>
<md-nav-item md-nav-href="#/overview" name="overview">Overview</md-nav-item>
<md-nav-item md-nav-href="#/manager" name="manager">Manager</md-nav-item>
<md-nav-item md-nav-href="#/agents" name="agents">Agents</md-nav-item>
<md-nav-item md-nav-href="#/discover" name="discover" ng-click="resetDiscover();">Discover</md-nav-item>
<md-nav-item md-nav-href="#/dashboards" name="dashboards" ng-click="resetDashboards();">Dashboards</md-nav-item>
<a href="#/settings"><button id="settingButtonTop" class="md-primary md-button ng-scope md-ink-ripple" type="button">
<i class="fa fa-cog ng-scope" aria-hidden="true" style="font-size: 18px;"></i>
</button>
</a>
</md-nav-bar>
</md-content>
<md-content class="headBar" layout="row" layout-align="center start" ng-init="submenuNavItem = 'general'">
<md-nav-bar flex="60" style="padding-right: 0px;" md-selected-nav-item="submenuNavItem" nav-bar-aria-label="navigation submenu">
<md-nav-item md-nav-click="submenuNavItem = 'general'" name="general">General</md-nav-item>
<md-nav-item md-nav-click="submenuNavItem = 'fim'" name="fim">File integrity</md-nav-item>
<md-nav-item md-nav-click="submenuNavItem = 'pm'" name="pm">Policy monitoring</md-nav-item>
</md-nav-bar>
<md-content class="horizontal-menu-right" style="margin-top: -2px" flex="70" class="subNavLine" layout="row" layout-align="end start">
<md-button ng-if="submenuNavItem == 'general'" class="md-primary buttonMenu" ng-click="openDiscover('generic','*')">
<i class="fa fa-external-link" aria-hidden="true"></i> Alerts</md-button>
<md-button ng-if="submenuNavItem == 'fim'" class="md-primary buttonMenu" ng-click="openDiscover('fim','rule.groups: syscheck')"><i class="fa fa-external-link" aria-hidden="true"></i> Alerts</md-button>
<md-button ng-if="submenuNavItem == 'pm'" class="md-primary buttonMenu" ng-click="openDiscover('rootcheck','rule.groups: rootcheck')"><i class="fa fa-external-link" aria-hidden="true"></i> Alerts</md-button>
<md-button class="md-primary buttonMenu" ng-if="submenuNavItem == 'general'" ng-click="openDashboard('OSSEC-Alerts','*')">
<i class="fa fa-external-link" aria-hidden="true"></i> Dashboard
</md-button>
<md-button class="md-primary buttonMenu" ng-if="submenuNavItem == 'fim'" ng-click="openDashboard('File-Integrity-Monitoring','*')">
<i class="fa fa-external-link" aria-hidden="true"></i> Dashboard
</md-button>
<md-button class="md-primary buttonMenu" ng-if="submenuNavItem == 'pm' " ng-click="openDashboard('Policy-Monitoring','*')">
<i class="fa fa-external-link" aria-hidden="true"></i> Dashboard
</md-button>
</md-content>
</md-content>
<md-progress-linear class="md-accent" md-mode="indeterminate" ng-show="load"></md-progress-linear>