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

56 lines
4.7 KiB
Plaintext
Raw Normal View History

<div flex ng-controller="stateLocationController" layout="column">
2016-09-16 12:35:56 +00:00
2016-09-20 18:07:07 +00:00
<md-content ng-init="menuNavItem = 'overview'" style="height: 70px;">
2016-09-16 12:35:56 +00:00
<md-nav-bar class="wazuhMenuNav" md-selected-nav-item="menuNavItem" nav-bar-aria-label="navigation menu">
<md-nav-item id="header_logo" md-nav-href="#/" name="logo" aria-hidden="true">
<img aria-hidden="true" src="/plugins/wazuh/img/logo_white.png" height="44" weight="252"></img>
</md-nav-item>
2016-09-17 19:33:38 +00:00
<md-nav-item md-nav-href="#/overview" name="overview">Overview</md-nav-item>
2016-09-16 12:35:56 +00:00
<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>
2016-09-20 19:09:50 +00:00
<md-nav-item md-nav-href="#/discover" name="discover">Discover</md-nav-item>
2016-09-20 10:56:07 +00:00
<md-nav-item md-nav-href="#/dashboards" name="dashboards">Dashboards</md-nav-item>
2016-09-16 12:35:56 +00:00
<md-nav-item md-nav-href="#/settings" name="settings">Settings</md-nav-item>
</md-nav-bar>
</md-content>
<md-content layout="row" layout-align="center start" layout-padding ng-init="submenuNavItem = (state.getOverviewState() ? state.getOverviewState() : 'general')">
2016-09-16 12:35:56 +00:00
<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 style="margin-top: -6px" flex="70" class="subNavLine" layout="row" layout-align="end start">
2016-09-16 12:35:56 +00:00
<md-button ng-show="!show_timer" ng-click="show_timer = !show_timer" class="md-primary" md-colors="::{background: 'primary-100', color: 'background-900'}" target="_blank">
<i class="fa fa-clock-o" aria-hidden="true"></i> {{ (!timeFilter) ? '24h' : timeFilter}}
</md-button>
2016-09-22 12:02:46 +00:00
<md-content ng-show="show_timer" layout="row" layout-align="end start" ng-init="timeFilter = (timeFilter ? timeFilter : '24h')">
2016-09-16 12:35:56 +00:00
<md-button ng-click="show_timer = !show_timer; timeFilter='24h';" class="md-primary" md-colors="::{background: 'primary-100', color: 'background-900'}" target="_blank">
<i class="fa fa-clock-o" aria-hidden="true"></i> Last 24 hours
</md-button>
<md-button ng-click="show_timer = !show_timer;timeFilter='7d';" class="md-primary" md-colors="::{background: 'primary-100', color: 'background-900'}" target="_blank">
2016-09-20 18:07:07 +00:00
<i class="fa fa-clock-o" aria-hidden="true"></i> Last week
</md-button>
<md-button ng-click="show_timer = !show_timer;timeFilter='30d';" class="md-primary" md-colors="::{background: 'primary-100', color: 'background-900'}" target="_blank">
<i class="fa fa-clock-o" aria-hidden="true"></i> Last month
2016-09-16 12:35:56 +00:00
</md-button>
</md-content>
2016-09-28 10:19:11 +00:00
<md-button ng-if="submenuNavItem == 'general' && !show_timer" class="md-primary" md-colors="::{background: 'primary-100', color: 'background-900'}" ng-click="openDiscover('generic','*')">
2016-09-20 18:29:46 +00:00
<i class="fa fa-external-link" aria-hidden="true"></i> Alerts</md-button>
2016-09-28 10:19:11 +00:00
<md-button ng-if="submenuNavItem == 'fim' && !show_timer" class="md-primary" md-colors="::{background: 'primary-100', color: 'background-900'}" 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' && !show_timer" class="md-primary" md-colors="::{background: 'primary-100', color: 'background-900'}" 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" md-colors="::{background: 'primary-100', color: 'background-900'}" ng-if="submenuNavItem == 'general' && !show_timer" ng-click="openDashboard('OSSEC-Alerts','*')">
2016-09-20 18:07:07 +00:00
<i class="fa fa-external-link" aria-hidden="true"></i> Dashboard
</md-button>
2016-09-28 10:19:11 +00:00
<md-button class="md-primary" md-colors="::{background: 'primary-100', color: 'background-900'}" ng-if="submenuNavItem == 'fim' && !show_timer" ng-click="openDashboard('File-Integrity-Monitoring','*')">
<i class="fa fa-external-link" aria-hidden="true"></i> Dashboard
</md-button>
2016-09-28 10:19:11 +00:00
<md-button class="md-primary" md-colors="::{background: 'primary-100', color: 'background-900'}" ng-if="submenuNavItem == 'pm' && !show_timer" ng-click="openDashboard('Policy-Monitoring','*')">
2016-09-20 18:07:07 +00:00
<i class="fa fa-external-link" aria-hidden="true"></i> Dashboard
</md-button>
2016-09-16 12:35:56 +00:00
</md-content>
</md-content>
<md-progress-linear class="md-accent" md-mode="indeterminate" ng-show="load"></md-progress-linear>