diff options
Diffstat (limited to 'src/views/SILA/PhysicalDrivers')
-rw-r--r-- | src/views/SILA/PhysicalDrivers/DynamicInfo/helpers.js | 26 | ||||
-rw-r--r-- | src/views/SILA/PhysicalDrivers/StaticInfo/DriversStaticPage.vue | 17 |
2 files changed, 6 insertions, 37 deletions
diff --git a/src/views/SILA/PhysicalDrivers/DynamicInfo/helpers.js b/src/views/SILA/PhysicalDrivers/DynamicInfo/helpers.js index 5bb87b84..9115f9e5 100644 --- a/src/views/SILA/PhysicalDrivers/DynamicInfo/helpers.js +++ b/src/views/SILA/PhysicalDrivers/DynamicInfo/helpers.js @@ -427,44 +427,30 @@ export const AccessoryData = { { key: 'name', label: 'Имя модуля', - thClass: 'bootstrap-fans-table__th semi-bold-12px', - tdClass: 'bootstrap-fans-table__td light-12px', }, { key: 'currentTemperature', label: 'Текущее, С°', - thClass: 'bootstrap-fans-table__th semi-bold-12px', - tdClass: 'bootstrap-fans-table__td light-12px', }, { key: 'middleTemperature', label: 'Среднее, С°', - thClass: 'bootstrap-fans-table__th semi-bold-12px', - tdClass: 'bootstrap-fans-table__td light-12px', }, { key: 'minTemperature', label: 'Минимальное, С°', - thClass: 'bootstrap-fans-table__th semi-bold-12px', - tdClass: 'bootstrap-fans-table__td light-12px', }, { key: 'minDate', label: 'Дата минимального', - thClass: 'bootstrap-fans-table__th semi-bold-12px', - tdClass: 'bootstrap-fans-table__td light-12px', }, { key: 'maxTemperature', label: 'Максимальное, С°', - thClass: 'bootstrap-fans-table__th semi-bold-12px', - tdClass: 'bootstrap-fans-table__td light-12px', }, { key: 'maxDate', label: 'Дата максимального', - thClass: 'bootstrap-fans-table__th semi-bold-12px', - tdClass: 'bootstrap-fans-table__td light-12px', }, ], items: [ @@ -529,23 +515,17 @@ export const AccessoryData = { { key: 'name', label: 'Имя модуля', - thClass: 'bootstrap-fans-table__th semi-bold-12px', - class: 'SMART-table-col-first', - tdClass: 'bootstrap-fans-table__td light-12px', + thStyle: { width: '34%' }, }, { key: 'SMART', label: 'Текущие значения атрибутов SMART', - thClass: 'bootstrap-fans-table__th semi-bold-12px', - class: 'SMART-table-col-second', - tdClass: 'bootstrap-fans-table__td light-12px', + thStyle: { width: '32%' }, }, { key: 'resource', label: 'Оставшийся ресурс для SSD, Мб', - thClass: 'bootstrap-fans-table__th semi-bold-12px', - class: 'SMART-table-col-last', - tdClass: 'bootstrap-fans-table__td light-12px', + thStyle: { width: '39%' }, }, ], items: [ diff --git a/src/views/SILA/PhysicalDrivers/StaticInfo/DriversStaticPage.vue b/src/views/SILA/PhysicalDrivers/StaticInfo/DriversStaticPage.vue index d53ff449..d6f31985 100644 --- a/src/views/SILA/PhysicalDrivers/StaticInfo/DriversStaticPage.vue +++ b/src/views/SILA/PhysicalDrivers/StaticInfo/DriversStaticPage.vue @@ -18,7 +18,8 @@ <b-table responsive="md" show-empty - class="bootstrap-rounded-table" + class="table-rounded" + no-border-collapse :items="items" :fields="fields" :empty-text="$t('global.table.emptyMessage')" @@ -73,18 +74,12 @@ export default { key: 'parametr', label: 'Параметр', formatter: this.dataFormatter, - thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', - class: `bootstrap-rounded-table__column-first - memory-table-col-first`, - tdClass: 'regular-12px bootstrap-rounded-table__td', + thStyle: { width: '50%' }, }, { key: 'value', label: 'Значение', formatter: this.dataFormatter, - thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', - class: 'bootstrap-rounded-table__column-last', - tdClass: 'regular-12px bootstrap-rounded-table__td', }, ], items: [ @@ -118,12 +113,6 @@ export default { }, }; </script> -<style lang="scss"> -.memory-table-col-first { - width: 50%; -} -</style> - <style lang="scss" scoped> .info_section { margin-bottom: 0px; |