summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSurenNeware <sneware9@in.ibm.com>2020-10-07 18:00:34 +0300
committerYoshie Muranaka <yoshiemuranaka@gmail.com>2020-10-12 19:21:20 +0300
commit64c20a5e6523215935553267e362a28ae5a59fdc (patch)
tree7a5d37038fccbf36d593cc949201def5a50e5d35 /src
parent25b631bfeb1219942665619c8f2cb45eda812cd5 (diff)
downloadwebui-vue-64c20a5e6523215935553267e362a28ae5a59fdc.tar.xz
Add TFTP input label and helper text
- Add TFTP input label and helper text for firmware page. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I0f1d9f6fda9bf375449da7f8d814953628575775
Diffstat (limited to 'src')
-rw-r--r--src/locales/en-US.json3
-rw-r--r--src/views/Configuration/Firmware/Firmware.vue6
2 files changed, 7 insertions, 2 deletions
diff --git a/src/locales/en-US.json b/src/locales/en-US.json
index 0015abc7..830d46a5 100644
--- a/src/locales/en-US.json
+++ b/src/locales/en-US.json
@@ -211,7 +211,8 @@
"imageFileName": "Image file name",
"onlyTarFilesAccepted": "Only .tar files accepted",
"tftpServer": "TFTP server",
- "tftpServerIpAddress": "TFTP server IP address",
+ "tftpServerAddress": "TFTP server address",
+ "tftpServerAddressHelper": "IP address or FQDN",
"uploadAndRebootBmc": "Upload and reboot BMC",
"uploadLocation": "Upload location",
"workstation": "Workstation"
diff --git a/src/views/Configuration/Firmware/Firmware.vue b/src/views/Configuration/Firmware/Firmware.vue
index cfdc0a3e..e63db518 100644
--- a/src/views/Configuration/Firmware/Firmware.vue
+++ b/src/views/Configuration/Firmware/Firmware.vue
@@ -141,15 +141,19 @@
<!-- TFTP Server Upload -->
<template v-else>
<b-form-group
- :label="$t('pageFirmware.form.tftpServerIpAddress')"
+ :label="$t('pageFirmware.form.tftpServerAddress')"
label-for="tftp-ip"
>
+ <b-form-text id="server-address-help-block">
+ {{ $t('pageFirmware.form.tftpServerAddressHelper') }}
+ </b-form-text>
<b-form-input
id="tftp-id"
v-model="tftpIpAddress"
type="text"
:state="getValidationState($v.tftpIpAddress)"
:disabled="isPageDisabled"
+ aria-describedby="server-address-help-block"
@input="$v.tftpIpAddress.$touch()"
/>
<b-form-invalid-feedback role="alert">