summaryrefslogtreecommitdiff
path: root/src/views/Motherboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/Motherboard')
-rw-r--r--src/views/Motherboard/DynamicInfo/MotherboardDynamicPage.vue63
-rw-r--r--src/views/Motherboard/Specification/MotherboardSpecificationPage.vue54
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>