From c2d0cfa676eb57602d3bb3c44c6b7965f84b82da Mon Sep 17 00:00:00 2001
From: Maksim Zakharov <m.zakharov@IBS.RU>
Date: Fri, 9 Sep 2022 14:10:03 +0300
Subject: smnp-layout

---
 .../_sila/Settings/TransferInfo/WarningSmnp.vue    | 57 ++++++++++++++++++++++
 1 file changed, 57 insertions(+)
 create mode 100644 src/views/_sila/Settings/TransferInfo/WarningSmnp.vue

(limited to 'src/views/_sila/Settings/TransferInfo/WarningSmnp.vue')

diff --git a/src/views/_sila/Settings/TransferInfo/WarningSmnp.vue b/src/views/_sila/Settings/TransferInfo/WarningSmnp.vue
new file mode 100644
index 00000000..df97d1a1
--- /dev/null
+++ b/src/views/_sila/Settings/TransferInfo/WarningSmnp.vue
@@ -0,0 +1,57 @@
+<template>
+  <page-section section-title="Предупреждения SNmP">
+    <b-row>
+      <b-col>
+        <b-table
+          hover
+          responsive="md"
+          show-empty
+          :items="items"
+          :fields="fields"
+          :empty-text="$t('global.table.emptyMessage')"
+        >
+        </b-table>
+      </b-col>
+    </b-row>
+    <b-row>
+      <b-col class="d-flex justify-content-end flex-wrap">
+        <b-button variant="secondary" class="mr-3 mb-3">
+          {{ 'Тестовое сообщение' }}
+        </b-button>
+        <b-button variant="primary" class="mb-3">
+          {{ $t('global.action.save') }}
+        </b-button>
+      </b-col>
+    </b-row>
+  </page-section>
+</template>
+
+<script>
+import PageSection from '@/components/_sila/Global/PageSection';
+
+export default {
+  name: 'WarningSmnp',
+  components: {
+    PageSection,
+  },
+
+  data() {
+    return {
+      fields: [
+        {
+          key: 'id',
+          label: 'Тип предупреждения',
+          formatter: this.dataFormatter,
+        },
+        {
+          key: 'health',
+          label: 'Значение',
+          formatter: this.dataFormatter,
+          tdClass: 'text-nowrap',
+        },
+      ],
+    };
+  },
+  computed: {},
+};
+</script>
-- 
cgit v1.2.3

