@ -1,4 +1,4 @@
<div class="ldap dldap field {{ if not ( or ( eq .type 2 ) ( eq .type 5 ) ) }} hide{{ end }} ">
<div class="ldap dldap field {{ if not ( or ( eq .type 2 ) ( eq .type 5 ) ) }} gt- hidd en {{ end }} ">
<div class="inline required field {{ if .Err_SecurityProtocol }} error {{ end }} ">
<label> {{ .locale .Tr "admin.auths.security_protocol" }} </label>
<div class="ui selection security-protocol dropdown">
@ -20,17 +20,17 @@
<label for="port"> {{ .locale .Tr "admin.auths.port" }} </label>
<input id="port" name="port" value=" {{ .port }} " placeholder="e.g. 636">
</div>
<div class="has-tls inline field {{ if not .HasTLS }} hide{{ end }} ">
<div class="has-tls inline field {{ if not .HasTLS }} gt- hidd en {{ end }} ">
<div class="ui checkbox">
<label><strong> {{ .locale .Tr "admin.auths.skip_tls_verify" }} </strong></label>
<input name="skip_verify" type="checkbox" {{ if .skip_verify }} checked {{ end }} >
</div>
</div>
<div class="ldap field {{ if not ( eq .type 2 ) }} hide{{ end }} ">
<div class="ldap field {{ if not ( eq .type 2 ) }} gt- hidd en {{ end }} ">
<label for="bind_dn"> {{ .locale .Tr "admin.auths.bind_dn" }} </label>
<input id="bind_dn" name="bind_dn" value=" {{ .bind_dn }} " placeholder="e.g. cn=Search,dc=mydomain,dc=com">
</div>
<div class="ldap field {{ if not ( eq .type 2 ) }} hide{{ end }} ">
<div class="ldap field {{ if not ( eq .type 2 ) }} gt- hidd en {{ end }} ">
<label for="bind_password"> {{ .locale .Tr "admin.auths.bind_password" }} </label>
<input id="bind_password" name="bind_password" type="password" autocomplete="off" value=" {{ .bind_password }} ">
</div>
@ -38,7 +38,7 @@
<label for="user_base"> {{ .locale .Tr "admin.auths.user_base" }} </label>
<input id="user_base" name="user_base" value=" {{ .user_base }} " placeholder="e.g. ou=Users,dc=mydomain,dc=com">
</div>
<div class="dldap required field {{ if not ( eq .type 5 ) }} hide{{ end }} ">
<div class="dldap required field {{ if not ( eq .type 5 ) }} gt- hidd en {{ end }} ">
<label for="user_dn"> {{ .locale .Tr "admin.auths.user_dn" }} </label>
<input id="user_dn" name="user_dn" value=" {{ .user_dn }} " placeholder="e.g. uid=%s,ou=Users,dc=mydomain,dc=com">
</div>
@ -115,13 +115,13 @@
</div>
<!-- ldap group end -->
<div class="ldap inline field {{ if not ( eq .type 2 ) }} hide{{ end }} ">
<div class="ldap inline field {{ if not ( eq .type 2 ) }} gt- hidd en {{ end }} ">
<div class="ui checkbox">
<label for="use_paged_search"><strong> {{ .locale .Tr "admin.auths.use_paged_search" }} </strong></label>
<input id="use_paged_search" name="use_paged_search" class="use-paged-search" type="checkbox" {{ if .use_paged_search }} checked {{ end }} >
</div>
</div>
<div class="ldap field search-page-size required {{ if or ( not ( eq .type 2 ) ) ( not .use_paged_search ) }} hide{{ end }} ">
<div class="ldap field search-page-size required {{ if or ( not ( eq .type 2 ) ) ( not .use_paged_search ) }} gt- hidd en {{ end }} ">
<label for="search_page_size"> {{ .locale .Tr "admin.auths.search_page_size" }} </label>
<input id="search_page_size" name="search_page_size" value=" {{ .search_page_size }} ">
</div>