Skip to content

Commit

Permalink
Merge pull request #120 from wazuh/3.0-groups-enhacements
Browse files Browse the repository at this point in the history
Some groups enhacements
  • Loading branch information
havidarou authored Dec 5, 2017
2 parents ac9ee14 + e7292c7 commit 0896d31
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
5 changes: 0 additions & 5 deletions public/less/angular-md.less
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ md-card-content .ng-binding {
color: white;
}

.fa-search-plus,
.fa-search-minus {
font-size: initial !important;
}

.md-input-margin {
margin: 18px 20px 0 0
}
Expand Down
10 changes: 10 additions & 0 deletions public/less/kbn.less
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,13 @@ kbn-vis, visualize, visualization {
padding: 4px 10px 0 !important;
background-color: #e4e4e4 !important;
}


mark {
background-color: #45A19A !important;
color: white !important;
}

table>thead>tr>th {
border-bottom: 0px !important;
}
11 changes: 9 additions & 2 deletions public/templates/agents-general.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,20 @@
<div class="ng-binding">IP Address</div>
</md-card-content>
</md-card>
<md-card flex="12">
<md-card ng-if="agent.version" flex="12">
<md-card-content class="agents-overview-top-metric-item">
<div class="metric-value ng-binding agents-overview-size-14">{{ agent.version | limitTo: 12 }}{{agent.version.length > 12 ? '...' : ''}}</div>
<!--<md-tooltip md-direction="bottom">{{ agent.version }}</md-tooltip>-->
<div class="ng-binding">Version</div>
</md-card-content>
</md-card>
<md-card ng-if="agent.group" flex="12">
<md-card-content class="agents-overview-top-metric-item" >
<div class="metric-value ng-binding agents-overview-size-14" >{{ agent.group }}</div>
<!--<md-tooltip md-direction="bottom">{{ agent.version }}</md-tooltip>-->
<div class="ng-binding">Group</div>
</md-card-content>
</md-card>
<md-card flex>
<md-card-content class="agents-overview-top-metric-item">
<div class="metric-value ng-binding legend-value-truncate agents-overview-size-14">{{ agentOS }}</div>
Expand All @@ -37,7 +44,7 @@
<div layout="row" class="agents-overview-second-row">
<md-card flex ng-show="agent.id != '000'">
<md-card-content class="agents-overview-top-metric-item">
<div class="metric-value ng-binding agents-overview-size-14">{{agent.lastKeepAlive}}</div>
<div class="metric-value ng-binding agents-overview-size-14">{{agent.lastKeepAlive || 'Unknown' }}</div>
<!--<md-tooltip md-direction="bottom">{{ agent.lastKeepAlive }}</md-tooltip>-->
<div class="ng-binding">Last keep alive</div>
</md-card-content>
Expand Down

0 comments on commit 0896d31

Please sign in to comment.