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>
</svg>
<p-card class="ui-map-info" *ngIf="resultMsg">
<b>Total Hosts:</b> {{resultMsg[0]}}<br />
<b>Total Services:</b> {{resultMsg[1]}}<br />
<b>Elapsed:</b> {{resultMsg[2]}}
<div class="ui-map-info-row ui-border-bottom">
<div>Total Hosts: </div>{{resultMsg[0]}}
</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>
</div>

View File

@ -41,7 +41,9 @@
transition: 0.1s;
}
}
/deep/ .ui-panel .ui-panel-content {
padding: .6em .75em;
}
.discovery-container {
height: 100vh;
margin: -0.6em -0.9em -0.7em -0.9em; //-0.5em -0.75em;
@ -106,7 +108,23 @@
position: absolute;
top: 10px;
left :10px;
.ui-card-body {
padding: 0.5em !important;
.ui-map-info-row{
//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;
}