summaryrefslogtreecommitdiff
path: root/src/views/SILA/NetworkAdapters
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/SILA/NetworkAdapters')
-rw-r--r--src/views/SILA/NetworkAdapters/Dynamic/helpers.js14
-rw-r--r--src/views/SILA/NetworkAdapters/EthernetAdapters/EthernetAdaptersPage.vue53
-rw-r--r--src/views/SILA/NetworkAdapters/FcHbaAdapters/FcHbaAdaptersPage.vue26
3 files changed, 18 insertions, 75 deletions
diff --git a/src/views/SILA/NetworkAdapters/Dynamic/helpers.js b/src/views/SILA/NetworkAdapters/Dynamic/helpers.js
index 2be5ce24..65046d01 100644
--- a/src/views/SILA/NetworkAdapters/Dynamic/helpers.js
+++ b/src/views/SILA/NetworkAdapters/Dynamic/helpers.js
@@ -288,44 +288,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: [
diff --git a/src/views/SILA/NetworkAdapters/EthernetAdapters/EthernetAdaptersPage.vue b/src/views/SILA/NetworkAdapters/EthernetAdapters/EthernetAdaptersPage.vue
index 92f386fb..aadb6415 100644
--- a/src/views/SILA/NetworkAdapters/EthernetAdapters/EthernetAdaptersPage.vue
+++ b/src/views/SILA/NetworkAdapters/EthernetAdapters/EthernetAdaptersPage.vue
@@ -30,7 +30,8 @@
</span>
<b-table
responsive="md"
- class="bootstrap-table bootstrap-table__stripes_odd"
+ class="table-stripes"
+ no-border-collapse
:items="items"
:fields="fields"
>
@@ -55,7 +56,8 @@
</span>
<b-table
responsive="md"
- class="bootstrap-table bootstrap-table__stripes_odd"
+ class="table-stripes"
+ no-border-collapse
:items="items_2"
:fields="fields"
>
@@ -123,7 +125,8 @@
</span>
<b-table
responsive="md"
- class="bootstrap-table bootstrap-table__stripes"
+ class="table-stripes"
+ no-border-collapse
:items="items_3"
:fields="fields"
>
@@ -140,7 +143,8 @@
</div>
<b-table
responsive="md"
- class="bootstrap-table bootstrap-table__stripes_odd"
+ class="table-stripes"
+ no-border-collapse
:items="items_4"
:fields="fields"
>
@@ -163,7 +167,8 @@
</div>
<b-table
responsive="md"
- class="bootstrap-table bootstrap-table__stripes"
+ class="table-stripes"
+ no-border-collapse
:items="items_5"
:fields="fields"
>
@@ -174,7 +179,8 @@
<b-table
responsive="md"
show-empty
- class="bootstrap-rounded-table"
+ class="table-rounded"
+ no-border-collapse
:items="items_6"
:fields="fields_2"
:empty-text="$t('global.table.emptyMessage')"
@@ -248,18 +254,11 @@ export default {
key: 'param',
label: '',
formatter: this.dataFormatter,
- thClass: 'bootstrap-table__head_bg',
- class: 'bootstrap-table__column-first',
- tdClass: 'regular-12px bootstrap-table__td',
},
{
key: 'value',
label: '',
formatter: this.dataFormatter,
- thClass: 'bootstrap-table__head_bg',
- class: `bootstrap-table__column-last
- bootstrap-table__server-param`,
- tdClass: 'regular-12px bootstrap-table__td',
},
],
fields_2: [
@@ -267,49 +266,31 @@ export default {
key: 'name',
label: 'Параметр',
formatter: this.dataFormatter,
- thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg',
- class: 'bootstrap-rounded-table__column-first',
- tdClass: 'regular-12px bootstrap-rounded-table__td',
},
{
key: 'model',
label: 'Модель',
formatter: this.dataFormatter,
- thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg',
- class: 'bootstrap-rounded-table__column-center',
- tdClass: 'regular-12px bootstrap-rounded-table__td',
},
{
key: 'number',
label: 'Серийный номер',
formatter: this.dataFormatter,
- thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg',
- class: 'bootstrap-rounded-table__column-center',
- tdClass: 'regular-12px bootstrap-rounded-table__td',
},
{
key: 'type',
label: 'Тип устройства',
formatter: this.dataFormatter,
- thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg',
- class: 'bootstrap-rounded-table__column-center',
- tdClass: 'regular-12px bootstrap-rounded-table__td',
},
{
key: 'firmware',
label: 'Прошивка',
formatter: this.dataFormatter,
- thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg',
- class: 'bootstrap-rounded-table__column-center',
- tdClass: 'regular-12px bootstrap-rounded-table__td',
},
{
key: 'status',
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',
},
],
};
@@ -337,16 +318,6 @@ export default {
},
};
</script>
-<style lang="scss">
-.bootstrap-table__section {
- width: auto;
-}
-
-.bootstrap-table__server-param {
- width: 30%;
-}
-</style>
-
<style lang="scss" scoped>
.bold-16px {
display: block;
diff --git a/src/views/SILA/NetworkAdapters/FcHbaAdapters/FcHbaAdaptersPage.vue b/src/views/SILA/NetworkAdapters/FcHbaAdapters/FcHbaAdaptersPage.vue
index 827d195b..9ccc0509 100644
--- a/src/views/SILA/NetworkAdapters/FcHbaAdapters/FcHbaAdaptersPage.vue
+++ b/src/views/SILA/NetworkAdapters/FcHbaAdapters/FcHbaAdaptersPage.vue
@@ -30,7 +30,8 @@
</span>
<b-table
responsive="md"
- class="bootstrap-table bootstrap-table__stripes_odd"
+ class="table-stripes"
+ no-border-collapse
:items="items"
:fields="fields"
>
@@ -55,7 +56,8 @@
</span>
<b-table
responsive="md"
- class="bootstrap-table bootstrap-table__stripes_odd"
+ class="table-stripes"
+ no-border-collapse
:items="items_2"
:fields="fields"
>
@@ -94,7 +96,8 @@
</span>
<b-table
responsive="md"
- class="bootstrap-table bootstrap-table__stripes"
+ class="table-stripes"
+ no-border-collapse
:items="items_3"
:fields="fields"
>
@@ -151,18 +154,11 @@ export default {
key: 'param',
label: '',
formatter: this.dataFormatter,
- thClass: 'bootstrap-table__head_bg',
- class: 'bootstrap-table__column-first',
- tdClass: 'regular-12px bootstrap-table__td',
},
{
key: 'value',
label: '',
formatter: this.dataFormatter,
- thClass: 'bootstrap-table__head_bg',
- class: `bootstrap-table__column-last
- bootstrap-table__server-param`,
- tdClass: 'regular-12px bootstrap-table__td',
},
],
};
@@ -183,17 +179,7 @@ export default {
},
};
</script>
-<style lang="scss">
-.bootstrap-table__server-param {
- width: 30%;
-}
-</style>
-
<style lang="scss" scoped>
-.bootstrap-table__section {
- width: auto;
-}
-
.bold-16px {
display: block;
margin: 25px 0 16px 0;