1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-21 17:04:21 +01:00

hack to have a cleaner resize

This commit is contained in:
kakwa 2017-04-06 00:32:24 +02:00
parent 5b1803cb05
commit 6e526b6f15
2 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@ for(var j in classes){
//console.log(formSelector);
//console.log(forms);
if (forms.length > 0){
forms[0].style.removeProperty('display');
var in_groups = forms[0].getElementsByClassName('input-group-addon');
//console.log(in_groups);
var i, len = in_groups.length;

View File

@ -76,10 +76,10 @@ for a in sorted(attributes.keys(), key=lambda attr: attributes[attr]['weight']):
% endfor
</%def>
<div class="row">
<div class="col-md-6 column lcform-col-1">
<div class="col-md-6 column lcform-col-1" style="display:none;">
${form_col(lc1)}
</div>
<div class="col-md-6 column lcform-col-2">
<div class="col-md-6 column lcform-col-2" style="display:none;">
${form_col(lc2)}
</div>
</div>