summaryrefslogtreecommitdiffstats
path: root/app/overview/styles
diff options
context:
space:
mode:
authordixsie <dixsiew@gmail.com>2019-04-16 13:30:30 -0500
committerGunnar Mills <gmills@us.ibm.com>2019-05-08 14:49:57 +0000
commit565efda513bbcda6c1c675eaebac6138782febe4 (patch)
treee1c4ace003ad445867b66f6215d3f20e106c1ea5 /app/overview/styles
parentde382089de4cf920a59e75124da3f4d7cac056d0 (diff)
downloadphosphor-webui-565efda513bbcda6c1c675eaebac6138782febe4.tar.gz
phosphor-webui-565efda513bbcda6c1c675eaebac6138782febe4.zip
Fix system overview edit hostname form validation
- Add pattern for no spaces - Fix character count - Prepopulate hostname in input field - Show error for invalid input - Improve form accessibility - Correct global disabled primary button style Resolves openbmc/phosphor-webui#71 Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: Ia0601ac7c52229d0606dc5b13397b468fa81426d
Diffstat (limited to 'app/overview/styles')
-rw-r--r--app/overview/styles/system-overview.scss8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/overview/styles/system-overview.scss b/app/overview/styles/system-overview.scss
index 01b7bc9..6bef6ed 100644
--- a/app/overview/styles/system-overview.scss
+++ b/app/overview/styles/system-overview.scss
@@ -46,8 +46,12 @@ input.modal__edit-server-name {
margin-bottom: 0;
}
-.modal__char-count {
- text-align: right;
+.modal__char-count,
+.modal__error {
font-size: .8em;
color: $darkgrey;
}
+
+.modal__error {
+ color: $error-color;
+} \ No newline at end of file
OpenPOWER on IntegriCloud