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/DriversDynamicPage.vue             | 121 ++++++++++-----------
 1 file changed, 58 insertions(+), 63 deletions(-)

(limited to 'src/views/SILA/PhysicalDrivers/DynamicInfo/DriversDynamicPage.vue')

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>
-- 
cgit v1.2.3

