|
|
|
@ -35,7 +35,7 @@ let corpi = {
|
|
|
|
|
|
|
|
|
|
$(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
// generate divs
|
|
|
|
|
// Generate divs
|
|
|
|
|
Object.values(corpi).forEach(corpus => {
|
|
|
|
|
$('#boxes' ).append(`
|
|
|
|
|
<div class="ui-widget-content draggable resizable" id="${corpus['id']}">
|
|
|
|
@ -47,6 +47,7 @@ $(document).ready(function(){
|
|
|
|
|
$('#icons').append(`<button onclick="$(${corpus['id']}).fadeIn()" class="icon">${corpus["glyph"]}</button>`)
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// Start mouse UI
|
|
|
|
|
const dragResize = new DragResizeClose();
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|