diff options
author | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-09-09 14:10:03 +0300 |
---|---|---|
committer | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-09-09 14:10:03 +0300 |
commit | c2d0cfa676eb57602d3bb3c44c6b7965f84b82da (patch) | |
tree | dbed4007384c11de2bb37a7262255a3e4d887700 /src/views/_sila/Settings/TransferInfo/WarningSmnp.vue | |
parent | b1e69d3cdfbd682c8eaab1246f62be5bfe1a07e9 (diff) | |
download | webui-vue-c2d0cfa676eb57602d3bb3c44c6b7965f84b82da.tar.xz |
smnp-layout
Diffstat (limited to 'src/views/_sila/Settings/TransferInfo/WarningSmnp.vue')
-rw-r--r-- | src/views/_sila/Settings/TransferInfo/WarningSmnp.vue | 57 |
1 files changed, 57 insertions, 0 deletions
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> |