@@ -2619,9 +2619,9 @@ let _Entities = {
2619
2619
let filterInput = $ ( 'input#ldap-group-filter' ) ;
2620
2620
let scopeInput = $ ( 'input#ldap-group-scope' ) ;
2621
2621
2622
+ _Entities . generalTab . populateInputFields ( el , entity ) ;
2622
2623
_Entities . generalTab . registerSimpleInputChangeHandlers ( el , entity ) ;
2623
2624
2624
- // dialog logic here..
2625
2625
$ ( '.clear-ldap-group-dn' , el ) . on ( 'click' , ( ) => { _Entities . generalTab . setNull ( entity . id , 'distinguishedName' , dnInput ) ; } ) ;
2626
2626
$ ( '.clear-ldap-group-path' , el ) . on ( 'click' , ( ) => { _Entities . generalTab . setNull ( entity . id , 'path' , pathInput ) ; } ) ;
2627
2627
$ ( '.clear-ldap-group-filter' , el ) . on ( 'click' , ( ) => { _Entities . generalTab . setNull ( entity . id , 'filter' , filterInput ) ; } ) ;
@@ -3198,32 +3198,32 @@ let _Entities = {
3198
3198
</div>
3199
3199
` ,
3200
3200
ldapGroup : config => `
3201
- <div id="ldap-group-config">
3201
+ <div id="ldap-group-config" class="flex flex-col gap-3" >
3202
3202
<h3>Synchronize this group using distinguished name (prioritized if set)</h3>
3203
3203
3204
- <div class="mb-3 ">
3205
- <input type="text" size="80" id="ldap-group-dn" placeholder="Distinguished Name" name="distinguishedName">
3206
- ${ _Icons . getSvgIcon ( _Icons . iconCrossIcon , 10 , 10 , _Icons . getSvgIconClassesForColoredIcon ( [ 'clear-ldap-group-dn' , 'icon-lightgrey' , 'cursor-pointer' ] ) , 'Clear value' ) }
3204
+ <div class="w-full flex items-center gap-2 ">
3205
+ <input type="text" id="ldap-group-dn" placeholder="Distinguished Name" name="distinguishedName">
3206
+ ${ _Icons . getSvgIcon ( _Icons . iconCrossIcon , 10 , 10 , _Icons . getSvgIconClassesForColoredIcon ( [ 'clear-ldap-group-dn' , 'icon-lightgrey' , 'cursor-pointer' , 'flex-shrink-0' ] ) , 'Clear value' ) }
3207
3207
</div>
3208
3208
3209
3209
<h3>Synchronize this group using path, filter and scope (if distinguished name not set above)</h3>
3210
3210
3211
- <div class="mb-3 ">
3212
- <input type="text" size="80" id="ldap-group-path" placeholder="Path" name="path">
3213
- ${ _Icons . getSvgIcon ( _Icons . iconCrossIcon , 10 , 10 , _Icons . getSvgIconClassesForColoredIcon ( [ 'clear-ldap-group-path' , 'icon-lightgrey' , 'cursor-pointer' ] ) , 'Clear value' ) }
3211
+ <div class="w-full flex items-center gap-2 ">
3212
+ <input type="text" id="ldap-group-path" placeholder="Path" name="path">
3213
+ ${ _Icons . getSvgIcon ( _Icons . iconCrossIcon , 10 , 10 , _Icons . getSvgIconClassesForColoredIcon ( [ 'clear-ldap-group-path' , 'icon-lightgrey' , 'cursor-pointer' , 'flex-shrink-0' ] ) , 'Clear value' ) }
3214
3214
</div>
3215
3215
3216
- <div class="mb-3 ">
3217
- <input type="text" size="80" id="ldap-group-filter" placeholder="Filter" name="filter">
3218
- ${ _Icons . getSvgIcon ( _Icons . iconCrossIcon , 10 , 10 , _Icons . getSvgIconClassesForColoredIcon ( [ 'clear-ldap-group-filter' , 'icon-lightgrey' , 'cursor-pointer' ] ) , 'Clear value' ) }
3216
+ <div class="w-full flex items-center gap-2 ">
3217
+ <input type="text" id="ldap-group-filter" placeholder="Filter" name="filter">
3218
+ ${ _Icons . getSvgIcon ( _Icons . iconCrossIcon , 10 , 10 , _Icons . getSvgIconClassesForColoredIcon ( [ 'clear-ldap-group-filter' , 'icon-lightgrey' , 'cursor-pointer' , 'flex-shrink-0' ] ) , 'Clear value' ) }
3219
3219
</div>
3220
3220
3221
- <div class="mb-3 ">
3222
- <input type="text" size="80" id="ldap-group-scope" placeholder="Scope" name="scope">
3223
- ${ _Icons . getSvgIcon ( _Icons . iconCrossIcon , 10 , 10 , _Icons . getSvgIconClassesForColoredIcon ( [ 'clear-ldap-group-scope' , 'icon-lightgrey' , 'cursor-pointer' ] ) , 'Clear value' ) }
3221
+ <div class="w-full flex items-center gap-2 ">
3222
+ <input type="text" id="ldap-group-scope" placeholder="Scope" name="scope">
3223
+ ${ _Icons . getSvgIcon ( _Icons . iconCrossIcon , 10 , 10 , _Icons . getSvgIconClassesForColoredIcon ( [ 'clear-ldap-group-scope' , 'icon-lightgrey' , 'cursor-pointer' , 'flex-shrink-0' ] ) , 'Clear value' ) }
3224
3224
</div>
3225
3225
3226
- <div class="mb-3" >
3226
+ <div>
3227
3227
<button type="button" class="action" id="ldap-sync-button">Synchronize now</button>
3228
3228
</div>
3229
3229
0 commit comments