Fixed space for elements in Agents/General information ribbon

This commit is contained in:
Juanjo Jiménez 2018-03-15 13:44:09 +01:00 committed by Javier Castro
parent 84b2009e92
commit 02142cb7e6

View File

@ -5,11 +5,21 @@
<div layout="row">
<md-card flex class="wz-metric-color wz-md-card">
<md-card-content layout="row" class="wz-padding-metric">
<div flex="25">Name: <span class="wz-font-weight-bold">{{agent.name}}</span></div>
<div flex="25">IP: <span class="wz-font-weight-bold">{{agent.ip}}</span></div>
<div flex ng-if="agent.version">Version:<span class="wz-font-weight-bold"> {{ agent.version | limitTo: 12 }}{{agent.version.length > 12 ? '...' : ''}}</span></div>
<div flex="25" ng-if="agent.group">Group:<span class="wz-font-weight-bold"> {{ agent.group }}</span></div>
<div flex>OS:<span class="wz-font-weight-bold"> {{ agentOS }}</span></div>
<div flex="20">
Name: <span class="wz-font-weight-bold">{{ agent.name | limitTo: 15 }}{{ agent.name.length > 15 ? '...' : '' }}</span>
</div>
<div flex="20">
IP: <span class="wz-font-weight-bold">{{agent.ip}}</span>
</div>
<div flex="20" ng-if="agent.group">
Group: <span class="wz-font-weight-bold">{{ agent.group }}</span>
</div>
<div flex="20" ng-if="agent.version">
Version: <span class="wz-font-weight-bold">{{ agent.version | limitTo: 15 }}{{ agent.version.length > 15 ? '...' : '' }}</span>
</div>
<div flex>
OS: <span class="wz-font-weight-bold">{{ agentOS | limitTo: 25 }}{{ agentOS.length > 25 ? '...' : '' }}</span>
</div>
</md-card-content>
</md-card>
</div>