Last commit
|
@ -164,7 +164,7 @@ var orbitDesktop = function(dom){
|
||||||
$("div#group_wrapper").empty();
|
$("div#group_wrapper").empty();
|
||||||
$.getJSON("/desktop/getgroups",{sectionid:id},function(groups){
|
$.getJSON("/desktop/getgroups",{sectionid:id},function(groups){
|
||||||
var tilecolors = o.themesettings.tilecolor;
|
var tilecolors = o.themesettings.tilecolor;
|
||||||
var opacity = ["op05","op06","op07","op08"];
|
var opacity = ["op05","op06","op07","op08","op09"];
|
||||||
$.each(groups,function(i,group){
|
$.each(groups,function(i,group){
|
||||||
group.sort(o.sortJSON("position",true,parseInt));
|
group.sort(o.sortJSON("position",true,parseInt));
|
||||||
var $group = $('<div class="group"><ul class="grp ui-sortable"></ul></div>');
|
var $group = $('<div class="group"><ul class="grp ui-sortable"></ul></div>');
|
||||||
|
@ -174,7 +174,7 @@ var orbitDesktop = function(dom){
|
||||||
if(tile.data_category == "app")
|
if(tile.data_category == "app")
|
||||||
$li = $('<li class="element '+tile.shape+' hp vp" data-category="'+tile.data_category+'" data-content="'+tile.data_content+'"><span class="tile '+tilecolor+' '+op+'"></span><a href="" class="appicon"><img src="" alt=""></a><h1 class="appname thmtxt">'+tile.title+'</h1></li>');
|
$li = $('<li class="element '+tile.shape+' hp vp" data-category="'+tile.data_category+'" data-content="'+tile.data_content+'"><span class="tile '+tilecolor+' '+op+'"></span><a href="" class="appicon"><img src="" alt=""></a><h1 class="appname thmtxt">'+tile.title+'</h1></li>');
|
||||||
else
|
else
|
||||||
$li = $('<li class="element '+tile.shape+' hp vp" data-category="'+tile.data_category+'" data-content="'+tile.data_content+'"><span class="tile '+tilecolor+' '+op+'"></span><h1 class="appname thmtxt">'+tile.title+'</h1><div class="appholder holder_f">test content</div></li>');
|
$li = $('<li class="element '+tile.shape+' hp vp" data-category="'+tile.data_category+'" data-content="'+tile.data_content+'"><span class="tile '+tilecolor+' '+op+'"></span><h1 class="appname thmtxt">'+tile.title+'</h1><div class="appholder">test content</div></li>');
|
||||||
$group.find("ul").append($li);
|
$group.find("ul").append($li);
|
||||||
})
|
})
|
||||||
$("div#group_wrapper").append($group);
|
$("div#group_wrapper").append($group);
|
||||||
|
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.4 KiB |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |