##// END OF EJS Templates
auth-plugins, ui: added some tweeks to the ui...
marcink -
r3252:19ce6eb4 default
parent child Browse files
Show More
@@ -196,6 +196,16 b''
196 .text-as-placeholder {
196 .text-as-placeholder {
197 padding-top: @input-padding-px + @border-thickness-inputs;
197 padding-top: @input-padding-px + @border-thickness-inputs;
198 }
198 }
199
200 .no-border {
201 border: 1px;
202 }
203
204 .no-horizontal-padding {
205 padding-left: 0;
206 padding-right: 0;
207 }
208
199 }
209 }
200
210
201 // TODO: johbo: Try to find a better integration of this bit.
211 // TODO: johbo: Try to find a better integration of this bit.
@@ -125,7 +125,7 b''
125 @label-summary-minwidth: 80px;
125 @label-summary-minwidth: 80px;
126 @search-form-width: 400px;
126 @search-form-width: 400px;
127 @fields-input-m: 400px;
127 @fields-input-m: 400px;
128 @fields-input-l: 750px;
128 @fields-input-l: 720px;
129
129
130 // BUTTONS
130 // BUTTONS
131 @button-padding: .9em;
131 @button-padding: .9em;
@@ -65,7 +65,7 b''
65 %elif node.widget == "bool":
65 %elif node.widget == "bool":
66 <div class="checkbox">${h.checkbox(node.name, True, checked=defaults.get(node.name))}</div>
66 <div class="checkbox">${h.checkbox(node.name, True, checked=defaults.get(node.name))}</div>
67 %elif node.widget == "select":
67 %elif node.widget == "select":
68 ${h.select(node.name, defaults.get(node.name), node.validator.choices)}
68 ${h.select(node.name, defaults.get(node.name), node.validator.choices, class_="select2AuthSetting")}
69 %elif node.widget == "textarea":
69 %elif node.widget == "textarea":
70 <div class="textarea" style="margin-left: 0px">${h.textarea(node.name, defaults.get(node.name), rows=10)}</div>
70 <div class="textarea" style="margin-left: 0px">${h.textarea(node.name, defaults.get(node.name), rows=10)}</div>
71 %elif node.widget == "readonly":
71 %elif node.widget == "readonly":
@@ -113,12 +113,9 b''
113 dropdownCssClass: 'drop-menu-dropdown',
113 dropdownCssClass: 'drop-menu-dropdown',
114 dropdownAutoWidth: true,
114 dropdownAutoWidth: true,
115 minimumResultsForSearch: -1
115 minimumResultsForSearch: -1
116 };
116 };
117 $("#tls_kind").select2(select2Options);
117 $('.select2AuthSetting').select2(select2Options);
118 $("#tls_reqcert").select2(select2Options);
118
119 $("#search_scope").select2(select2Options);
120 $("#group_extraction_type").select2(select2Options);
121 $("#admin_groups_sync").select2(select2Options);
122 });
119 });
123 </script>
120 </script>
124 </%def>
121 </%def>
General Comments 0
You need to be logged in to leave comments. Login now