webui: user management bug fixes
Bug fixes in user management
- Removed granular error messages which is causing
issues in non-redfish (rest api) case.
- Set default password show button state.
- Delete button missing in table issue fix.
- Role dropdown not proper issue fix.
- Associating label element with 'for' attributes.
Change-Id: I6c5bb25837bb2fcbcb131a88060e6acf603ca5a2
Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
diff --git a/app/users/styles/user-accounts.scss b/app/users/styles/user-accounts.scss
index fb6d162..3093546 100644
--- a/app/users/styles/user-accounts.scss
+++ b/app/users/styles/user-accounts.scss
@@ -1,5 +1,24 @@
$userInputHeight: 40px;
+.user-list__tbl {
+ .btn-edit,
+ .btn-delete {
+ padding: .5em 1em;
+ min-height: 2em;
+ color: $primebtn__text;
+ background: $primebtn__bg;
+ &:hover {
+ background: rgba($primebtn__bg, .8);
+ @include fastTransition-all;
+ }
+ &:disabled {
+ background: $btn__disabled-bg;
+ color: $btn__disabled-txt;
+ @include fastTransition-all;
+ cursor: default;
+ }
+ }
+}
.user-manage__form {
width: 100%;
.dropdown__button {