Removed wz-metric-color property

This commit is contained in:
Jesús González 2019-03-25 19:45:22 +01:00
parent d1db02fe01
commit 78e4b2bd37
5 changed files with 16 additions and 12 deletions

View File

@ -4,7 +4,7 @@
<!-- View: Panels -->
<div layout="row">
<md-card flex class="wz-metric-color wz-md-card">
<md-card flex class="wz-md-card">
<md-card-content layout="row" class="wz-padding-metric">
<div class="wz-text-truncatable" flex>New files: <span class="wz-text-bold" ng-bind="auditNewFiles()"></span></div>
<div class="wz-text-truncatable" flex>Read files: <span class="wz-text-bold" ng-bind="auditReadFiles()"></span></div>

View File

@ -3,7 +3,7 @@
<!-- Metric bar section -->
<div layout="row" layout-align="start center">
<md-card flex class="wz-metric-color wz-md-card">
<md-card flex class="wz-md-card">
<md-card-content layout="row" class="wz-padding-metric">
<div class="wz-text-truncatable" flex>Last not checked: <span class="wz-text-bold" ng-bind="ciscatScanNotChecked()"></span></div>
<div class="wz-text-truncatable" flex>Last pass: <span class="wz-text-bold" ng-bind="ciscatScanPass()"></span></div>
@ -16,7 +16,7 @@
<!-- Metric bar section -->
<div layout="row" layout-align="start center">
<md-card flex class="wz-metric-color wz-md-card">
<md-card flex class="wz-md-card">
<md-card-content layout="row" class="wz-padding-metric">
<div class="wz-text-truncatable" flex>Last errors: <span class="wz-text-bold" ng-bind="ciscatScanError()"></span></div>
<div class="wz-text-truncatable" flex>Last fails: <span class="wz-text-bold" ng-bind="ciscatScanFail()"></span></div>

View File

@ -4,7 +4,7 @@
<!-- View: Panels -->
<div layout="row">
<md-card flex class="wz-metric-color wz-md-card">
<md-card flex class="wz-md-card">
<md-card-content layout="row" class="wz-padding-metric">
<div flex>Last score: <span class="wz-text-bold" ng-bind="scapLastScore()"></span></div>
<div flex>Highest score: <span class="wz-text-bold" ng-bind="scapHighestScore()"></span></div>

View File

@ -5,7 +5,7 @@
<div layout="row">
<md-card flex class="wz-metric-color wz-md-card">
<md-card flex class="wz-md-card">
<md-card-content layout="row" class="wz-padding-metric">
<div flex>Total malicious: <span class="wz-text-bold" ng-bind="virusMalicious()"></span></div>
<div flex>Total positives: <span class="wz-text-bold" ng-bind="virusPositives()"></span></div>

View File

@ -1,11 +1,11 @@
<md-content flex layout="column" ng-if="tab === 'vuls' && tabView === 'panels'" ng-class="{'no-opacity': resultState !== 'ready' || !rendered}"
layout-align="start">
<md-content flex layout="column" ng-if="tab === 'vuls' && tabView === 'panels'"
ng-class="{'no-opacity': resultState !== 'ready' || !rendered}" layout-align="start">
<!-- View: Panels -->
<div layout="row">
<md-card flex class="wz-metric-color wz-md-card">
<md-card flex class="wz-md-card">
<md-card-content layout="row" class="wz-padding-metric">
<div flex>Critical severity alerts: <span class="wz-text-bold" ng-bind="vulnCritical()"></span></div>
<div flex>High severity alerts: <span class="wz-text-bold" ng-bind="vulnHigh()"></span></div>
@ -31,7 +31,8 @@
<span class="wz-text-link" ng-click="expand(0)"><i class="fa fa-fw fa-expand"></i></span>
</md-card-actions>
<md-card-content class="wazuh-column">
<kbn-vis id="Wazuh-App-Agents-vulnerability-Alerts-severity-over-time" vis-id="'Wazuh-App-Agents-vulnerability-Alerts-severity-over-time'"></kbn-vis>
<kbn-vis id="Wazuh-App-Agents-vulnerability-Alerts-severity-over-time"
vis-id="'Wazuh-App-Agents-vulnerability-Alerts-severity-over-time'"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex class="wz-md-card" ng-class="{'fullscreen': expandArray[1]}">
@ -55,7 +56,8 @@
<span class="wz-text-link" ng-click="expand(2)"><i class="fa fa-fw fa-expand"></i></span>
</md-card-actions>
<md-card-content class="wazuh-column">
<kbn-vis id="Wazuh-App-Agents-vulnerability-Vulnerability-Most-common-CVEs" vis-id="'Wazuh-App-Agents-vulnerability-Vulnerability-Most-common-CVEs'"></kbn-vis>
<kbn-vis id="Wazuh-App-Agents-vulnerability-Vulnerability-Most-common-CVEs"
vis-id="'Wazuh-App-Agents-vulnerability-Vulnerability-Most-common-CVEs'"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex class="wz-md-card" ng-class="{'fullscreen': expandArray[3]}">
@ -66,7 +68,8 @@
<span class="wz-text-link" ng-click="expand(3)"><i class="fa fa-fw fa-expand"></i></span>
</md-card-actions>
<md-card-content class="wazuh-column">
<kbn-vis id="Wazuh-App-Agents-vulnerability-Vulnerability-severity-distribution" vis-id="'Wazuh-App-Agents-vulnerability-Vulnerability-severity-distribution'"></kbn-vis>
<kbn-vis id="Wazuh-App-Agents-vulnerability-Vulnerability-severity-distribution"
vis-id="'Wazuh-App-Agents-vulnerability-Vulnerability-severity-distribution'"></kbn-vis>
</md-card-content>
</md-card>
<md-card flex class="wz-md-card" ng-class="{'fullscreen': expandArray[4]}">
@ -77,7 +80,8 @@
<span class="wz-text-link" ng-click="expand(4)"><i class="fa fa-fw fa-expand"></i></span>
</md-card-actions>
<md-card-content class="wazuh-column">
<kbn-vis id="Wazuh-App-Agents-vulnerability-Commonly-affected-packages" vis-id="'Wazuh-App-Agents-vulnerability-Commonly-affected-packages'"></kbn-vis>
<kbn-vis id="Wazuh-App-Agents-vulnerability-Commonly-affected-packages"
vis-id="'Wazuh-App-Agents-vulnerability-Commonly-affected-packages'"></kbn-vis>
</md-card-content>
</md-card>
</div>