2009-09-17 08:30:10 +02:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html>
|
|
|
|
<head>
|
2010-09-19 07:54:35 +02:00
|
|
|
<script type='text/javascript' src='../src/_loader.js?debug'></script>
|
|
|
|
<script type='text/javascript' src='../src/gcal/_loader.js'></script>
|
2009-09-17 08:30:10 +02:00
|
|
|
<script type='text/javascript'>
|
|
|
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
$('#calendar').fullCalendar({
|
2010-09-19 07:54:35 +02:00
|
|
|
weekends: false,
|
2009-10-12 08:35:33 +02:00
|
|
|
header: {
|
2009-10-19 07:33:14 +02:00
|
|
|
left: 'prev,next today',
|
|
|
|
center: 'title',
|
2009-10-12 08:35:33 +02:00
|
|
|
right: 'month,agendaWeek,basicWeek,agendaDay,basicDay'
|
|
|
|
},
|
2011-03-20 02:48:20 +01:00
|
|
|
//editable: true,
|
2009-09-17 08:30:10 +02:00
|
|
|
eventSources: [
|
2011-03-20 02:48:20 +01:00
|
|
|
{
|
|
|
|
url: "http://www.google.com/calendar/feeds/usa__en%40holiday.calendar.google.com/public/basic",
|
|
|
|
editable: true,
|
|
|
|
className: 'holiday'
|
|
|
|
},
|
|
|
|
/*
|
2009-09-17 08:30:10 +02:00
|
|
|
$.fullCalendar.gcalFeed(
|
|
|
|
"http://www.google.com/calendar/feeds/usa__en%40holiday.calendar.google.com/public/basic",
|
|
|
|
{
|
2009-09-21 12:11:08 +02:00
|
|
|
editable: true,
|
2011-03-20 02:48:20 +01:00
|
|
|
className: 'holiday'
|
2009-09-17 08:30:10 +02:00
|
|
|
}
|
|
|
|
),
|
2011-03-20 02:48:20 +01:00
|
|
|
*/
|
|
|
|
{
|
|
|
|
url: "https://www.google.com/calendar/feeds/ht3jlfaac5lfd6263ulfh4tql8%40group.calendar.google.com/public/basic",
|
|
|
|
currentTimezone: 'America/Edmonton', // 'America/Los_Angeles' 'America/Los Angeles'
|
|
|
|
editable: true
|
|
|
|
}
|
2009-11-01 00:51:30 +01:00
|
|
|
],
|
|
|
|
eventClick: function(event) {
|
|
|
|
console.log(event.start);
|
|
|
|
console.log(event.end);
|
|
|
|
return false;
|
|
|
|
}
|
2009-09-17 08:30:10 +02:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
</script>
|
|
|
|
<style>
|
|
|
|
|
2011-03-20 02:48:20 +01:00
|
|
|
.holiday * {
|
|
|
|
color: yellow !important;
|
2009-09-17 08:30:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body style='font-size:12px'>
|
|
|
|
<div id='calendar' style='width:900px;margin:20px auto 0;font-family:arial'></div>
|
|
|
|
</body>
|
2009-11-01 00:51:30 +01:00
|
|
|
</html>
|