diff options
author | Anna Tsyganova <ATSyganova@IBS.RU> | 2022-07-22 18:08:02 +0300 |
---|---|---|
committer | Anna Tsyganova <ATSyganova@IBS.RU> | 2022-07-22 18:08:02 +0300 |
commit | a3b798a23a2fb8041461eb4193f85bc237a8aff2 (patch) | |
tree | 7f3eeaa52b883d361538656ea1b41f33816ecbfb /src/views | |
parent | 4b34f749a48350e527496c599cf31aca7eb90288 (diff) | |
parent | 7025d0b7049a291cfe490a10edaf8771797eda57 (diff) | |
download | webui-vue-a3b798a23a2fb8041461eb4193f85bc237a8aff2.tar.xz |
Merge branch 'sila-ui' of git.sila.ru:pub/openbmc/webui-vue into sila-ui
Diffstat (limited to 'src/views')
-rw-r--r-- | src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue | 48 |
1 files changed, 26 insertions, 22 deletions
diff --git a/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue b/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue index 6f30576a..647af39e 100644 --- a/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue +++ b/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue @@ -1,29 +1,33 @@ <template> <b-container fluid="xl"> <page-title :description="$t('appPageTitle.dynamicInformation')" /> - <collapse id="collapse_1" title="Температра" style="margin-top: -2rem"> + <collapse + id="collapse_1" + :title="$t('pageProcessors.temperature')" + style="margin-top: -2rem" + > <template #image> <img src="@/assets/images/_sila/collapsed/temperature.svg" /> </template> <page-section> <b-row class="align-items-end pt-2"> - <b-col sm="12" md="6" lg="3"> - <b-form-group label="Не штатный режим"> + <b-col xs="12" md="6" lg="3" class="pt-2"> + <b-form-group :label="$t('pageProcessors.labels.notNormal')"> <b-form-input> </b-form-input> </b-form-group> </b-col> - <b-col sm="12" md="6" lg="3"> - <b-form-group label="Критический режим"> + <b-col xs="12" md="6" lg="3" class="pt-2"> + <b-form-group :label="$t('pageProcessors.labels.critical')"> <b-form-input> </b-form-input> </b-form-group> </b-col> - <b-col sm="12" md="6" lg="3"> - <b-form-group label="Значение предупреждения"> - <b-form-input> </b-form-input> + <b-col xs="12" md="6" lg="3" class="pt-2"> + <b-form-group :label="$t('pageProcessors.labels.warning')"> + <b-form-input style=""> </b-form-input> </b-form-group> </b-col> - <b-col sm="12" md="6" lg="3"> - <b-button variant="primary"> + <b-col xs="12" md="6" lg="3" class="pt-2"> + <b-button variant="primary" style="height: 35px"> {{ 'Сохранить' }} </b-button> </b-col> @@ -52,18 +56,18 @@ {{ value }} </template> <template #cell(minDate)="{ value }"> - <span class="regular-12px"> + <span style="color: rgb(12, 28, 41)"> {{ value.time }} </span> - <span class="regular-12px tretiatry"> + <span> {{ value.date }} </span> </template> <template #cell(maxDate)="{ value }"> - <span class="regular-12px"> + <span style="color: rgb(12, 28, 41)"> {{ value.time }} </span> - <span class="regular-12px tretiatry"> + <span> {{ value.date }} </span> </template> @@ -94,31 +98,31 @@ export default { fields: [ { key: 'name', - label: 'Имя модуля', + label: this.$t('pageProcessors.table.name'), }, { key: 'currentTemperature', - label: 'Текущее, С°', + label: this.$t('pageProcessors.table.currentTemperature'), }, { key: 'middleTemperature', - label: 'Среднее, С°', + label: this.$t('pageProcessors.table.middleTemperature'), }, { key: 'minTemperature', - label: 'Минимальное, С°', + label: this.$t('pageProcessors.table.minTemperature'), }, { key: 'minDate', - label: 'Дата минимального', + label: this.$t('pageProcessors.table.minDate'), }, { key: 'maxTemperature', - label: 'Максимальное, С°', + label: this.$t('pageProcessors.table.maxTemperature'), }, { key: 'maxDate', - label: 'Дата максимального', + label: this.$t('pageProcessors.table.maxDate'), }, ], items: [ @@ -191,7 +195,7 @@ export default { }, colors() { return this.$randomColor({ - count: this.allSensors?.length, + count: this.items?.length, hue: 'random', luminosity: 'random', }); |