mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 02:15:24 +00:00
Fixes to PR
This commit is contained in:
parent
46195d3d7f
commit
95449981bc
@ -34,10 +34,10 @@
|
||||
tooltip="Open Discover panel for this agent" tooltip-placement="left" aria-hidden="true"></i>
|
||||
<i ng-click="clickAction(item, 'configuration'); $event.stopPropagation()" class="fa fa-fw fa-wrench cursor-pointer"
|
||||
tooltip="Open configuration for this agent" tooltip-placement="left" aria-hidden="true"></i>
|
||||
<button ng-if="item.outdated && !item.upgrading" class="updateBtn height-20" tooltip="Upgrade agent"
|
||||
<button ng-show="item.outdated && !item.upgrading" class="updateBtn height-20" tooltip="Upgrade agent"
|
||||
tooltip-placement="top" ng-click="updateAgent(item); $event.stopPropagation()"><i class="fa fa-upload"
|
||||
aria-hidden="true"></i></button>
|
||||
<span ng-if="item.outdated && item.upgrading" class="upgradingLabel height-25" tooltip="Upgrading agent..."
|
||||
<span ng-show="item.outdated && item.upgrading" class="upgradingLabel height-25" tooltip="Upgrading agent..."
|
||||
tooltip-placement="top"><i class="fa fa-fw fa-spin fa-spinner"></i></span>
|
||||
</td>
|
||||
<td ng-if="path === '/agents/groups' && adminMode" ng-click="$event.stopPropagation()" class="cursor-default action-btn-td">
|
||||
|
@ -738,7 +738,7 @@ md-sidenav {
|
||||
font-size: 12px;
|
||||
background: #0F9D58;
|
||||
color: white;
|
||||
padding: 0px 5px;
|
||||
padding: 2px 5px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
|
@ -17,18 +17,17 @@
|
||||
<div layout="column" class="" layout-align="start stretch" ng-if="tab === 'welcome'" ng-show="!load && agent">
|
||||
|
||||
<!-- Headline -->
|
||||
<div layout="column" layout-padding>
|
||||
<span class="font-size-18"><i class="fa fa-fw fa-tv" aria-hidden="true"></i> {{ agent.name || '-' }} <span
|
||||
class="wz-text-bold wz-text-link" ng-click="goDiscover()" tooltip="Discover"><i class="fa fa-fw fa-compass"
|
||||
aria-hidden="true"></i></span></span>
|
||||
|
||||
<div ng-show="agent.outdated && !agent.upgrading" class="wz-padding-left-16" style="position: absolute; right: calc(0% + 8px);">
|
||||
<button class="updateBtn height-40" ng-click="updateAgent(agent); $event.stopPropagation()"><i
|
||||
class="fa fa-upload" aria-hidden="true"></i> Upgrade agent version</button>
|
||||
</div>
|
||||
<div ng-show="agent.outdated && agent.upgrading" class="wz-padding-left-16">
|
||||
<span class="upgradingLabel height-40"><i class="fa fa-fw fa-spin fa-spinner"></i> Upgrading agent...</span>
|
||||
</div>
|
||||
<div layout="row" layout-padding>
|
||||
<span class="font-size-18"><i class="fa fa-fw fa-tv" aria-hidden="true"></i> {{ agent.name || '-' }} <span
|
||||
class="wz-text-bold wz-text-link" ng-click="goDiscover()" tooltip="Discover"><i class="fa fa-fw fa-compass"
|
||||
aria-hidden="true"></i></span></span>
|
||||
<div ng-show="agent.outdated && !agent.upgrading" class="wz-padding-left-16">
|
||||
<button class="updateBtn" ng-click="updateAgent(agent); $event.stopPropagation()"><i class="fa fa-upload"
|
||||
aria-hidden="true"></i> Upgrade agent version</button>
|
||||
</div>
|
||||
<div ng-show="agent.outdated && agent.upgrading" class="wz-padding-left-16">
|
||||
<span class="upgradingLabel"><i class="fa fa-fw fa-spin fa-spinner"></i> Upgrading agent...</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End headline -->
|
||||
|
||||
@ -96,8 +95,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div layout="row" ng-if="agent.group">
|
||||
<span class="font-size-16">Groups <i ng-if='adminMode' tooltip="Add group" ng-click="switchGroupEdit()" class="wz-text-bold wz-text-link fa fa-fw" ng-class="!addingGroupToAgent ? 'fa-plus-circle' : 'fa-minus-circle'"></i></span>
|
||||
</div>
|
||||
<span class="font-size-16">Groups <i ng-if='adminMode' tooltip="Add group" ng-click="switchGroupEdit()"
|
||||
class="wz-text-bold wz-text-link fa fa-fw" ng-class="!addingGroupToAgent ? 'fa-plus-circle' : 'fa-minus-circle'"></i></span>
|
||||
</div>
|
||||
<md-divider ng-if="agent.group" class="wz-margin-top-10"></md-divider>
|
||||
<div layout="row" class="wz-margin-top-10" ng-if="agent.group && editGroup && !addingGroupToAgent">
|
||||
<div class="wz-word-break" flex ng-if="groups && groups.length">
|
||||
@ -202,4 +202,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user