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/Motherboard | |
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/Motherboard')
-rw-r--r-- | src/views/Motherboard/DynamicInfo/MotherboardDynamicPage.vue | 63 | ||||
-rw-r--r-- | src/views/Motherboard/Specification/MotherboardSpecificationPage.vue | 54 |
2 files changed, 54 insertions, 63 deletions
diff --git a/src/views/Motherboard/DynamicInfo/MotherboardDynamicPage.vue b/src/views/Motherboard/DynamicInfo/MotherboardDynamicPage.vue index 95267ece..e50bc399 100644 --- a/src/views/Motherboard/DynamicInfo/MotherboardDynamicPage.vue +++ b/src/views/Motherboard/DynamicInfo/MotherboardDynamicPage.vue @@ -4,43 +4,38 @@ fluid="xxl pt-0 m-0" > <page-title /> - <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/warning.svg" /> - <span class="semi-bold-12px">{{ - $t('tablesDescription.temperatureWarning') - }}</span> - <b-form-input - v-model="temperatureWarningInput" - type="number" - :min="0" - :max="100" - class="form-control medium-12px" - > - </b-form-input> - </div> - <b-button - class="save-button" - variant="primary" - @click="updateTemperature" + <date-switch :switch-time-scale="switchTimeScale" :time-scale="timeScale" /> + <div class="limit-container"> + <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="0" + :max="100" + class="form-control medium-12px" > - {{ $t('global.action.save') }} - </b-button> + </b-form-input> </div> - <!-- Temperature Table --> - <temperature-table - :time-scale="timeScale" - :warning="temperatureWarning" - :non-normal="temperatureNonNormal" - :critical-start="temperatureCriticalStart" - /> - <accessory-table :records="accessoryData.temperatureTable" /> + <b-button + class="save-button" + variant="primary" + @click="updateTemperature" + > + {{ $t('global.action.save') }} + </b-button> </div> + <!-- Temperature Table --> + <temperature-table + :time-scale="timeScale" + :warning="temperatureWarning" + :non-normal="temperatureNonNormal" + :critical-start="temperatureCriticalStart" + /> + <accessory-table :records="accessoryData.temperatureTable" /> </b-container> </template> <script> diff --git a/src/views/Motherboard/Specification/MotherboardSpecificationPage.vue b/src/views/Motherboard/Specification/MotherboardSpecificationPage.vue index 2146663d..03fc42e0 100644 --- a/src/views/Motherboard/Specification/MotherboardSpecificationPage.vue +++ b/src/views/Motherboard/Specification/MotherboardSpecificationPage.vue @@ -4,35 +4,31 @@ fluid="xxl pt-0 m-0" > <page-title /> - <div class="main-container"> - <page-section class="bootstrap-table__section"> - <span class="bold-16px">{{ $t('global.table.info') }}</span> - <b-table - responsive="md" - show-empty - class="bootstrap-rounded-table" - :items="items" - :fields="fields" - :empty-text="$t('global.table.emptyMessage')" - > - </b-table> - <span class="bold-16px">{{ - $t('appNavigation.motherboardParam') - }}</span> - <popover - id="popover-reactive-1" - description="SystemDescription.onBootRom" - popup="SystemDescription.onBootRom_popup" - button="global.action.refresh" - /> - <popover - id="popover-reactive-2" - description="SystemDescription.offBootRom" - popup="SystemDescription.offBootRom_popup" - button="global.action.refresh" - /> - </page-section> - </div> + <page-section class="bootstrap-table__section"> + <span class="bold-16px">{{ $t('global.table.info') }}</span> + <b-table + responsive="md" + show-empty + class="bootstrap-rounded-table" + :items="items" + :fields="fields" + :empty-text="$t('global.table.emptyMessage')" + > + </b-table> + <span class="bold-16px">{{ $t('appNavigation.motherboardParam') }}</span> + <popover + id="popover-reactive-1" + description="SystemDescription.onBootRom" + popup="SystemDescription.onBootRom_popup" + button="global.action.refresh" + /> + <popover + id="popover-reactive-2" + description="SystemDescription.offBootRom" + popup="SystemDescription.offBootRom_popup" + button="global.action.refresh" + /> + </page-section> </b-container> </template> |