This commit is contained in:
sunny 2018-09-18 23:17:52 +09:00
parent 0d40da53c6
commit e0922559be
2 changed files with 30 additions and 6 deletions

View File

@ -68,9 +68,15 @@
</g> </g>
</svg> </svg>
<p-card class="ui-map-info" *ngIf="resultMsg"> <p-card class="ui-map-info" *ngIf="resultMsg">
<b>Total Hosts:</b> {{resultMsg[0]}}<br /> <div class="ui-map-info-row ui-border-bottom">
<b>Total Services:</b> {{resultMsg[1]}}<br /> <div>Total Hosts: </div>{{resultMsg[0]}}
<b>Elapsed:</b> {{resultMsg[2]}} </div>
<div class="ui-map-info-row ui-border-bottom">
<div>Total Services: </div>{{resultMsg[1]}}
</div>
<div class="ui-map-info-row">
<div>Elapsed: </div>{{resultMsg[2]}}
</div>
</p-card> </p-card>
</div> </div>

View File

@ -41,7 +41,9 @@
transition: 0.1s; transition: 0.1s;
} }
} }
/deep/ .ui-panel .ui-panel-content {
padding: .6em .75em;
}
.discovery-container { .discovery-container {
height: 100vh; height: 100vh;
margin: -0.6em -0.9em -0.7em -0.9em; //-0.5em -0.75em; margin: -0.6em -0.9em -0.7em -0.9em; //-0.5em -0.75em;
@ -106,7 +108,23 @@
position: absolute; position: absolute;
top: 10px; top: 10px;
left :10px; left :10px;
.ui-card-body { .ui-map-info-row{
padding: 0.5em !important; //display: inline;
line-height: 2em;
width: 120px;
font-weight: bold;
div {
display: inline;
font-weight: normal;
width: 82px;
}
} }
.ui-border-bottom{
border-bottom: 1px solid #d6d6d6;
}
}
/deep/ .ui-card-body {
padding: 0.5em ;
border: 1px solid #d6d6d6;
border-radius: 5px;
} }