|
45 | 45 | <div class="has-tls inline field {{if not .HasTLS}}gt-hidden{{end}}"> |
46 | 46 | <div class="ui checkbox"> |
47 | 47 | <label><strong>{{.locale.Tr "admin.auths.skip_tls_verify"}}</strong></label> |
48 | | - <input dir="auto" name="skip_verify" type="checkbox" {{if .Source.SkipVerify}}checked{{end}}> |
| 48 | + <input id="skip_verify" type="checkbox" {{if .Source.SkipVerify}}checked{{end}}> |
49 | 49 | </div> |
50 | 50 | </div> |
51 | 51 | {{if .Source.IsLDAP}} |
|
136 | 136 | </div> |
137 | 137 | <div class="ui checkbox"> |
138 | 138 | <label>{{.locale.Tr "admin.auths.map_group_to_team_removal"}}</label> |
139 | | - <input dir="auto" name="group_team_map_removal" type="checkbox" {{if $cfg.GroupTeamMapRemoval}}checked{{end}}> |
| 139 | + <input id="group_team_map_removal" type="checkbox" {{if $cfg.GroupTeamMapRemoval}}checked{{end}}> |
140 | 140 | </div> |
141 | 141 | </div> |
142 | 142 | <!-- ldap group end --> |
|
145 | 145 | <div class="inline field"> |
146 | 146 | <div class="ui checkbox"> |
147 | 147 | <label for="use_paged_search"><strong>{{.locale.Tr "admin.auths.use_paged_search"}}</strong></label> |
148 | | - <input dir="auto" id="use_paged_search" name="use_paged_search" type="checkbox" {{if $cfg.UsePagedSearch}}checked{{end}}> |
| 148 | + <input id="use_paged_search" name="use_paged_search" type="checkbox" {{if $cfg.UsePagedSearch}}checked{{end}}> |
149 | 149 | </div> |
150 | 150 | </div> |
151 | 151 | <div class="field required search-page-size{{if not $cfg.UsePagedSearch}} gt-hidden{{end}}"> |
|
155 | 155 | <div class="inline field"> |
156 | 156 | <div class="ui checkbox"> |
157 | 157 | <label><strong>{{.locale.Tr "admin.auths.attributes_in_bind"}}</strong></label> |
158 | | - <input dir="auto" name="attributes_in_bind" type="checkbox" {{if $cfg.AttributesInBind}}checked{{end}}> |
| 158 | + <input id="attributes_in_bind" type="checkbox" {{if $cfg.AttributesInBind}}checked{{end}}> |
159 | 159 | </div> |
160 | 160 | </div> |
161 | 161 | {{end}} |
162 | 162 | <div class="optional field"> |
163 | 163 | <div class="ui checkbox"> |
164 | 164 | <label for="skip_local_two_fa"><strong>{{.locale.Tr "admin.auths.skip_local_two_fa"}}</strong></label> |
165 | | - <input dir="auto" id="skip_local_two_fa" name="skip_local_two_fa" type="checkbox" {{if $cfg.SkipLocalTwoFA}}checked{{end}}> |
| 165 | + <input id="skip_local_two_fa" name="skip_local_two_fa" type="checkbox" {{if $cfg.SkipLocalTwoFA}}checked{{end}}> |
166 | 166 | <p class="help">{{.locale.Tr "admin.auths.skip_local_two_fa_helper"}}</p> |
167 | 167 | </div> |
168 | 168 | </div> |
169 | 169 | <div class="inline field"> |
170 | 170 | <div class="ui checkbox"> |
171 | 171 | <label for="allow_deactivate_all"><strong>{{.locale.Tr "admin.auths.allow_deactivate_all"}}</strong></label> |
172 | | - <input dir="auto" id="allow_deactivate_all" name="allow_deactivate_all" type="checkbox" {{if $cfg.AllowDeactivateAll}}checked{{end}}> |
| 172 | + <input id="allow_deactivate_all" name="allow_deactivate_all" type="checkbox" {{if $cfg.AllowDeactivateAll}}checked{{end}}> |
173 | 173 | </div> |
174 | 174 | </div> |
175 | 175 | {{end}} |
|
201 | 201 | <div class="field"> |
202 | 202 | <div class="ui checkbox"> |
203 | 203 | <label for="force_smtps"><strong>{{.locale.Tr "admin.auths.force_smtps"}}</strong></label> |
204 | | - <input dir="auto" id="force_smtps" name="force_smtps" type="checkbox" {{if $cfg.ForceSMTPS}}checked{{end}}> |
| 204 | + <input id="force_smtps" name="force_smtps" type="checkbox" {{if $cfg.ForceSMTPS}}checked{{end}}> |
205 | 205 | </div> |
206 | 206 | <p class="help">{{.locale.Tr "admin.auths.force_smtps_helper"}}</p> |
207 | 207 | </div> |
208 | 208 | <div class="has-tls inline field {{if not .HasTLS}}gt-hidden{{end}}"> |
209 | 209 | <div class="ui checkbox"> |
210 | 210 | <label><strong>{{.locale.Tr "admin.auths.skip_tls_verify"}}</strong></label> |
211 | | - <input dir="auto" name="skip_verify" type="checkbox" {{if $cfg.SkipVerify}}checked{{end}}> |
| 211 | + <input id="skip_verify" type="checkbox" {{if $cfg.SkipVerify}}checked{{end}}> |
212 | 212 | </div> |
213 | 213 | </div> |
214 | 214 | <div class="field"> |
|
219 | 219 | <div class="inline field"> |
220 | 220 | <div class="ui checkbox"> |
221 | 221 | <label for="disable_helo"><strong>{{.locale.Tr "admin.auths.disable_helo"}}</strong></label> |
222 | | - <input dir="auto" id="disable_helo" name="disable_helo" type="checkbox" {{if $cfg.DisableHelo}}checked{{end}}> |
| 222 | + <input id="disable_helo" name="disable_helo" type="checkbox" {{if $cfg.DisableHelo}}checked{{end}}> |
223 | 223 | </div> |
224 | 224 | </div> |
225 | 225 | <div class="field"> |
|
230 | 230 | <div class="optional field"> |
231 | 231 | <div class="ui checkbox"> |
232 | 232 | <label for="skip_local_two_fa"><strong>{{.locale.Tr "admin.auths.skip_local_two_fa"}}</strong></label> |
233 | | - <input dir="auto" id="skip_local_two_fa" name="skip_local_two_fa" type="checkbox" {{if $cfg.SkipLocalTwoFA}}checked{{end}}> |
| 233 | + <input id="skip_local_two_fa" name="skip_local_two_fa" type="checkbox" {{if $cfg.SkipLocalTwoFA}}checked{{end}}> |
234 | 234 | <p class="help">{{.locale.Tr "admin.auths.skip_local_two_fa_helper"}}</p> |
235 | 235 | </div> |
236 | 236 | </div> |
|
250 | 250 | <div class="optional field"> |
251 | 251 | <div class="ui checkbox"> |
252 | 252 | <label for="skip_local_two_fa"><strong>{{.locale.Tr "admin.auths.skip_local_two_fa"}}</strong></label> |
253 | | - <input dir="auto" id="skip_local_two_fa" name="skip_local_two_fa" type="checkbox" {{if $cfg.SkipLocalTwoFA}}checked{{end}}> |
| 253 | + <input id="skip_local_two_fa" name="skip_local_two_fa" type="checkbox" {{if $cfg.SkipLocalTwoFA}}checked{{end}}> |
254 | 254 | <p class="help">{{.locale.Tr "admin.auths.skip_local_two_fa_helper"}}</p> |
255 | 255 | </div> |
256 | 256 | </div> |
|
291 | 291 | <div class="optional field"> |
292 | 292 | <div class="ui checkbox"> |
293 | 293 | <label for="skip_local_two_fa"><strong>{{.locale.Tr "admin.auths.skip_local_two_fa"}}</strong></label> |
294 | | - <input dir="auto" id="skip_local_two_fa" name="skip_local_two_fa" type="checkbox" {{if $cfg.SkipLocalTwoFA}}checked{{end}}> |
| 294 | + <input id="skip_local_two_fa" name="skip_local_two_fa" type="checkbox" {{if $cfg.SkipLocalTwoFA}}checked{{end}}> |
295 | 295 | <p class="help">{{.locale.Tr "admin.auths.skip_local_two_fa_helper"}}</p> |
296 | 296 | </div> |
297 | 297 | </div> |
298 | 298 | <div class="oauth2_use_custom_url inline field"> |
299 | 299 | <div class="ui checkbox"> |
300 | 300 | <label><strong>{{.locale.Tr "admin.auths.oauth2_use_custom_url"}}</strong></label> |
301 | | - <input dir="auto" id="oauth2_use_custom_url" name="oauth2_use_custom_url" type="checkbox" {{if $cfg.CustomURLMapping}}checked{{end}}> |
| 301 | + <input id="oauth2_use_custom_url" name="oauth2_use_custom_url" type="checkbox" {{if $cfg.CustomURLMapping}}checked{{end}}> |
302 | 302 | </div> |
303 | 303 | </div> |
304 | 304 | <div class="oauth2_use_custom_url_field oauth2_auth_url required field"> |
|
363 | 363 | </div> |
364 | 364 | <div class="ui checkbox"> |
365 | 365 | <label>{{.locale.Tr "admin.auths.oauth2_map_group_to_team_removal"}}</label> |
366 | | - <input dir="auto" name="oauth2_group_team_map_removal" type="checkbox" {{if $cfg.GroupTeamMapRemoval}}checked{{end}}> |
| 366 | + <input id="oauth2_group_team_map_removal" type="checkbox" {{if $cfg.GroupTeamMapRemoval}}checked{{end}}> |
367 | 367 | </div> |
368 | 368 | {{end}} |
369 | 369 |
|
|
373 | 373 | <div class="field"> |
374 | 374 | <div class="ui checkbox"> |
375 | 375 | <label for="sspi_auto_create_users"><strong>{{.locale.Tr "admin.auths.sspi_auto_create_users"}}</strong></label> |
376 | | - <input dir="auto" id="sspi_auto_create_users" name="sspi_auto_create_users" class="sspi-auto-create-users" type="checkbox" {{if $cfg.AutoCreateUsers}}checked{{end}}> |
| 376 | + <input id="sspi_auto_create_users" name="sspi_auto_create_users" class="sspi-auto-create-users" type="checkbox" {{if $cfg.AutoCreateUsers}}checked{{end}}> |
377 | 377 | <p class="help">{{.locale.Tr "admin.auths.sspi_auto_create_users_helper"}}</p> |
378 | 378 | </div> |
379 | 379 | </div> |
380 | 380 | <div class="field"> |
381 | 381 | <div class="ui checkbox"> |
382 | 382 | <label for="sspi_auto_activate_users"><strong>{{.locale.Tr "admin.auths.sspi_auto_activate_users"}}</strong></label> |
383 | | - <input dir="auto" id="sspi_auto_activate_users" name="sspi_auto_activate_users" class="sspi-auto-activate-users" type="checkbox" {{if $cfg.AutoActivateUsers}}checked{{end}}> |
| 383 | + <input id="sspi_auto_activate_users" name="sspi_auto_activate_users" class="sspi-auto-activate-users" type="checkbox" {{if $cfg.AutoActivateUsers}}checked{{end}}> |
384 | 384 | <p class="help">{{.locale.Tr "admin.auths.sspi_auto_activate_users_helper"}}</p> |
385 | 385 | </div> |
386 | 386 | </div> |
387 | 387 | <div class="field"> |
388 | 388 | <div class="ui checkbox"> |
389 | 389 | <label for="sspi_strip_domain_names"><strong>{{.locale.Tr "admin.auths.sspi_strip_domain_names"}}</strong></label> |
390 | | - <input dir="auto" id="sspi_strip_domain_names" name="sspi_strip_domain_names" class="sspi-strip-domain-names" type="checkbox" {{if $cfg.StripDomainNames}}checked{{end}}> |
| 390 | + <input id="sspi_strip_domain_names" name="sspi_strip_domain_names" class="sspi-strip-domain-names" type="checkbox" {{if $cfg.StripDomainNames}}checked{{end}}> |
391 | 391 | <p class="help">{{.locale.Tr "admin.auths.sspi_strip_domain_names_helper"}}</p> |
392 | 392 | </div> |
393 | 393 | </div> |
|
416 | 416 | <div class="inline field"> |
417 | 417 | <div class="ui checkbox"> |
418 | 418 | <label><strong>{{.locale.Tr "admin.auths.syncenabled"}}</strong></label> |
419 | | - <input dir="auto" name="is_sync_enabled" type="checkbox" {{if .Source.IsSyncEnabled}}checked{{end}}> |
| 419 | + <input id="is_sync_enabled" type="checkbox" {{if .Source.IsSyncEnabled}}checked{{end}}> |
420 | 420 | </div> |
421 | 421 | </div> |
422 | 422 | {{end}} |
423 | 423 | <div class="inline field"> |
424 | 424 | <div class="ui checkbox"> |
425 | 425 | <label><strong>{{.locale.Tr "admin.auths.activated"}}</strong></label> |
426 | | - <input dir="auto" name="is_active" type="checkbox" {{if .Source.IsActive}}checked{{end}}> |
| 426 | + <input id="is_active" type="checkbox" {{if .Source.IsActive}}checked{{end}}> |
427 | 427 | </div> |
428 | 428 | </div> |
429 | 429 |
|
|
0 commit comments