Skip to content

Commit d699f14

Browse files
robashcompavel-blagodov
authored andcommitted
LDAP config dialog revision #1
- 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 <[email protected]> Reviewed-by: Pavel Blagodov <[email protected]> Tested-by: Pavel Blagodov <[email protected]>
1 parent 9fd416b commit d699f14

File tree

4 files changed

+681
-538
lines changed

4 files changed

+681
-538
lines changed

priv/public/ui/app/css/cbui-base.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ h4 label {
170170
h5 {
171171
font-size: .875rem;
172172
font-weight: 600;
173-
color: #333;
173+
color: #000;
174174
}
175175
/* nav section title -------------------------------------------------------- */
176176
h6 {
@@ -799,6 +799,10 @@ input:-ms-input-placeholder {
799799
padding: .25rem 0 0 0;
800800
line-height: normal;
801801
}
802+
input[type="text"]::placeholder,
803+
textarea::placeholder {
804+
color: #999;
805+
}
802806

803807
input[type="email"][disabled],
804808
input[type="number"][disabled],

priv/public/ui/app/css/cbui-components.css

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2658,3 +2658,38 @@ input[type=text].scenario-desc {
26582658
.scenario-save-controls a {
26592659
font-size: .875rem;
26602660
}
2661+
2662+
/* LDAP configuration dialog -------------------------------------------------*/
2663+
.ldap-helpsidebar {
2664+
font-size: .75rem;
2665+
width: 248px;
2666+
position:fixed;
2667+
left: calc(50vw + 120px);
2668+
border: 1px solid #ececec;
2669+
height: 480px;
2670+
overflow-y: scroll;
2671+
border-width: 0 0 0 1px;
2672+
padding-left: 1rem;
2673+
}
2674+
.ldap-helpsidebar .disclosure {
2675+
padding-left: 1.25rem;
2676+
}
2677+
.ldap-helpsidebar .disclosed {
2678+
padding-left: 1.25rem;
2679+
}
2680+
.ldap-helpsidebar .disclosure:before {
2681+
font-size: .875rem;
2682+
top: 0;
2683+
}
2684+
.ldap-helpsidebar .disclosed:before {
2685+
font-size: .875rem;
2686+
top: 0;
2687+
}
2688+
.ldap-helpsidebar h5 {
2689+
line-height: 1.7;
2690+
margin-top: .25rem;
2691+
}
2692+
.ldap-helpsidebar h5:first-child {
2693+
line-height: 1.7;
2694+
margin-top: 0;
2695+
}

priv/public/ui/app/mn_admin/mn_security/mn_roles_groups.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<div class="row resp-sml margin-bottom-half">
1414
<div
1515
class="row"
16-
mn-placeholder="filter roles groups..."
16+
mn-placeholder="filter groups..."
1717
mn-hide-button="true"
1818
mn-search="rolesGroupsCtl.filterField">
1919
</div>

0 commit comments

Comments
 (0)