mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 09:55:18 +00:00
More minor design adjustments for the app
This commit is contained in:
parent
96ea8c49af
commit
13f923571e
@ -29,17 +29,17 @@
|
||||
|
||||
<!-- API/Index pattern section -->
|
||||
<!-- Case 1a - There's API -->
|
||||
<span ng-show="theresAPI" tooltip="Selected API" tooltip-placement="bottom">
|
||||
<span ng-show="theresAPI" class="wz-ip-selector" tooltip="Selected API" tooltip-placement="bottom">
|
||||
<i class="fa fa-star fa-fw wz-color-orange" aria-hidden="true"></i>{{currentAPI}}<span ng-if="showSelector"> – </span>
|
||||
</span>
|
||||
|
||||
<!-- Case 1b - There's no API -->
|
||||
<span ng-show="!theresAPI" tooltip="No API credentials inserted" tooltip-placement="bottom">
|
||||
<span ng-show="!theresAPI" class="wz-ip-selector" tooltip="No API credentials inserted" tooltip-placement="bottom">
|
||||
No API<span ng-if="showSelector"> – </span>
|
||||
</span>
|
||||
|
||||
<!-- Case 2a - There's pattern and there's more than one -->
|
||||
<span ng-if="showSelector" ng-show="theresPattern && patternList && patternList.length > 1" tooltip="Selected index pattern" tooltip-placement="bottom">
|
||||
<span ng-if="showSelector" ng-show="theresPattern && patternList && patternList.length > 1" class="wz-ip-selector" tooltip="Selected index pattern" tooltip-placement="bottom">
|
||||
<select class="wz-menu-select" ng-model="currentSelectedPattern" ng-change="changePattern(currentSelectedPattern)" aria-label="Index pattern selector" placeholder="Index pattern">
|
||||
<option class="wz-menu-select-option" ng-repeat="pattern in patternList" value="{{pattern.id}}">
|
||||
{{pattern.title}}
|
||||
@ -48,7 +48,7 @@
|
||||
</span>
|
||||
|
||||
<!-- Case 2b - There's pattern and there's only one-->
|
||||
<span ng-if="showSelector" ng-show="theresPattern && patternList && patternList.length === 1" tooltip="Selected index pattern" tooltip-placement="bottom">
|
||||
<span ng-if="showSelector" ng-show="theresPattern && patternList && patternList.length === 1" class="wz-ip-selector" tooltip="Selected index pattern" tooltip-placement="bottom">
|
||||
{{patternList[0].title}}
|
||||
</span>
|
||||
|
||||
|
@ -53,3 +53,8 @@
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
/* Style for the IP selector */
|
||||
.wz-ip-selector {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
@ -59,7 +59,7 @@
|
||||
|
||||
.wz-table-scroll {
|
||||
overflow: auto;
|
||||
height: 300px;
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
.wz-table-size {
|
||||
|
@ -154,7 +154,6 @@
|
||||
|
||||
<!-- Related decoders section -->
|
||||
<h1 class="md-headline wz-headline"><i class="fa fa-fw fa-link" aria-hidden="true"></i> Related rules</h1>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
<wz-table-header
|
||||
class="wz-side-margin-8"
|
||||
layout="row"
|
||||
|
@ -175,7 +175,6 @@
|
||||
|
||||
<!-- Related rules section -->
|
||||
<h1 class="md-headline wz-headline"><i class="fa fa-fw fa-link" aria-hidden="true"></i> Related rules</h1>
|
||||
<md-divider class="wz-margin-top-10"></md-divider>
|
||||
<wz-table-header
|
||||
class="wz-side-margin-8"
|
||||
layout="row"
|
||||
|
Loading…
Reference in New Issue
Block a user