diff options
Diffstat (limited to 'src/views/_sila/BMC/Configuration/ConfigurationControl.vue')
-rw-r--r-- | src/views/_sila/BMC/Configuration/ConfigurationControl.vue | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/src/views/_sila/BMC/Configuration/ConfigurationControl.vue b/src/views/_sila/BMC/Configuration/ConfigurationControl.vue deleted file mode 100644 index d0b38397..00000000 --- a/src/views/_sila/BMC/Configuration/ConfigurationControl.vue +++ /dev/null @@ -1,74 +0,0 @@ -<template> - <page-section :section-title="$t('BMC.ControlTitle')"> - <popover - id="popover-reactive-1" - description="BMC.ReloadBmc" - popup="BMC.ReloadBmc_popup" - button="BMC.ReloadBmc" - :action="rebootBmc" - /> - <!-- <settings-import-popup - id="popover-reactive-2" - description="BMC.ExportImport" - popup="BMC.ExportImport" - button="BMC.ExportImport_button" - /> --> - <b-link @click="redirectNetworkParametrs">{{ $t('BMC.Parametrs') }}</b-link> - - <div class="bmc-control__table__cell"> - <!-- <div> - <span class="semi-bold-12px">{{ $t('BMC.microcode') }}</span> - </div> --> - <b-button variant="unstyled" class="p-0" @click="redirectUpdateBmc"> - <!-- <img src="@/assets/images/icon-reload-red.svg" /> --> - <b-link>{{ $t('BMC.ReloadMicrocodeBios') }}</b-link> - </b-button> - </div> - </page-section> -</template> - -<script> -import SettingsImportPopup from './SettingsImportPopup'; -import PageSection from '@/components/_sila/Global/PageSection'; -// import Popover from '@/components/_sila/Global/Popover'; -import BVToastMixin from '@/components/Mixins/BVToastMixin'; - -export default { - components: { - PageSection, - // Popover, - SettingsImportPopup, - }, - mixins: [BVToastMixin], - data() { - return { - timeOption: 'resetBios', - picked: '', - options: [ - { text: 'Toggle this custom radio', value: 'first' }, - { text: 'Or toggle this other custom radio', value: 'second' }, - ], - progress1: { - value: 90, - }, - progress2: { - value: null, - }, - }; - }, - methods: { - redirectNetworkParametrs() { - this.$router.push('/network-parametrs'); - }, - redirectUpdateBmc() { - this.$router.push('/operations/firmware'); - }, - rebootBmc() { - this.$store - .dispatch('controls/rebootBmc') - .then((message) => this.successToast(message)) - .catch(({ message }) => this.errorToast(message)); - }, - }, -}; -</script> |