diff options
author | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-06-06 18:39:19 +0300 |
---|---|---|
committer | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-06-07 11:43:30 +0300 |
commit | 1b8d6d756c9dff14d3dd8298ecae7d6fe73192e5 (patch) | |
tree | c4ab6c1a355507af459709ca82a05d1299bdb130 /src/views/SILA/PhysicalDrivers/DynamicInfo | |
parent | 0cbf1713dc23e0039653891fab1fa2c52b4bfaf3 (diff) | |
download | webui-vue-1b8d6d756c9dff14d3dd8298ecae7d6fe73192e5.tar.xz |
Delete main-container, add global scroll to pages, add global style for logs.
Diffstat (limited to 'src/views/SILA/PhysicalDrivers/DynamicInfo')
-rw-r--r-- | src/views/SILA/PhysicalDrivers/DynamicInfo/DriversDynamicPage.vue | 121 |
1 files changed, 58 insertions, 63 deletions
diff --git a/src/views/SILA/PhysicalDrivers/DynamicInfo/DriversDynamicPage.vue b/src/views/SILA/PhysicalDrivers/DynamicInfo/DriversDynamicPage.vue index cd148f7d..1e643ebd 100644 --- a/src/views/SILA/PhysicalDrivers/DynamicInfo/DriversDynamicPage.vue +++ b/src/views/SILA/PhysicalDrivers/DynamicInfo/DriversDynamicPage.vue @@ -20,72 +20,67 @@ </button> </div> </div> - <div class="main-container"> - <date-switch - :switch-time-scale="switchTimeScale" - :time-scale="timeScale" - /> - <div class="limit-container"> - <div class="trmperature-limt"> - <img src="@/assets/images/labels/non-normal.svg" /> - <span class="semi-bold-12px">{{ - $t('tablesDescription.nonNormalMode') - }}</span> - <b-form-input - v-model="temperatureNonNormalInput" - type="number" - :min="0" - :max="temperatureCritical" - class="form-control medium-12px" - > - </b-form-input> - </div> - <div class="trmperature-limt"> - <img src="@/assets/images/labels/critical.svg" /> - <span class="semi-bold-12px">{{ - $t('tablesDescription.criticalMode') - }}</span> - <b-form-input - v-model="temperatureCritical" - type="number" - :min="temperatureNonNormalInput" - :max="temperatureWarningInput" - class="form-control medium-12px" - > - </b-form-input> - </div> - <div class="trmperature-limt"> - <img src="@/assets/images/labels/warning.svg" /> - <span class="semi-bold-12px">{{ - $t('tablesDescription.temperatureWarning') - }}</span> - <b-form-input - v-model="temperatureWarningInput" - type="number" - :min="temperatureCritical" - :max="100" - class="form-control medium-12px" - > - </b-form-input> - </div> - <b-button - class="save-button" - variant="primary" - @click="updateTemperatureLimits" + <date-switch :switch-time-scale="switchTimeScale" :time-scale="timeScale" /> + <div class="limit-container"> + <div class="trmperature-limt"> + <img src="@/assets/images/labels/non-normal.svg" /> + <span class="semi-bold-12px">{{ + $t('tablesDescription.nonNormalMode') + }}</span> + <b-form-input + v-model="temperatureNonNormalInput" + type="number" + :min="0" + :max="temperatureCritical" + class="form-control medium-12px" + > + </b-form-input> + </div> + <div class="trmperature-limt"> + <img src="@/assets/images/labels/critical.svg" /> + <span class="semi-bold-12px">{{ + $t('tablesDescription.criticalMode') + }}</span> + <b-form-input + v-model="temperatureCritical" + type="number" + :min="temperatureNonNormalInput" + :max="temperatureWarningInput" + class="form-control medium-12px" > - {{ $t('global.action.save') }} - </b-button> + </b-form-input> + </div> + <div class="trmperature-limt"> + <img src="@/assets/images/labels/warning.svg" /> + <span class="semi-bold-12px">{{ + $t('tablesDescription.temperatureWarning') + }}</span> + <b-form-input + v-model="temperatureWarningInput" + type="number" + :min="temperatureCritical" + :max="100" + class="form-control medium-12px" + > + </b-form-input> </div> - <!-- Temperature Table --> - <temperature-table - :time-scale="timeScale" - :warning="temperatureWarning" - :non-normal="temperatureNonNormal" - :critical-start="temperatureCriticalStart" - /> - <accessory-table-drivers :records="accessoryData.table" /> - <accessory-table :records="accessoryData.temperatureTable" /> + <b-button + class="save-button" + variant="primary" + @click="updateTemperatureLimits" + > + {{ $t('global.action.save') }} + </b-button> </div> + <!-- Temperature Table --> + <temperature-table + :time-scale="timeScale" + :warning="temperatureWarning" + :non-normal="temperatureNonNormal" + :critical-start="temperatureCriticalStart" + /> + <accessory-table-drivers :records="accessoryData.table" /> + <accessory-table :records="accessoryData.temperatureTable" /> </b-container> </template> <script> |