mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
98204f1c69b8e814712d6d80dfe881b5b72c6ce4
Gridster.js
Gridster is a jQuery plugin that makes building intuitive draggable layouts from elements spanning multiple columns. You can even dynamically add and remove elements from the grid.
More at http://gridster.net/.
License
Distributed under the MIT license.
Whodunit
Gridster is built by Ducksboard.
dustmoo Modifications
Widgets of smaller or equal size to the dragged widget (player) will swap places with the original widget.
This causes tiles to swap left and right as well as up and down.
By default smaller players will shift larger widgets down.
I have added an option to prevent this behavior:
$.gridster({
shift_larger_widgets_down: false
});
By setting shift_larger_widgets_down to false, smaller widgets will not displace larger ones.
Languages
PHP
37.2%
JavaScript
33.6%
HTML
24.5%
CSS
3%
Less
0.7%
Other
0.8%