wazuh-kibana-app/public/templates/agents-fim.html
Juanjo Jiménez 4045278ca4 First approach for CSS reordering
This commit reorders all the CSS from the app, removing the hard-coded one from the templates, and making a first approach of reordering in the `less` folder.
2017-11-23 11:22:27 +01:00

106 lines
4.9 KiB
HTML

<md-content ng-if="tab == 'fim' && _agent" id="agents-fim" ng-controller="fimController">
<div class='uil-ring-css' ng-if="tabView == 'panels'" ng-show='!hideRing(8)'><div></div></div>
<!-- Kibana search bar -->
<!-- Local nav. -->
<div ng-if="hideRing(8) && !loading" ng-controller="kibanaSearchbar">
<kbn-top-nav name="agents_fim" config="topNavMenu">
<!-- Transcluded elements. -->
<div data-transclude-slots>
<!-- Title. -->
<!-- Search. -->
<div ng-show="chrome.getVisible()" class="fullWidth" data-transclude-slot="bottomRow">
<query-bar query="state.query" app-name="'wazuh'" on-submit="updateQueryAndFetch($query)">
</query-bar>
</div>
</div>
</kbn-top-nav>
<!-- Filters. -->
<filter-bar ng-show="showFilterBar()" state="state" index-patterns="indexPattern" ng-if="state.query.language === 'lucene'"></filter-bar>
</div>
<!-- No results message -->
<md-content flex layout="row" layout-align="start start" ng-show="!results && !loading" ng-if="tabView == 'panels' && hideRing(8)">
<md-card flex layout="column">
<md-card-content class="agents-fim-no-results">
No results for selected time interval
</md-card-content>
</md-card>
</md-content>
<!-- View: Discover -->
<md-content class="agents-fim-discover" flex layout="column" layout-align="start space-around" ng-if="$parent.tabView == 'discover' && agentInfo.name">
<kbn-disfull table-height="1000px;" dis-a="(columns:!(_source),filters:!(),index:'wazuh-alerts-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'*')),sort:!('@timestamp',desc))"
dis-filter="rule.groups:syscheck "
infinite-scroll="true">
</kbn-disfull>
</md-content>
<!-- View: Panels -->
<div flex layout="column" ng-show='hideRing(8) && results && !loading' ng-if="tabView == 'panels' && !load" class="wazuh-column">
<div layout="row" class="agents-fim-row">
<md-card flex="33">
<md-card-content class="wazuh-column">
<span class="md-headline">Users</span>
<kbn-vis vis-id="'Wazuh-App-Agents-FIM-Users'" id="Wazuh-App-Agents-FIM-Users">
</md-card-content>
</md-card>
<md-card flex="33">
<md-card-content class="wazuh-column">
<span class="md-headline">Groups</span>
<kbn-vis vis-id="'Wazuh-App-Agents-FIM-Groups'" id="Wazuh-App-Agents-FIM-Groups">
</md-card-content>
</md-card>
<md-card flex="33">
<md-card-content class="wazuh-column">
<span class="md-headline">Permissions</span>
<kbn-vis vis-id="'Wazuh-App-Agents-FIM-Permissions'" id="Wazuh-App-Agents-FIM-Permissions">
</md-card-content>
</md-card>
</div>
<div layout="row" class="agents-fim-row">
<md-card flex>
<md-card-content class="wazuh-column">
<span class="md-headline">Events</span>
<kbn-vis vis-id="'Wazuh-App-Agents-FIM-Events'" id="Wazuh-App-Agents-FIM-Events"></kbn-vis>
</md-card-content>
</md-card>
</div>
<div layout="row" class="agents-fim-row">
<md-card flex="33">
<md-card-content class="wazuh-column">
<span class="md-headline">Files added</span>
<kbn-vis vis-id="'Wazuh-App-Agents-FIM-Files-added'" id="Wazuh-App-Agents-FIM-Files-added"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex="33">
<md-card-content class="wazuh-column">
<span class="md-headline">Files modified</span>
<kbn-vis vis-id="'Wazuh-App-Agents-FIM-Files-modified'" id="Wazuh-App-Agents-FIM-Files-modified"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex="33">
<md-card-content class="wazuh-column">
<span class="md-headline">Files deleted</span>
<kbn-vis vis-id="'Wazuh-App-Agents-FIM-Files-deleted'" id="Wazuh-App-Agents-FIM-Files-deleted"></kbn-vis>
</md-card-content>
</md-card>
</div>
<div layout="row" layout-align="space-between stretch" class="agents-fim-summary-row">
<md-card flex>
<md-card-content class="wazuh-column">
<span class="md-headline">Alerts summary</span>
<kbn-vis vis-id="'Wazuh-App-Agents-FIM-Alerts-summary'" id="Wazuh-App-Agents-FIM-Alerts-summary"></kbn-vis>
</md-card-content>
</md-card>
</div>
</div>
</md-content>