From a4dcc4486cba71cd751327184a6651ebcba4e935 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.

---
 .../FcHbaAdapters/FcHbaAdaptersPage.vue            | 218 ++++++++++-----------
 1 file changed, 108 insertions(+), 110 deletions(-)

(limited to 'src/views/SILA/NetworkAdapters/FcHbaAdapters/FcHbaAdaptersPage.vue')

diff --git a/src/views/SILA/NetworkAdapters/FcHbaAdapters/FcHbaAdaptersPage.vue b/src/views/SILA/NetworkAdapters/FcHbaAdapters/FcHbaAdaptersPage.vue
index 8184349d..6890f2c0 100644
--- a/src/views/SILA/NetworkAdapters/FcHbaAdapters/FcHbaAdaptersPage.vue
+++ b/src/views/SILA/NetworkAdapters/FcHbaAdapters/FcHbaAdaptersPage.vue
@@ -4,116 +4,114 @@
     fluid="xxl pt-0 m-0"
   >
     <page-title />
-    <div class="main-container">
-      <data-tabs
-        :slots="adaptersSlots"
-        :switch-tab="switchAdapterSlot"
-        :current-tab="currentAdapterSlot"
-        :slot-width="85"
-        :slider-width="60"
-        style="margin-top: 16px"
-      />
-      <page-section class="bootstrap-table__section">
-        <div class="settings-container">
-          <span class="bold-16px">{{ $t('appNavigation.settings') }}</span>
-          <apply-settings-popover
-            :appaly-on-reload="appalyOnReload"
-            :appaly-option1="appalyOption1"
-            :appaly-option2="appalyOption2"
-            :apply-type="applyType"
-          />
-          <b-button variant="primary" class="apply-button">
-            {{ $t('global.action.acceptChanges') }}
-          </b-button>
-        </div>
-        <span class="bold-12px__caps">
-          {{ $t('adapters.wwnAddres') }}
-        </span>
-        <b-table
-          responsive="md"
-          class="bootstrap-table bootstrap-table__stripes_odd"
-          :items="items"
-          :fields="fields"
-        >
-          <template #cell(value)="data">
-            <b-row>
-              <b-col>
-                <span>
-                  {{ data.value }}
-                </span>
-              </b-col>
-              <b-col>
-                <img
-                  src="@/assets/images/icon-edit.svg"
-                  class="icon-chevron icon-edit"
-                />
-              </b-col>
-            </b-row>
-          </template>
-        </b-table>
-        <span class="bold-12px__caps">
-          {{ $t('adapters.settings') }}
-        </span>
-        <b-table
-          responsive="md"
-          class="bootstrap-table bootstrap-table__stripes_odd"
-          :items="items_2"
-          :fields="fields"
-        >
-          <template #cell(value)="data">
-            <b-row v-if="data.index === 0 || data.index === 3">
-              <b-col>
-                <span>
-                  {{ data.value }}
-                </span>
-              </b-col>
-            </b-row>
-            <b-row v-else-if="data.index === 4">
-              <b-col>
-                <span>
-                  {{ data.value ? 'Включено' : 'Выключено' }}
-                </span>
-              </b-col>
-              <b-col>
-                <img :is="iconChevron" class="icon-chevron icon-options" />
-              </b-col>
-            </b-row>
-            <b-row v-else>
-              <b-col>
-                <span>
-                  {{ data.value }}
-                </span>
-              </b-col>
-              <b-col>
-                <img :is="iconChevron" class="icon-chevron icon-options" />
-              </b-col>
-            </b-row>
-          </template>
-        </b-table>
-        <span class="bold-12px__caps">
-          {{ $t('adapters.propherties') }}
-        </span>
-        <b-table
-          responsive="md"
-          class="bootstrap-table bootstrap-table__stripes"
-          :items="items_3"
-          :fields="fields"
-        >
-        </b-table>
-        <div class="microcode-container">
-          <span class="bold-16px">{{
-            $t('SystemDescription.microcodeAdapter')
-          }}</span>
-          <popover
-            id="popover-reactive-1"
-            description="adapters.microcodeUpdate"
-            popup="adapters.microcodeUpdate_popup"
-            button="global.action.refresh"
-            :is-microcode-drivers="true"
-          />
-        </div>
-      </page-section>
-    </div>
+    <data-tabs
+      :slots="adaptersSlots"
+      :switch-tab="switchAdapterSlot"
+      :current-tab="currentAdapterSlot"
+      :slot-width="85"
+      :slider-width="60"
+      style="margin-top: 16px"
+    />
+    <page-section class="bootstrap-table__section">
+      <div class="settings-container">
+        <span class="bold-16px">{{ $t('appNavigation.settings') }}</span>
+        <apply-settings-popover
+          :appaly-on-reload="appalyOnReload"
+          :appaly-option1="appalyOption1"
+          :appaly-option2="appalyOption2"
+          :apply-type="applyType"
+        />
+        <b-button variant="primary" class="apply-button">
+          {{ $t('global.action.acceptChanges') }}
+        </b-button>
+      </div>
+      <span class="bold-12px__caps">
+        {{ $t('adapters.wwnAddres') }}
+      </span>
+      <b-table
+        responsive="md"
+        class="bootstrap-table bootstrap-table__stripes_odd"
+        :items="items"
+        :fields="fields"
+      >
+        <template #cell(value)="data">
+          <b-row>
+            <b-col>
+              <span>
+                {{ data.value }}
+              </span>
+            </b-col>
+            <b-col>
+              <img
+                src="@/assets/images/icon-edit.svg"
+                class="icon-chevron icon-edit"
+              />
+            </b-col>
+          </b-row>
+        </template>
+      </b-table>
+      <span class="bold-12px__caps">
+        {{ $t('adapters.settings') }}
+      </span>
+      <b-table
+        responsive="md"
+        class="bootstrap-table bootstrap-table__stripes_odd"
+        :items="items_2"
+        :fields="fields"
+      >
+        <template #cell(value)="data">
+          <b-row v-if="data.index === 0 || data.index === 3">
+            <b-col>
+              <span>
+                {{ data.value }}
+              </span>
+            </b-col>
+          </b-row>
+          <b-row v-else-if="data.index === 4">
+            <b-col>
+              <span>
+                {{ data.value ? 'Включено' : 'Выключено' }}
+              </span>
+            </b-col>
+            <b-col>
+              <img :is="iconChevron" class="icon-chevron icon-options" />
+            </b-col>
+          </b-row>
+          <b-row v-else>
+            <b-col>
+              <span>
+                {{ data.value }}
+              </span>
+            </b-col>
+            <b-col>
+              <img :is="iconChevron" class="icon-chevron icon-options" />
+            </b-col>
+          </b-row>
+        </template>
+      </b-table>
+      <span class="bold-12px__caps">
+        {{ $t('adapters.propherties') }}
+      </span>
+      <b-table
+        responsive="md"
+        class="bootstrap-table bootstrap-table__stripes"
+        :items="items_3"
+        :fields="fields"
+      >
+      </b-table>
+      <div class="microcode-container">
+        <span class="bold-16px">{{
+          $t('SystemDescription.microcodeAdapter')
+        }}</span>
+        <popover
+          id="popover-reactive-1"
+          description="adapters.microcodeUpdate"
+          popup="adapters.microcodeUpdate_popup"
+          button="global.action.refresh"
+          :is-microcode-drivers="true"
+        />
+      </div>
+    </page-section>
   </b-container>
 </template>
 
-- 
cgit v1.2.3

