Fixed Monitoring and Ruleset pages for IE11

This commit is contained in:
JuanjiJG 2018-08-23 09:20:42 +02:00
parent 08501ea571
commit a108a02519
10 changed files with 28 additions and 28 deletions

View File

@ -1,4 +1,4 @@
<div flex layout="column" ng-controller="clusterController" ng-if="tab === 'monitoring'" ng-show="isClusterEnabled && isClusterRunning">
<div flex="auto" layout="column" ng-controller="clusterController" ng-if="tab === 'monitoring'" ng-show="isClusterEnabled && isClusterRunning">
<!-- Loading ring -->
<div class='uil-ring-css' ng-show="loading">

View File

@ -1,4 +1,4 @@
<div flex layout="column" layout-align="start stretch" ng-show="currentNode">
<div layout="column" layout-align="start stretch" ng-show="currentNode">
<!-- Node alerts summary card -->
<div layout="row" layout-align="start stretch" class="height-250 wz-timelions" ng-show="!loading && currentNode && !showConfig">

View File

@ -1,4 +1,4 @@
<div layout="column" flex ng-if="showNodes && !currentNode">
<div layout="column" ng-if="showNodes && !currentNode">
<div layout="row" class="md-padding">
<input placeholder="Filter nodes..." ng-model="custom_search" type="text" class="kuiLocalSearchInput ng-empty ng-pristine ng-scope ng-touched ng-valid"
aria-invalid="false" wz-enter="search(custom_search)">

View File

@ -1,4 +1,4 @@
<div ng-if="!loading && viewingDetail" flex layout="column">
<div ng-if="!loading && viewingDetail" layout="column">
<!-- Back button and title -->
<div layout="row" layout-align="start center">
@ -28,7 +28,7 @@
<!-- Details section -->
<md-card flex class="wz-md-card">
<md-card-content class="wazuh-column">
<md-card-content>
<span class="wz-headline-title"><i class="fa fa-fw fa-info" aria-hidden="true"></i> Details</span>
<md-divider class="wz-margin-top-10"></md-divider>
<div ng-if="currentDecoder.details.status" layout="row" layout-wrap class="wz-padding-top-10">
@ -113,7 +113,7 @@
<!-- Regex section -->
<md-card flex class="wz-md-card" ng-if="isArray(currentDecoder.details.regex)">
<md-card-content class="wazuh-column">
<md-card-content>
<span class="wz-headline-title"><i class="fa fa-fw fa-asterisk" aria-hidden="true"></i> Regex</span>
<md-divider class="wz-margin-top-10"></md-divider>
<div ng-repeat="item in currentDecoder.details.regex">
@ -131,7 +131,7 @@
<!-- Match section -->
<md-card flex class="wz-md-card" ng-if="isArray(currentDecoder.details.match)">
<md-card-content class="wazuh-column">
<md-card-content>
<span class="wz-headline-title"><i class="fa fa-fw fa-retweet" aria-hidden="true"></i> Match</span>
<md-divider class="wz-margin-top-10"></md-divider>
<div ng-repeat="item in currentDecoder.details.match">
@ -145,7 +145,7 @@
<!-- Prematch section -->
<md-card flex class="wz-md-card" ng-if="isArray(currentDecoder.details.prematch)">
<md-card-content class="wazuh-column">
<md-card-content>
<span class="wz-headline-title"><i class="fa fa-fw fa-retweet" aria-hidden="true"></i> Prematch</span>
<md-divider class="wz-margin-top-10"></md-divider>
<div ng-repeat="item in currentDecoder.details.prematch">
@ -165,10 +165,10 @@
</div>
<div layout="row" ng-if="currentDecoder" class="md-padding">
<wz-table
flex
path="'/decoders'"
flex
path="'/decoders'"
implicit-filter="[{ name:'file',value: currentDecoder.file}]"
keys="['name',{value:'details.program_name',size:2,nosortable:true},{value:'details.order',size:2,nosortable:true},'file']"
keys="['name',{value:'details.program_name',size:2,nosortable:true},{value:'details.order',size:2,nosortable:true},'file']"
allow-click="true">
</wz-table>
</div>

View File

@ -1,4 +1,4 @@
<div ng-if="!loading && !viewingDetail" flex layout="column" class="md-padding">
<div ng-if="!loading && !viewingDetail" layout="column" class="md-padding">
<div id="content" layout="row" layout-align="start start">
<input flex placeholder="Filter decoders..." ng-model="custom_search" type="text" class="kuiLocalSearchInput ng-empty ng-pristine ng-scope ng-touched ng-valid wz-margin-top-4 height-36"

View File

@ -1,4 +1,4 @@
<div flex ng-if="!loading && globalRulesetTab == 'decoders'" ng-controller="decodersController" layout="column" id="rulesContainer" layout-align="start space-around">
<div ng-if="!loading && globalRulesetTab == 'decoders'" ng-controller="decodersController" layout="column" id="rulesContainer" layout-align="start space-around">
<div class='uil-ring-css' ng-show="loading">
<div></div>

View File

@ -1,4 +1,4 @@
<div ng-if="!loading && viewingDetail" flex layout="column">
<div ng-if="!loading && viewingDetail" layout="column">
<!-- Back button and title -->
<div layout="row" layout-align="start center">
@ -31,7 +31,7 @@
<!-- Groups section -->
<md-card ng-if="currentRule.groups.length > 0" flex class="wz-md-card">
<md-card-content class="wazuh-column">
<md-card-content>
<span class="wz-headline-title"><i class="fa fa-fw fa-tasks" aria-hidden="true"></i> Groups</span>
<md-divider class="wz-margin-top-10"></md-divider>
<div layout="row" layout-align="start start" layout-wrap>
@ -45,7 +45,7 @@
<!-- Details section -->
<md-card flex class="wz-md-card">
<md-card-content class="wazuh-column">
<md-card-content>
<span class="wz-headline-title"><i class="fa fa-fw fa-info" aria-hidden="true"></i> Details</span>
<md-divider class="wz-margin-top-10"></md-divider>
<div ng-if="currentRule.details.status" layout="row" layout-wrap class="wz-padding-top-10">
@ -126,7 +126,7 @@
<!-- PCI section -->
<md-card ng-if="currentRule.pci.length > 0" flex class="wz-md-card">
<md-card-content class="wazuh-column">
<md-card-content>
<span class="wz-headline-title"><i class="fa fa-fw fa-cogs" aria-hidden="true"></i> PCI</span>
<md-divider class="wz-margin-top-10"></md-divider>
<div layout="row" layout-align="start start" layout-wrap>
@ -140,7 +140,7 @@
<!-- GDPR section -->
<md-card ng-if="currentRule.gdpr.length > 0" flex class="wz-md-card">
<md-card-content class="wazuh-column">
<md-card-content>
<span class="wz-headline-title"><i class="fa fa-fw fa-cogs" aria-hidden="true"></i> GDPR</span>
<md-divider class="wz-margin-top-10"></md-divider>
<div layout="row" layout-align="start start" layout-wrap>
@ -158,7 +158,7 @@
<!-- Regex section -->
<md-card flex class="wz-md-card" ng-if="isArray(currentRule.details.regex)">
<md-card-content class="wazuh-column">
<md-card-content>
<span class="wz-headline-title"><i class="fa fa-fw fa-asterisk" aria-hidden="true"></i> Regex</span>
<md-divider class="wz-margin-top-10"></md-divider>
<div ng-repeat="item in currentRule.details.regex">
@ -172,7 +172,7 @@
<!-- Match section -->
<md-card flex class="wz-md-card" ng-if="isArray(currentRule.details.match)">
<md-card-content class="wazuh-column">
<md-card-content>
<span class="wz-headline-title"><i class="fa fa-fw fa-retweet" aria-hidden="true"></i> Match</span>
<md-divider class="wz-margin-top-10"></md-divider>
<div ng-repeat="item in currentRule.details.match">
@ -186,7 +186,7 @@
<!-- Prematch section -->
<md-card flex class="wz-md-card" ng-if="isArray(currentRule.details.prematch)">
<md-card-content class="wazuh-column">
<md-card-content>
<span class="wz-headline-title"><i class="fa fa-fw fa-retweet" aria-hidden="true"></i> Prematch</span>
<md-divider class="wz-margin-top-10"></md-divider>
<div ng-repeat="item in currentRule.details.prematch">
@ -205,11 +205,11 @@
<h1 class="md-headline wz-headline"><i class="fa fa-fw fa-link" aria-hidden="true"></i> Related rules</h1>
</div>
<div layout="row" ng-if="currentRule" class="md-padding">
<wz-table
flex
path="'/rules'"
<wz-table
flex
path="'/rules'"
implicit-filter="[{ name:'file',value: currentRule.file}]"
keys="['id',{value:'file',size:2},{value:'description',size:2},{value:'groups',nosortable:true,size:2},{value:'pci',nosortable:true,size:2},{value:'gdpr',nosortable:true},'level']"
keys="['id',{value:'file',size:2},{value:'description',size:2},{value:'groups',nosortable:true,size:2},{value:'pci',nosortable:true,size:2},{value:'gdpr',nosortable:true},'level']"
allow-click="true">
</wz-table>
</div>

View File

@ -1,4 +1,4 @@
<div ng-if="!loading && !viewingDetail" flex layout="column" class="md-padding">
<div ng-if="!loading && !viewingDetail" layout="column" class="md-padding">
<div id="content" layout="row">
<input flex placeholder="Filter rules..." ng-model="custom_search" type="text" class="kuiLocalSearchInput ng-empty ng-pristine ng-scope ng-touched ng-valid wz-margin-top-4 height-36"

View File

@ -1,4 +1,4 @@
<div flex ng-if="!loading && globalRuleSet == 'ruleset' && globalRulesetTab == 'rules'" ng-controller="rulesController" layout="column" id="rulesContainer" layout-align="start space-around">
<div ng-if="!loading && globalRuleSet == 'ruleset' && globalRulesetTab == 'rules'" ng-controller="rulesController" layout="column" id="rulesContainer" layout-align="start space-around">
<div class='uil-ring-css' ng-show="loading">
<div></div>

View File

@ -1,4 +1,4 @@
<div flex layout="column" ng-if="globalRuleSet == 'ruleset'" class="mozilla-table-size-85">
<div flex="auto" layout="column" ng-if="globalRuleSet == 'ruleset'" class="mozilla-table-size-85">
<!-- Headline -->
<div layout="column" layout-padding>