update to fullCalendar 3.0.1, frio: cal list view, frio: cal month hover

This commit is contained in:
rabuzarus 2016-10-16 16:04:53 +02:00
parent 20e10a50c0
commit 8064ff6ecb
34 changed files with 21940 additions and 6597 deletions

View file

@ -159,7 +159,7 @@ $(document).ready(function() {
eventClick: function(calEvent, jsEvent, view) {
showEvent(calEvent.id);
},
loading: function(isLoading, view) {
loading: function(isLoading, view) {
if(!isLoading) {
$('td.fc-day').dblclick(function() { window.location.href='/events/new?start='+$(this).data('date'); });
}
@ -170,7 +170,7 @@ $(document).ready(function() {
if (event.item['author-name']==null) return;
switch(view.name){
case "month":
element.find(".fc-event-title").html(
element.find(".fc-title").html(
"<img src='{0}' style='height:10px;width:10px'>{1} : {2}".format(
event.item['author-avatar'],
event.item['author-name'],
@ -178,7 +178,7 @@ $(document).ready(function() {
));
break;
case "agendaWeek":
element.find(".fc-event-title").html(
element.find(".fc-title").html(
"<img src='{0}' style='height:12px; width:12px'>{1}<p>{2}</p><p>{3}</p>".format(
event.item['author-avatar'],
event.item['author-name'],
@ -187,7 +187,7 @@ $(document).ready(function() {
));
break;
case "agendaDay":
element.find(".fc-event-title").html(
element.find(".fc-title").html(
"<img src='{0}' style='height:24px;width:24px'>{1}<p>{2}</p><p>{3}</p>".format(
event.item['author-avatar'],
event.item['author-name'],