summaryrefslogtreecommitdiff
path: root/src/views/Configuration/Firmware/FirmwareAlertServerPower.vue
diff options
context:
space:
mode:
authorSandeepa Singh <sandeepa.singh@ibm.com>2021-07-14 13:32:22 +0300
committerDerick Montague <derick.montague@ibm.com>2021-08-10 22:20:42 +0300
commit68cbbe9014cbdcf7229a878f564d38f6d6199f25 (patch)
treecd7138959f405cb44b5d62000da9d364ed238b91 /src/views/Configuration/Firmware/FirmwareAlertServerPower.vue
parent7affc529b7fba41193c4d48764707e9961cdd22d (diff)
downloadwebui-vue-68cbbe9014cbdcf7229a878f564d38f6d6199f25.tar.xz
IA update: Update control section to operations
This is the third update to the information architecture changes and has the following changes: - The control section has been updated to operations - The server led page has been removed - The firmware page is moved to operations section Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I2e23da447890d7bee51892e1f782d5f2db6dded4
Diffstat (limited to 'src/views/Configuration/Firmware/FirmwareAlertServerPower.vue')
-rw-r--r--src/views/Configuration/Firmware/FirmwareAlertServerPower.vue50
1 files changed, 0 insertions, 50 deletions
diff --git a/src/views/Configuration/Firmware/FirmwareAlertServerPower.vue b/src/views/Configuration/Firmware/FirmwareAlertServerPower.vue
deleted file mode 100644
index 2a3bcba1..00000000
--- a/src/views/Configuration/Firmware/FirmwareAlertServerPower.vue
+++ /dev/null
@@ -1,50 +0,0 @@
-<template>
- <b-row>
- <b-col xl="10">
- <!-- Operation in progress alert -->
- <alert v-if="isOperationInProgress" variant="info" class="mb-5">
- <p>
- {{ $t('pageFirmware.alert.operationInProgress') }}
- </p>
- </alert>
- <!-- Power off server warning alert -->
- <alert v-else-if="!isServerOff" variant="warning" class="mb-5">
- <p class="mb-0">
- {{ $t('pageFirmware.alert.serverMustBePoweredOffTo') }}
- </p>
- <ul class="m-0">
- <li>
- {{ $t('pageFirmware.alert.switchRunningAndBackupImages') }}
- </li>
- <li>
- {{ $t('pageFirmware.alert.updateFirmware') }}
- </li>
- </ul>
- <template #action>
- <b-link to="/control/server-power-operations">
- {{ $t('pageFirmware.alert.viewServerPowerOperations') }}
- </b-link>
- </template>
- </alert>
- </b-col>
- </b-row>
-</template>
-
-<script>
-import Alert from '@/components/Global/Alert';
-
-export default {
- components: { Alert },
- props: {
- isServerOff: {
- required: true,
- type: Boolean,
- },
- },
- computed: {
- isOperationInProgress() {
- return this.$store.getters['controls/isOperationInProgress'];
- },
- },
-};
-</script>