「Widget:Schedule」の版間の差分
編集の要約なし |
編集の要約なし |
||
| 6行目: | 6行目: | ||
$.getJSON(geturl, function(data) { | $.getJSON(geturl, function(data) { | ||
$.each(data, function(date, item) { | $.each(data, function(date, item) { | ||
$('# | $('#view_<!--{$group|escape:'quotes'}-->').append('<li><span style="background:'+item.color+';color:rgba(255,255,255,1.00);padding:3px;">'+item.tag+'</span><a href="'+item.url+'">'+item.title+'</a></li>'); | ||
}); | }); | ||
}); | }); | ||
}); | }); | ||
</script> | </script> | ||
<ul id=" | <ul id="view_<!--{$group|escape:'quotes'}-->"></ul> | ||
<!--{/if}--> | <!--{/if}--> | ||
</includeonly> | </includeonly> | ||