possiblite de fit les grid
This commit is contained in:
parent
bdb38dd301
commit
5b369002b5
|
@ -8,7 +8,7 @@ INSERT IGNORE INTO `niveau01` (`id`, `label`, `siren`) VALUES
|
||||||
(-100, 'DRAAF', '130007107');
|
(-100, 'DRAAF', '130007107');
|
||||||
|
|
||||||
INSERT IGNORE INTO `user` (`id`, `niveau01_id`, `username`, `firstname`, `lastname`, `password`, `email`, `avatar`, `role`,`siren`,`authlevel`) VALUES
|
INSERT IGNORE INTO `user` (`id`, `niveau01_id`, `username`, `firstname`, `lastname`, `password`, `email`, `avatar`, `role`,`siren`,`authlevel`) VALUES
|
||||||
(-100, -100, 'admin', 'Administrateur', 'draaf', '{SSHA}e8qvl9iAOSAmoVpq/NkxAa4QSpRdn+Z2
|
(-100, -100, 'admin', 'Administrateur', 'draaf', '{SSHA}kqZ/9F8nhk0LurMspUojmlG3x0R/xd93
|
||||||
', 'admin@ldapbundle.ac-arno.fr', 'admin.jpg', 'ROLE_ADMIN', '130007107', 'simple');
|
', 'admin@ldapbundle.ac-arno.fr', 'admin.jpg', 'ROLE_ADMIN', '130007107', 'simple');
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -204,9 +204,9 @@ span.item-drag {
|
||||||
|
|
||||||
.grid {
|
.grid {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
margin: 0px;
|
margin: 0 auto;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width: 100%;
|
/*width: 100%;*/
|
||||||
min-height: 30px;
|
min-height: 30px;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,6 +80,8 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block localjavascript %}
|
{% block localjavascript %}
|
||||||
|
var optiongrid={columnWidth: '.grid-sizer',itemSelector: '.grid-item', gutter: '.grid-gutter-sizer'};
|
||||||
|
|
||||||
$('document').ready(function(){
|
$('document').ready(function(){
|
||||||
// Ajustement des frames
|
// Ajustement des frames
|
||||||
$(window).resize(function() {
|
$(window).resize(function() {
|
||||||
|
@ -192,7 +194,6 @@
|
||||||
$(".colcontainer .col").css("padding-bottom","");
|
$(".colcontainer .col").css("padding-bottom","");
|
||||||
|
|
||||||
// Création des grilles d'items
|
// Création des grilles d'items
|
||||||
var optiongrid={columnWidth: '.grid-sizer',itemSelector: '.grid-item'};
|
|
||||||
var grid = $('.grid').masonry(optiongrid);
|
var grid = $('.grid').masonry(optiongrid);
|
||||||
},
|
},
|
||||||
update: updateLocalisation
|
update: updateLocalisation
|
||||||
|
@ -201,7 +202,6 @@
|
||||||
|
|
||||||
|
|
||||||
// Création des grilles d'items
|
// Création des grilles d'items
|
||||||
var optiongrid={columnWidth: '.grid-sizer', itemSelector: '.grid-item', gutter: '.grid-gutter-sizer'};
|
|
||||||
$('body').imagesLoaded(function() {
|
$('body').imagesLoaded(function() {
|
||||||
var grid = $('.grid').masonry(optiongrid);
|
var grid = $('.grid').masonry(optiongrid);
|
||||||
});
|
});
|
||||||
|
@ -285,7 +285,6 @@
|
||||||
widget.children(".widgetbody" ).toggle();
|
widget.children(".widgetbody" ).toggle();
|
||||||
|
|
||||||
// On recalcule les grilles
|
// On recalcule les grilles
|
||||||
var optiongrid={columnWidth: '.grid-sizer',itemSelector: '.grid-item'};
|
|
||||||
var grid = $('.grid').masonry(optiongrid);
|
var grid = $('.grid').masonry(optiongrid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -460,7 +459,6 @@
|
||||||
$(".widget[data-id="+idwidget+"]").find(".flux-"+id).show();
|
$(".widget[data-id="+idwidget+"]").find(".flux-"+id).show();
|
||||||
}
|
}
|
||||||
|
|
||||||
var optiongrid={columnWidth: '.grid-sizer',itemSelector: '.grid-item'};
|
|
||||||
var grid = $('.grid').masonry(optiongrid);
|
var grid = $('.grid').masonry(optiongrid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -496,7 +494,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
var optiongrid={columnWidth: '.grid-sizer',itemSelector: '.grid-item'};
|
|
||||||
var grid = $('.grid').masonry(optiongrid);
|
var grid = $('.grid').masonry(optiongrid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -528,7 +525,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
var optiongrid={columnWidth: '.grid-sizer',itemSelector: '.grid-item'};
|
|
||||||
var grid = $('.grid').masonry(optiongrid);
|
var grid = $('.grid').masonry(optiongrid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -546,7 +542,6 @@
|
||||||
ele.show();
|
ele.show();
|
||||||
ele.removeClass("msg-hidden");
|
ele.removeClass("msg-hidden");
|
||||||
|
|
||||||
var optiongrid={columnWidth: '.grid-sizer',itemSelector: '.grid-item'};
|
|
||||||
var grid = $('.grid').masonry(optiongrid);
|
var grid = $('.grid').masonry(optiongrid);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue