From 1b8d6d756c9dff14d3dd8298ecae7d6fe73192e5 Mon Sep 17 00:00:00 2001
From: Maksim Zakharov <m.zakharov@IBS.RU>
Date: Mon, 6 Jun 2022 18:39:19 +0300
Subject: Delete main-container, add global scroll to pages, add global style
 for logs.

---
 .../DynamicInfo/MemoryDynamicPage.vue              | 119 ++++++++++-----------
 1 file changed, 57 insertions(+), 62 deletions(-)

(limited to 'src/views/MemoryModules/DynamicInfo/MemoryDynamicPage.vue')

diff --git a/src/views/MemoryModules/DynamicInfo/MemoryDynamicPage.vue b/src/views/MemoryModules/DynamicInfo/MemoryDynamicPage.vue
index 640513f5..eeec0224 100644
--- a/src/views/MemoryModules/DynamicInfo/MemoryDynamicPage.vue
+++ b/src/views/MemoryModules/DynamicInfo/MemoryDynamicPage.vue
@@ -20,71 +20,66 @@
         </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 :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 :records="accessoryData.temperatureTable" />
   </b-container>
 </template>
 <script>
-- 
cgit v1.2.3

