From c4d70da69a3c86f8c07ccdb0f09b755dd99b2155 Mon Sep 17 00:00:00 2001
From: Maksim Zakharov <m.zakharov@IBS.RU>
Date: Tue, 24 May 2022 10:04:19 +0300
Subject: Add global popovers. Add pages: pci, adapters, raid, drivers, virtual
 drivers. Fix: analytical pannel, bmc-settings popovers. fix global styles

---
 .../Specification/ProcessorsSpecificationTable.vue | 61 ++--------------------
 1 file changed, 4 insertions(+), 57 deletions(-)

(limited to 'src/views/Processors/Specification/ProcessorsSpecificationTable.vue')

diff --git a/src/views/Processors/Specification/ProcessorsSpecificationTable.vue b/src/views/Processors/Specification/ProcessorsSpecificationTable.vue
index 6efc2e21b..1d026f1b2 100644
--- a/src/views/Processors/Specification/ProcessorsSpecificationTable.vue
+++ b/src/views/Processors/Specification/ProcessorsSpecificationTable.vue
@@ -27,7 +27,7 @@
       <div v-if="value" class="fans-table-col-first__cell">
         <img class="status__img" src="@/assets/images/fans-page/working.svg" />
         <span>
-          {{ $t('fansPage.inWork') }}
+          {{ $t('global.status.inWork') }}
         </span>
       </div>
       <div v-else class="fans-table-col-first__cell">
@@ -36,7 +36,7 @@
           src="@/assets/images/fans-page/notWorking.svg"
         />
         <span>
-          {{ $t('fansPage.notWorking') }}
+          {{ $t('global.status.outWorking') }}
         </span>
       </div>
     </template>
@@ -44,59 +44,6 @@
     <template #row-details="{ index }">
       <b-container fluid>
         <!-- ProcessorCapabilityInfo -->
-        <b-row>
-          <b-col class="mt-0 mb-2 p-0 bold-12px__caps">
-            {{ $t('pageInventory.table.processorCapabilityInfo') }}
-          </b-col>
-        </b-row>
-        <b-row>
-          <b-col class="mt-2 p-0" sm="3" xl="3">
-            <dl class="light-12px">
-              <dd class="attrib-names">{{ $t('global.table.attributes') }}</dd>
-              <dd>{{ 'Многопоточность' }}</dd>
-              <dd>{{ 'Виртуализация' }}</dd>
-              <dd>{{ 'Турбо режим' }}</dd>
-            </dl>
-          </b-col>
-          <b-col class="mt-2 p-0" sm="3" xl="3">
-            <dl class="light-12px">
-              <dd class="attrib-names">{{ 'Состояние присутсвия' }}</dd>
-              <dd
-                v-for="item in processors[index].presence_status"
-                :key="item.presence_status"
-              >
-                {{ dataFormatter(item) }}
-              </dd>
-            </dl>
-          </b-col>
-          <b-col class="mt-2 p-0" sm="3" xl="3">
-            <dl class="light-12px">
-              <!-- Status state -->
-              <dd class="attrib-names">{{ 'Включен' }}</dd>
-              <dd>
-                <b-form-checkbox
-                  v-model="processors[index].statuses.multithreading"
-                  switch
-                >
-                </b-form-checkbox>
-              </dd>
-              <dd>
-                <b-form-checkbox
-                  v-model="processors[index].statuses.virtualization"
-                  switch
-                >
-                </b-form-checkbox>
-              </dd>
-              <dd>
-                <b-form-checkbox
-                  v-model="processors[index].statuses.turbo"
-                  switch
-                >
-                </b-form-checkbox>
-              </dd>
-            </dl>
-          </b-col>
-        </b-row>
         <b-row>
           <b-col class="mt-3 mb-2 p-0 bold-12px__caps">
             {{ $t('pageInventory.table.processorCacheInfo') }}
@@ -202,7 +149,7 @@ import IconChevron from '@carbon/icons-vue/es/chevron--down/20';
 import BVToastMixin from '@/components/Mixins/BVToastMixin';
 import DataFormatterMixin from '@/components/Mixins/DataFormatterMixin';
 
-import { Processors } from './mock';
+import { processors } from './helpers';
 export default {
   components: { IconChevron },
   mixins: [BVToastMixin, TableRowExpandMixin, DataFormatterMixin],
@@ -210,7 +157,7 @@ export default {
     return {
       isBusy: true,
       isAddersСolon: false,
-      processors: Processors,
+      processors,
       fields: [
         {
           key: 'expandRow',
-- 
cgit v1.2.3

