This commit is contained in:
sunny 2018-06-05 20:06:01 +09:00
parent c1e14fd816
commit f81f4ae030
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,3 @@
SENSOR_DETAIL_COMPONENT
<div *ngIf="sensor"> <div *ngIf="sensor">
<h1>{{sensor.crawler.name}}</h1> <h1>{{sensor.crawler.name}}</h1>
@ -36,7 +35,7 @@ SENSOR_DETAIL_COMPONENT
<div class="ui-g ui-top-space--0-5em"> <div class="ui-g ui-top-space--0-5em">
<div class="ui-g-12 ui-md-3"> <div class="ui-g-12 ui-md-3">
<p-panel [showHeader]="false"> <p-panel [showHeader]="false">
<div class="ui-g form-group ui-key-value"> <div class="ui-g form-group ui-key-value ui-left-info">
<of-key-value [key]="'ID'" [value]="sensor.id"></of-key-value> <of-key-value [key]="'ID'" [value]="sensor.id"></of-key-value>
<of-key-value [key]="'Location'" [value]="sensor.target.displayName" [clickable]="true" (click)="selectTarget.emit(sensor.target)"></of-key-value> <of-key-value [key]="'Location'" [value]="sensor.target.displayName" [clickable]="true" (click)="selectTarget.emit(sensor.target)"></of-key-value>
<of-key-value [key]="'Description'" [value]="sensor.description"></of-key-value> <of-key-value [key]="'Description'" [value]="sensor.description"></of-key-value>

View File

@ -1754,6 +1754,13 @@
// padding: 5px; // padding: 5px;
// } // }
} }
.ui-left-info{
margin-left: -15px !important;
min-width: 300px !important;
span{
width: 105px !important;
}
}
.ui-bottom-border-1 { .ui-bottom-border-1 {
border-bottom: #bdbdbd 1px solid; border-bottom: #bdbdbd 1px solid;