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.

---
 .../Specification/MemoryStaticPage.vue             | 156 ++++++++++-----------
 1 file changed, 77 insertions(+), 79 deletions(-)

(limited to 'src/views/MemoryModules/Specification/MemoryStaticPage.vue')

diff --git a/src/views/MemoryModules/Specification/MemoryStaticPage.vue b/src/views/MemoryModules/Specification/MemoryStaticPage.vue
index 679f4ba1..92df5373 100644
--- a/src/views/MemoryModules/Specification/MemoryStaticPage.vue
+++ b/src/views/MemoryModules/Specification/MemoryStaticPage.vue
@@ -4,85 +4,83 @@
     fluid="xxl pt-0 m-0"
   >
     <page-title />
-    <div class="main-container">
-      <page-section class="bootstrap-table__section info_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('global.table.memorySlots') }}</span>
-      </page-section>
-      <data-tabs
-        :slots="memorySlots"
-        :switch-tab="switchMemorySlot"
-        :current-tab="currentMemorySlot"
-        :slot-width="120"
-        :slider-width="97"
-      />
-      <page-section class="bootstrap-table__section">
-        <b-table
-          responsive="md"
-          show-empty
-          class="bootstrap-rounded-table"
-          :items="items_slots"
-          :fields="fields"
-          :empty-text="$t('global.table.emptyMessage')"
-        >
-          <template #cell(value)="{ index, value }">
-            <b-row v-if="index === 0">
-              <b-col cols="11">
-                <span>
-                  {{ 'Работоспособность' }}
-                </span>
-              </b-col>
-              <b-col cols="1">
-                <img src="@/assets/images/status/on.svg" class="icon-chevron" />
-              </b-col>
-            </b-row>
-            <b-row v-else>
-              <b-col>
-                <span>{{ value }}</span>
-              </b-col>
-            </b-row>
-          </template>
-        </b-table>
-      </page-section>
-      <page-section class="bootstrap-table__section">
-        <span class="bold-16px">{{ $t('global.table.memoryModules') }}</span>
-        <b-table
-          responsive="md"
-          show-empty
-          class="bootstrap-rounded-table"
-          :items="items_modules"
-          :fields="fields"
-          :empty-text="$t('global.table.emptyMessage')"
-        >
-          <template #cell(value)="{ index, value }">
-            <b-row v-if="index === 0">
-              <b-col cols="11">
-                <span>
-                  {{ 'Работоспособность' }}
-                </span>
-              </b-col>
-              <b-col cols="1">
-                <img src="@/assets/images/status/on.svg" class="icon-chevron" />
-              </b-col>
-            </b-row>
-            <b-row v-else>
-              <b-col>
-                <span>{{ value }}</span>
-              </b-col>
-            </b-row>
-          </template>
-        </b-table>
-      </page-section>
-    </div>
+    <page-section class="bootstrap-table__section info_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('global.table.memorySlots') }}</span>
+    </page-section>
+    <data-tabs
+      :slots="memorySlots"
+      :switch-tab="switchMemorySlot"
+      :current-tab="currentMemorySlot"
+      :slot-width="120"
+      :slider-width="97"
+    />
+    <page-section class="bootstrap-table__section">
+      <b-table
+        responsive="md"
+        show-empty
+        class="bootstrap-rounded-table"
+        :items="items_slots"
+        :fields="fields"
+        :empty-text="$t('global.table.emptyMessage')"
+      >
+        <template #cell(value)="{ index, value }">
+          <b-row v-if="index === 0">
+            <b-col cols="11">
+              <span>
+                {{ 'Работоспособность' }}
+              </span>
+            </b-col>
+            <b-col cols="1">
+              <img src="@/assets/images/status/on.svg" class="icon-chevron" />
+            </b-col>
+          </b-row>
+          <b-row v-else>
+            <b-col>
+              <span>{{ value }}</span>
+            </b-col>
+          </b-row>
+        </template>
+      </b-table>
+    </page-section>
+    <page-section class="bootstrap-table__section">
+      <span class="bold-16px">{{ $t('global.table.memoryModules') }}</span>
+      <b-table
+        responsive="md"
+        show-empty
+        class="bootstrap-rounded-table"
+        :items="items_modules"
+        :fields="fields"
+        :empty-text="$t('global.table.emptyMessage')"
+      >
+        <template #cell(value)="{ index, value }">
+          <b-row v-if="index === 0">
+            <b-col cols="11">
+              <span>
+                {{ 'Работоспособность' }}
+              </span>
+            </b-col>
+            <b-col cols="1">
+              <img src="@/assets/images/status/on.svg" class="icon-chevron" />
+            </b-col>
+          </b-row>
+          <b-row v-else>
+            <b-col>
+              <span>{{ value }}</span>
+            </b-col>
+          </b-row>
+        </template>
+      </b-table>
+    </page-section>
   </b-container>
 </template>
 
-- 
cgit v1.2.3

