Display error if TFTP field empty
If either TFTP Server IP Address or File Name is empty for the
"Download image file from TFTP server" function, return and
display an error.
Tested: Verified I see this error if either field is empty.
Change-Id: I3da3353dad7cfb0f765d8a662412c3adb3fa4efd
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/common/styles/elements/errors.scss b/app/common/styles/elements/errors.scss
new file mode 100644
index 0000000..3076a3d
--- /dev/null
+++ b/app/common/styles/elements/errors.scss
@@ -0,0 +1,11 @@
+.error-msg {
+ background: lighten($error-color, 20%);
+ padding: 1em;
+ text-align: center;
+ font-size: 1em;
+ border: 1px solid $error-color;
+ color: $black;
+ font-family: "Courier New", Helvetica, Arial, sans-serif;
+ font-weight: 700;
+ max-width: 325px;
+}
diff --git a/app/common/styles/elements/index.scss b/app/common/styles/elements/index.scss
index 757ff26..d431ef8 100644
--- a/app/common/styles/elements/index.scss
+++ b/app/common/styles/elements/index.scss
@@ -11,3 +11,4 @@
@import "export";
@import "modals";
@import "quicklinks";
+@import "errors";