mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 10:18:57 +00:00
Revert "Removed inline CSS from Agents"
This reverts commit 436078ff19
.
This commit is contained in:
parent
436078ff19
commit
06fd83766e
@ -147,70 +147,3 @@ md-tooltip .md-content {
|
||||
.agents-pci-row-540 {
|
||||
height: 540px;
|
||||
}
|
||||
|
||||
.agents-prev-height-70 {
|
||||
height: 70px;
|
||||
}
|
||||
|
||||
.agents-prev-height-50 {
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.agents-prev-color-grey {
|
||||
background-color: #e4e4e4;
|
||||
}
|
||||
|
||||
.agents-prev-color-grey-f7 {
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.agents-head-no-results {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.agents-head-1 {
|
||||
text-transform: none;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.agents-head-2 {
|
||||
float: left;
|
||||
margin-top: 3px;
|
||||
margin-right: 11px;
|
||||
}
|
||||
|
||||
.agents-head-3 {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.agents-head-4 {
|
||||
float: left;
|
||||
margin-right: 11px;
|
||||
}
|
||||
|
||||
.agents-head-5 {
|
||||
width: 100%;
|
||||
padding: 4px;
|
||||
color: white;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.agents-head-6 {
|
||||
padding-left: 0px;
|
||||
}
|
||||
|
||||
.agents-head-7 {
|
||||
padding-right: 0px;
|
||||
}
|
||||
|
||||
.agents-head-8 {
|
||||
font-size: 13px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.agents-head-9 {
|
||||
width: 16px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
<div flex ng-controller="agentsPreviewController" layout="column">
|
||||
|
||||
<md-content class="wazuhMenuNavBar agents-prev-height-70" ng-init="menuNavItem = 'agents'">
|
||||
|
||||
<md-content class="wazuhMenuNavBar" ng-init="menuNavItem = 'agents'" style="height: 70px;">
|
||||
<menu-top></menu-top>
|
||||
</md-content>
|
||||
|
||||
<div flex layout="column" id="content" class="{{(tabView != 'discover') ? 'agents-prev-color-grey' : ''}}" >
|
||||
<div flex layout="column" id="content" style="{{(tabView != 'discover') ? 'background-color: #e4e4e4' : ''}}" >
|
||||
|
@ -1,24 +1,24 @@
|
||||
<div flex ng-controller="agentsController" layout="column">
|
||||
|
||||
<md-content class="wazuhMenuNavBar agents-prev-height-70" ng-init="menuNavItem = 'agents'">
|
||||
<md-content class="wazuhMenuNavBar" ng-init="menuNavItem = 'agents'" style="height: 70px;">
|
||||
<menu-top></menu-top>
|
||||
</md-content>
|
||||
|
||||
<div layout="row" layout-align="space-between start" class="agents-prev-color-grey-f7">
|
||||
<md-toolbar class="agents-prev-height-50">
|
||||
<div layout="row" layout-align="space-between start" style="background-color: #f7f7f7">
|
||||
<md-toolbar style="height: 50px;">
|
||||
<div class="md-toolbar-tools" layout="row" layout-align="space-between center">
|
||||
<div class="agents-head-1" ng-if="agent">
|
||||
<div class="agents-head-2">
|
||||
<span> <i class="fa fa-desktop agents-head-3" aria-hidden="true"></i>
|
||||
<div style="text-transform: none; font-size: 20px;" ng-if="agent">
|
||||
<div style="float: left;margin-top: 3px;margin-right: 11px;">
|
||||
<span> <i style="margin-right: 5px; " class="fa fa-desktop" aria-hidden="true"></i>
|
||||
{{agent.id}} - {{agent.name}}</span><span ng-show="agent.id === '000'">(Manager)</span>
|
||||
</div>
|
||||
|
||||
<div class="agents-head-4">
|
||||
<span ng-show="agent.status" class="agents-head-5" ng-class="getAgentStatusClass(agent.status)">{{formatAgentStatus(agent.status)}}</span>
|
||||
<div style="float: left;margin-right: 11px;">
|
||||
<span ng-show="agent.status" ng-class="getAgentStatusClass(agent.status)" style="width: 100%;padding: 4px;color: white;font-weight: normal;font-size: 12px;text-transform: uppercase;">{{formatAgentStatus(agent.status)}}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<span layout="row" class="agents-head-6" layout-align="space-between start" flex="40">
|
||||
<span layout="row" style="padding-left: 0px;" layout-align="space-between start" flex="40">
|
||||
<md-autocomplete id="agentsAutocomplete" flex md-no-cache="true" md-select-on-match="true" md-selected-item="_swpagent" md-selected-item-change="getAgent(_swpagent.id)" md-search-text="searchTerm" md-items="agentAutoComplete in agentsAutoComplete.items" md-item-text="agentAutoComplete.name" md-min-length="0" md-no-asterisk="false" md-menu-class="autocomplete-custom-agents-bar" placeholder="Search by name, ID or IP address">
|
||||
<md-item-template>
|
||||
<span class="item-title">
|
||||
@ -39,7 +39,7 @@
|
||||
|
||||
<div layout="row" layout-align="space-between start" class="horizontalTabsBar">
|
||||
<div class="horizontalTabsBar" layout="column" layout-align="center start">
|
||||
<md-nav-bar class="agents-head-7" md-selected-nav-item="tab" nav-bar-aria-label="navigation submenu">
|
||||
<md-nav-bar style="padding-right: 0px;" md-selected-nav-item="tab" nav-bar-aria-label="navigation submenu">
|
||||
<md-nav-item md-nav-click="switchTab('general')" name="general">General</md-nav-item>
|
||||
<md-nav-item md-nav-click="switchTab('fim');" name="fim">File Integrity</md-nav-item>
|
||||
<md-nav-item md-nav-click="switchTab('pm');" name="pm">Policy Monitoring</md-nav-item>
|
||||
@ -50,12 +50,12 @@
|
||||
</div>
|
||||
|
||||
<div class="horizontalTabsBar tabView" layout="column" layout-align="end end">
|
||||
<md-nav-bar layout-align="end end" class="agents-head-7" md-selected-nav-item="tabView" nav-bar-aria-label="navigation submenu">
|
||||
<md-nav-bar layout-align="end end" style="padding-right: 0px;" md-selected-nav-item="tabView" nav-bar-aria-label="navigation submenu">
|
||||
<md-nav-item md-nav-click="switchSubtab('panels')" name="panels">
|
||||
<i class="fa fa-th" aria-hidden="true" class="agents-head-8"></i>Panels
|
||||
<i class="fa fa-th" aria-hidden="true" style="font-size: 13px;margin-right: 6px;"></i>Panels
|
||||
</md-nav-item>
|
||||
<md-nav-item md-nav-click="switchSubtab('discover')" name="discover">
|
||||
<img class="agents-head-9" kbn-src="/plugins/wazuh/img/discover.svg">Discover
|
||||
<img style="width: 16px; margin-right: 6px;" kbn-src="/plugins/wazuh/img/discover.svg">Discover
|
||||
</md-nav-item>
|
||||
</md-nav-bar>
|
||||
</div>
|
||||
@ -74,3 +74,9 @@
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
</md-content>
|
||||
|
||||
<style>
|
||||
.agents-head-no-results {
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user