--- a/src/pyams_ldap/zmi/plugin.py Thu Jun 02 15:38:05 2016 +0200
+++ b/src/pyams_ldap/zmi/plugin.py Tue Nov 15 09:58:25 2016 +0100
@@ -139,6 +139,9 @@
fields = field.Fields(ILDAPPlugin).select('base_dn', 'search_scope', 'login_attribute', 'login_query',
'uid_attribute', 'uid_query', 'title_format',
'mail_attribute', 'user_extra_attributes')
+
+ label_css_class = 'control-label col-md-4'
+ input_css_class = 'col-md-8'
weight = 2
@@ -155,6 +158,9 @@
'group_members_attribute', 'user_groups_attribute', 'group_mail_mode',
'group_replace_expression', 'group_mail_attribute',
'group_extra_attributes')
+
+ label_css_class = 'control-label col-md-4'
+ input_css_class = 'col-md-8'
weight = 3
@@ -239,6 +245,9 @@
fields = field.Fields(ILDAPPlugin).select('base_dn', 'search_scope', 'login_attribute', 'login_query',
'uid_attribute', 'uid_query', 'title_format',
'mail_attribute', 'user_extra_attributes')
+
+ label_css_class = 'control-label col-md-4'
+ input_css_class = 'col-md-8'
weight = 2
@@ -255,6 +264,9 @@
'group_members_attribute', 'user_groups_attribute', 'group_mail_mode',
'group_replace_expression', 'group_mail_attribute',
'group_extra_attributes')
+
+ label_css_class = 'control-label col-md-4'
+ input_css_class = 'col-md-8'
weight = 3
@@ -278,7 +290,7 @@
#
@pagelet_config(name='search.html', context=ILDAPPlugin, layer=IPyAMSLayer, permission=VIEW_SYSTEM_PERMISSION)
-class LDAPPluginSearchView(AdminView, SearchView):
+class LDAPPluginSearchView(SearchView):
"""LDAP users folder search view"""
def __init__(self, context, request):