This commit is contained in:
sunny 2018-04-20 18:23:36 +09:00
parent 2f669d986f
commit 7ae14fc3ec

View File

@ -1,14 +1,19 @@
<h1>Sensors</h1> <h1>Sensors</h1>
<div *ngIf="paramTarget" class="card clearfix"> <div class="ui-g">
<span> <div class="ui-g-12">
<i class="fa ui-icon-stop ui-status-icon ui-status-success"></i>Up <p-panel [showHeader]="false" *ngIf="paramTarget">
</span> <div class="ui-key-value">
<of-key-value [key]="'Alias'" [value]="paramTarget.target.displayName"></of-key-value> <span>Status</span>
<of-key-value [key]="'Description'" [value]="paramTarget.target.description"></of-key-value> <span class="ng-star-inserted"><i class="fa ui-icon-stop ui-status-icon ui-status-success"></i>Up</span>
<of-key-value [key]="'Type'" [value]="paramTarget.infraType.name"></of-key-value> </div>
<of-key-value [key]="'Created at'" [value]="paramTarget.createDate | date: 'dd/MM/yyyy'"></of-key-value> <of-key-value [key]="'Alias'" [value]="paramTarget.target.displayName" class="ui-key-value"></of-key-value>
<of-key-value [key]="'Sensors'" [value]="'todo: count'"></of-key-value> <of-key-value [key]="'Description'" [value]="paramTarget.target.description" class="ui-key-value"></of-key-value>
<of-key-value [key]="'Type'" [value]="paramTarget.infraType.name" class="ui-key-value"></of-key-value>
<of-key-value [key]="'Created at'" [value]="paramTarget.createDate | date: 'dd/MM/yyyy'" class="ui-key-value"></of-key-value>
<of-key-value [key]="'Sensors'" [value]="'todo: count'" class="ui-key-value"></of-key-value>
</p-panel>
</div>
</div> </div>
<div class="ui-g"> <div class="ui-g">