Skip to content

Commit

Permalink
display the device UUID and device Label in the details page.
Browse files Browse the repository at this point in the history
fixes #265
  • Loading branch information
AnalogJ committed May 31, 2022
1 parent 488fcfc commit 9aa0e97
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions webapp/frontend/src/app/modules/detail/detail.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,16 @@ <h2 class="m-0">Drive Details - {{device | deviceTitle:config.dashboardDisplay}}
<div>{{device?.host_id}}</div>
<div class="text-secondary text-md">Host ID</div>
</div>

<div *ngIf="device?.device_uuid" class="my-2 col-span-2 lt-md:col-span-1">
<div>{{device?.device_uuid}}</div>
<div class="text-secondary text-md">Device UUID</div>
</div>
<div *ngIf="device?.device_label" class="my-2 col-span-2 lt-md:col-span-1">
<div>{{device?.device_label}}</div>
<div class="text-secondary text-md">Device Label</div>
</div>

<div *ngIf="device?.device_type && device?.device_type != 'ata' && device?.device_type != 'scsi'" class="my-2 col-span-2 lt-md:col-span-1">
<div>{{device?.device_type | uppercase}}</div>
<div class="text-secondary text-md">Device Type</div>
Expand Down

0 comments on commit 9aa0e97

Please sign in to comment.