diff options
author | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-06-20 14:42:25 +0300 |
---|---|---|
committer | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-06-20 17:49:26 +0300 |
commit | bde69949362b9dfd1a24fd6fd810116fa3136b5a (patch) | |
tree | d049c6d6f07a895db02d824509604ce62dbf2f92 /src/views/HardwareStatus | |
parent | 931c2cad0da1a84e3df0745b385ec06d29cc2634 (diff) | |
download | webui-vue-bde69949362b9dfd1a24fd6fd810116fa3136b5a.tar.xz |
fix PageTitle, VirtualMedia
Diffstat (limited to 'src/views/HardwareStatus')
9 files changed, 40 insertions, 4 deletions
diff --git a/src/views/HardwareStatus/Inventory/Inventory.vue b/src/views/HardwareStatus/Inventory/Inventory.vue index bfb930ab..dac395c5 100644 --- a/src/views/HardwareStatus/Inventory/Inventory.vue +++ b/src/views/HardwareStatus/Inventory/Inventory.vue @@ -1,6 +1,6 @@ <template> <b-container id="page-inventory" fluid class="p-0 m-0"> - <page-title /> + <page-title :description="$t('appNavigation.overviewInfo')" /> <!-- Service indicators --> <service-indicator /> diff --git a/src/views/HardwareStatus/Inventory/InventoryTableAssembly.vue b/src/views/HardwareStatus/Inventory/InventoryTableAssembly.vue index 47edf3a5..0a5e9a31 100644 --- a/src/views/HardwareStatus/Inventory/InventoryTableAssembly.vue +++ b/src/views/HardwareStatus/Inventory/InventoryTableAssembly.vue @@ -10,6 +10,7 @@ responsive="md" :items="items" :fields="fields" + :fixed="true" show-empty :empty-text="$t('global.table.emptyMessage')" :busy="isBusy" @@ -90,6 +91,7 @@ export default { { key: 'expandRow', label: '', + thStyle: { width: '4%' }, thClass: 'bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-first', tdClass: 'table-row-expand bootstrap-rounded-table__td', @@ -99,6 +101,7 @@ export default { label: this.$t('pageInventory.table.id'), formatter: this.dataFormatter, sortable: true, + thStyle: { width: '20%' }, thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-center', tdClass: 'regular-12px bootstrap-rounded-table__td', @@ -117,6 +120,7 @@ export default { label: this.$t('pageInventory.table.locationNumber'), formatter: this.dataFormatter, sortable: true, + thStyle: { width: '20%' }, thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-center', tdClass: 'regular-12px bootstrap-rounded-table__td', @@ -125,6 +129,7 @@ export default { key: 'identifyLed', label: this.$t('pageInventory.table.identifyLed'), formatter: this.dataFormatter, + thStyle: { width: '20%' }, thClass: ' semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-last', tdClass: ' bootstrap-rounded-table__td', diff --git a/src/views/HardwareStatus/Inventory/InventoryTableBmcManager.vue b/src/views/HardwareStatus/Inventory/InventoryTableBmcManager.vue index 21a07e5f..164aca71 100644 --- a/src/views/HardwareStatus/Inventory/InventoryTableBmcManager.vue +++ b/src/views/HardwareStatus/Inventory/InventoryTableBmcManager.vue @@ -9,6 +9,7 @@ show-empty :items="items" :fields="fields" + :fixed="true" :empty-text="$t('global.table.emptyMessage')" :busy="isBusy" > @@ -184,8 +185,7 @@ export default { { key: 'expandRow', label: '', - thStyle: { maxWidth: '27px' }, - tdStyle: { maxWidth: '27px' }, + thStyle: { width: '4%' }, thClass: 'bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-first', tdClass: 'table-row-expand bootstrap-rounded-table__td', @@ -194,6 +194,7 @@ export default { key: 'id', label: this.$t('pageInventory.table.id'), formatter: this.dataFormatter, + thStyle: { width: '20%' }, thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-center', tdClass: 'regular-12px bootstrap-rounded-table__td', @@ -210,6 +211,7 @@ export default { key: 'locationNumber', label: this.$t('pageInventory.table.locationNumber'), formatter: this.dataFormatter, + thStyle: { width: '20%' }, thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-center', tdClass: 'regular-12px bootstrap-rounded-table__td', @@ -218,6 +220,7 @@ export default { key: 'identifyLed', label: this.$t('pageInventory.table.identifyLed'), formatter: this.dataFormatter, + thStyle: { width: '20%' }, thClass: ' semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-last', tdClass: ' bootstrap-rounded-table__td', diff --git a/src/views/HardwareStatus/Inventory/InventoryTableChassis.vue b/src/views/HardwareStatus/Inventory/InventoryTableChassis.vue index c213aa97..dc6bf573 100644 --- a/src/views/HardwareStatus/Inventory/InventoryTableChassis.vue +++ b/src/views/HardwareStatus/Inventory/InventoryTableChassis.vue @@ -9,6 +9,7 @@ show-empty :items="chassis" :fields="fields" + :fixed="true" :empty-text="$t('global.table.emptyMessage')" :busy="isBusy" > @@ -137,6 +138,7 @@ export default { { key: 'expandRow', label: '', + thStyle: { width: '4%' }, thClass: 'bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-first', tdClass: 'table-row-expand bootstrap-rounded-table__td', @@ -145,6 +147,7 @@ export default { key: 'id', label: this.$t('pageInventory.table.id'), formatter: this.dataFormatter, + thStyle: { width: '20%' }, thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-center', tdClass: 'regular-12px bootstrap-rounded-table__td', @@ -161,6 +164,7 @@ export default { key: 'locationNumber', label: this.$t('pageInventory.table.locationNumber'), formatter: this.dataFormatter, + thStyle: { width: '20%' }, thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-center', tdClass: 'regular-12px bootstrap-rounded-table__td', @@ -169,6 +173,7 @@ export default { key: 'identifyLed', label: this.$t('pageInventory.table.identifyLed'), formatter: this.dataFormatter, + thStyle: { width: '20%' }, thClass: ' semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-last', tdClass: ' bootstrap-rounded-table__td', diff --git a/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue b/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue index 430e86af..86701b54 100644 --- a/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue +++ b/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue @@ -27,6 +27,7 @@ :items="dimms" :fields="fields" :sort-desc="true" + :fixed="true" :sort-compare="sortCompare" :filter="searchFilter" :empty-text="$t('global.table.emptyMessage')" @@ -190,6 +191,7 @@ export default { { key: 'expandRow', label: '', + thStyle: { width: '4%' }, thClass: 'bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-first', tdClass: 'table-row-expand bootstrap-rounded-table__td', @@ -198,6 +200,7 @@ export default { key: 'id', label: this.$t('pageInventory.table.id'), formatter: this.dataFormatter, + thStyle: { width: '20%' }, thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-center', tdClass: 'regular-12px bootstrap-rounded-table__td', @@ -214,6 +217,7 @@ export default { key: 'locationNumber', label: this.$t('pageInventory.table.locationNumber'), formatter: this.dataFormatter, + thStyle: { width: '20%' }, thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-center', tdClass: 'regular-12px bootstrap-rounded-table__td', @@ -222,6 +226,7 @@ export default { key: 'identifyLed', label: this.$t('pageInventory.table.identifyLed'), formatter: this.dataFormatter, + thStyle: { width: '20%' }, thClass: ' semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-last', tdClass: ' bootstrap-rounded-table__td', diff --git a/src/views/HardwareStatus/Inventory/InventoryTableFans.vue b/src/views/HardwareStatus/Inventory/InventoryTableFans.vue index e1932d53..9c3773f0 100644 --- a/src/views/HardwareStatus/Inventory/InventoryTableFans.vue +++ b/src/views/HardwareStatus/Inventory/InventoryTableFans.vue @@ -27,6 +27,7 @@ :items="fans" :fields="fields" :sort-desc="true" + :fixed="true" :sort-compare="sortCompare" :filter="searchFilter" :empty-text="$t('global.table.emptyMessage')" @@ -130,6 +131,7 @@ export default { key: 'expandRow', label: '', sortable: false, + thStyle: { width: '4%' }, thClass: 'bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-first', tdClass: 'table-row-expand bootstrap-rounded-table__td', @@ -139,6 +141,7 @@ export default { label: this.$t('pageInventory.table.id'), formatter: this.dataFormatter, sortable: true, + thStyle: { width: '20%' }, thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-center', tdClass: 'regular-12px bootstrap-rounded-table__td', @@ -157,6 +160,7 @@ export default { label: this.$t('pageInventory.table.partNumber'), formatter: this.dataFormatter, sortable: true, + thStyle: { width: '20%' }, thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-center', tdClass: 'regular-12px bootstrap-rounded-table__td', @@ -165,6 +169,7 @@ export default { key: 'serialNumber', label: this.$t('pageInventory.table.serialNumber'), formatter: this.dataFormatter, + thStyle: { width: '20%' }, thClass: ' semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-last', tdClass: ' bootstrap-rounded-table__td', diff --git a/src/views/HardwareStatus/Inventory/InventoryTablePowerSupplies.vue b/src/views/HardwareStatus/Inventory/InventoryTablePowerSupplies.vue index 7bb14a52..52cfd8b5 100644 --- a/src/views/HardwareStatus/Inventory/InventoryTablePowerSupplies.vue +++ b/src/views/HardwareStatus/Inventory/InventoryTablePowerSupplies.vue @@ -149,6 +149,7 @@ export default { key: 'expandRow', label: '', sortable: false, + thStyle: { width: '4%' }, thClass: 'bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-first', tdClass: 'table-row-expand bootstrap-rounded-table__td', @@ -158,6 +159,7 @@ export default { label: this.$t('pageInventory.table.id'), formatter: this.dataFormatter, sortable: true, + thStyle: { width: '20%' }, thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-center', tdClass: 'regular-12px bootstrap-rounded-table__td', @@ -176,6 +178,7 @@ export default { label: this.$t('pageInventory.table.locationNumber'), formatter: this.dataFormatter, sortable: true, + thStyle: { width: '20%' }, thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-center', tdClass: 'regular-12px bootstrap-rounded-table__td', @@ -184,6 +187,7 @@ export default { key: 'identifyLed', label: this.$t('pageInventory.table.identifyLed'), formatter: this.dataFormatter, + thStyle: { width: '20%' }, thClass: ' semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-last', tdClass: ' bootstrap-rounded-table__td', diff --git a/src/views/HardwareStatus/Inventory/InventoryTableProcessors.vue b/src/views/HardwareStatus/Inventory/InventoryTableProcessors.vue index d81a0490..0c1b019f 100644 --- a/src/views/HardwareStatus/Inventory/InventoryTableProcessors.vue +++ b/src/views/HardwareStatus/Inventory/InventoryTableProcessors.vue @@ -29,6 +29,7 @@ :items="processors" :fields="fields" :sort-desc="true" + :fixed="true" :filter="searchFilter" :empty-text="$t('global.table.emptyMessage')" :empty-filtered-text="$t('global.table.emptySearchMessage')" @@ -184,6 +185,7 @@ export default { key: 'expandRow', label: '', sortable: false, + thStyle: { width: '4%' }, thClass: 'bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-first', tdClass: 'table-row-expand bootstrap-rounded-table__td', @@ -193,6 +195,7 @@ export default { label: this.$t('pageInventory.table.id'), formatter: this.dataFormatter, sortable: true, + thStyle: { width: '20%' }, thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-center', tdClass: 'regular-12px bootstrap-rounded-table__td', @@ -211,6 +214,7 @@ export default { label: this.$t('pageInventory.table.locationNumber'), formatter: this.dataFormatter, sortable: true, + thStyle: { width: '20%' }, thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-center', tdClass: 'regular-12px bootstrap-rounded-table__td', @@ -220,6 +224,7 @@ export default { label: this.$t('pageInventory.table.identifyLed'), formatter: this.dataFormatter, sortable: false, + thStyle: { width: '20%' }, thClass: ' semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-last', tdClass: ' bootstrap-rounded-table__td', diff --git a/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue b/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue index 9ddcaa69..25d5b38e 100644 --- a/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue +++ b/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue @@ -9,6 +9,7 @@ show-empty :items="systems" :fields="fields" + :fixed="true" :empty-text="$t('global.table.emptyMessage')" :busy="isBusy" > @@ -171,7 +172,7 @@ export default { { key: 'expandRow', label: '', - thStyle: { minWidth: '29px' }, + thStyle: { width: '4%' }, thClass: 'bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-first', tdClass: 'table-row-expand bootstrap-rounded-table__td', @@ -180,6 +181,7 @@ export default { key: 'id', label: this.$t('pageInventory.table.id'), formatter: this.dataFormatter, + thStyle: { width: '20%' }, thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-center', tdClass: 'regular-12px bootstrap-rounded-table__td', @@ -204,6 +206,7 @@ export default { key: 'locationNumber', label: this.$t('pageInventory.table.locationNumber'), formatter: this.dataFormatter, + thStyle: { width: '20%' }, thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-center', tdClass: 'regular-12px bootstrap-rounded-table__td', @@ -212,6 +215,7 @@ export default { key: 'locationIndicatorActive', label: this.$t('pageInventory.table.identifyLed'), formatter: this.dataFormatter, + thStyle: { width: '20%' }, thClass: ' semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: 'bootstrap-rounded-table__column-last', tdClass: ' bootstrap-rounded-table__td', |