diff options
author | Dixsie Wolmers <dixsie@ibm.com> | 2021-05-13 17:08:53 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2021-06-28 22:13:43 +0300 |
commit | dd652d71e8243d8d9a953d46bdf6d75f448127ce (patch) | |
tree | 229e5f1afefaaa6380c4b0306a2754a1cd8c7770 /src/views/Health | |
parent | 25e17a119f023a472b90bf645f4211c66718b446 (diff) | |
download | webui-vue-dd652d71e8243d8d9a953d46bdf6d75f448127ce.tar.xz |
Add fans hardware status missing properties
Adds identify LED, name - hardware type, health rollup,
fan speed, and location number properties to table.
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com>
Change-Id: I5f209b853ab70becf4c4289e871da1ce279d1ac3
Diffstat (limited to 'src/views/Health')
-rw-r--r-- | src/views/Health/HardwareStatus/HardwareStatusTableFans.vue | 38 |
1 files changed, 33 insertions, 5 deletions
diff --git a/src/views/Health/HardwareStatus/HardwareStatusTableFans.vue b/src/views/Health/HardwareStatus/HardwareStatusTableFans.vue index 10b14a47..fb998a38 100644 --- a/src/views/Health/HardwareStatus/HardwareStatusTableFans.vue +++ b/src/views/Health/HardwareStatus/HardwareStatusTableFans.vue @@ -55,10 +55,39 @@ <b-row> <b-col sm="6" xl="4"> <dl> + <!-- Name --> + <dt>{{ $t('pageHardwareStatus.table.name') }}:</dt> + <dd>{{ tableFormatter(item.name) }}</dd> + </dl> + <dl> + <!-- Serial number --> + <dt>{{ $t('pageHardwareStatus.table.serialNumber') }}:</dt> + <dd>{{ tableFormatter(item.serialNumber) }}</dd> + </dl> + <dl> + <!-- Part number --> + <dt>{{ $t('pageHardwareStatus.table.partNumber') }}:</dt> + <dd>{{ tableFormatter(item.partNumber) }}</dd> + </dl> + <dl> + <!-- Fan speed --> + <dt>{{ $t('pageHardwareStatus.table.fanSpeed') }}:</dt> + <dd>{{ tableFormatter(item.speed) }}</dd> + </dl> + </b-col> + <b-col sm="6" xl="4"> + <dl> <!-- Status state --> <dt>{{ $t('pageHardwareStatus.table.statusState') }}:</dt> <dd>{{ tableFormatter(item.statusState) }}</dd> </dl> + <dl> + <!-- Health Rollup state --> + <dt> + {{ $t('pageHardwareStatus.table.statusHealthRollup') }}: + </dt> + <dd>{{ tableFormatter(item.healthRollup) }}</dd> + </dl> </b-col> </b-row> </b-container> @@ -114,16 +143,15 @@ export default { tdClass: 'text-nowrap', }, { - key: 'partNumber', - label: this.$t('pageHardwareStatus.table.partNumber'), + key: 'locationNumber', + label: this.$t('pageHardwareStatus.table.locationNumber'), formatter: this.tableFormatter, sortable: true, }, { - key: 'serialNumber', - label: this.$t('pageHardwareStatus.table.serialNumber'), + key: 'identifyLed', + label: this.$t('pageHardwareStatus.table.identifyLed'), formatter: this.tableFormatter, - sortable: true, }, ], searchFilter: searchFilter, |