WebUI: Support for configure failed login attempts
This commit adds the support for failed login attempts
configuration. With this user can configure the number of
failed login attempts and account lockout duration.
This also adds provision to view other user account
properties like MaxPassword, MinPassword etc.
Tested By:
Loaded the Webui and modified values like
Failed login Attempts and Account lockout duration.
Also tested other account properties view.
Change-Id: I6abd5a16771956640ba6b6d81c1c7ad9503067b1
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 3093546..858d1aa 100644
--- a/app/users/styles/user-accounts.scss
+++ b/app/users/styles/user-accounts.scss
@@ -19,6 +19,11 @@
}
}
}
+.acnt-prop-header {
+ width: 100%;
+ border-bottom: 2px solid #b8c1c1;
+ margin: 0px 0px 15px;
+}
.user-manage__form {
width: 100%;
.dropdown__button {
@@ -44,13 +49,16 @@
margin-bottom: 1em;
border-bottom: 1px solid $medgrey;
}
+ .acnt-prop__input-wrapper,
.user-manage__input-wrapper {
position: relative;
height: $userInputHeight;
- margin-bottom: 1em;
- input {
- padding-right: 60px;
- }
+ margin-bottom: 5px;
+ }
+ .acnt-prop__span-wrapper {
+ position: relative;
+ height: 20px;
+ margin-bottom: 5px;
}
.password-toggle {
position: absolute;
@@ -61,10 +69,11 @@
font-size: .8em;
@include vertCenter;
}
+ .acnt-prop__submit-wrapper,
.user-manage__submit-wrapper {
width: 100%;
- margin-top: 3em;
- padding-top: 1em;
+ margin-top: 6px;
+ padding-top: 1px;
border-top: 1px solid $medgrey;
button {
float: right;