Skip to content

Commit

Permalink
LDAP config dialog revision #1
Browse files Browse the repository at this point in the history
- added help sidebar
- added placeholder text
- reordered some elements in the dialog
- added a new control for “Allow anonymous access”

TBD “Allow anonymous access” needs backend activation
TBD Validation of form field input is spotty
TBD Actual text for help needs revision

Change-Id: I48ce30f7c8878a0de4ac0f3fcf27fde7ecd51911
Reviewed-on: http://review.couchbase.org/106649
Tested-by: Rob Ashcom <rob.ashcom@gmail.com>
Reviewed-by: Pavel Blagodov <stochmail@gmail.com>
Tested-by: Pavel Blagodov <stochmail@gmail.com>
  • Loading branch information
robashcom authored and pavel-blagodov committed Mar 25, 2019
1 parent 9fd416b commit d699f14
Show file tree
Hide file tree
Showing 4 changed files with 681 additions and 538 deletions.
6 changes: 5 additions & 1 deletion priv/public/ui/app/css/cbui-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ h4 label {
h5 {
font-size: .875rem;
font-weight: 600;
color: #333;
color: #000;
}
/* nav section title -------------------------------------------------------- */
h6 {
Expand Down Expand Up @@ -799,6 +799,10 @@ input:-ms-input-placeholder {
padding: .25rem 0 0 0;
line-height: normal;
}
input[type="text"]::placeholder,
textarea::placeholder {
color: #999;
}

input[type="email"][disabled],
input[type="number"][disabled],
Expand Down
35 changes: 35 additions & 0 deletions priv/public/ui/app/css/cbui-components.css
Original file line number Diff line number Diff line change
Expand Up @@ -2658,3 +2658,38 @@ input[type=text].scenario-desc {
.scenario-save-controls a {
font-size: .875rem;
}

/* LDAP configuration dialog -------------------------------------------------*/
.ldap-helpsidebar {
font-size: .75rem;
width: 248px;
position:fixed;
left: calc(50vw + 120px);
border: 1px solid #ececec;
height: 480px;
overflow-y: scroll;
border-width: 0 0 0 1px;
padding-left: 1rem;
}
.ldap-helpsidebar .disclosure {
padding-left: 1.25rem;
}
.ldap-helpsidebar .disclosed {
padding-left: 1.25rem;
}
.ldap-helpsidebar .disclosure:before {
font-size: .875rem;
top: 0;
}
.ldap-helpsidebar .disclosed:before {
font-size: .875rem;
top: 0;
}
.ldap-helpsidebar h5 {
line-height: 1.7;
margin-top: .25rem;
}
.ldap-helpsidebar h5:first-child {
line-height: 1.7;
margin-top: 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="row resp-sml margin-bottom-half">
<div
class="row"
mn-placeholder="filter roles groups..."
mn-placeholder="filter groups..."
mn-hide-button="true"
mn-search="rolesGroupsCtl.filterField">
</div>
Expand Down
Loading

0 comments on commit d699f14

Please sign in to comment.