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

View File

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