2009-09-15 08:19:43 +02:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<!--<src>-->
|
|
|
|
<link rel='stylesheet' type='text/css' href='../src/css/main.css' />
|
|
|
|
<link rel='stylesheet' type='text/css' href='../src/css/grid.css' />
|
2009-10-12 08:35:33 +02:00
|
|
|
<link rel='stylesheet' type='text/css' href='../src/css/agenda.css' />
|
2009-09-15 08:19:43 +02:00
|
|
|
<script type='text/javascript' src='../src/jquery/jquery.js'></script>
|
|
|
|
<script type='text/javascript' src='../src/jquery/ui.core.js'></script>
|
|
|
|
<script type='text/javascript' src='../src/jquery/ui.draggable.js'></script>
|
|
|
|
<script type='text/javascript' src='../src/jquery/ui.resizable.js'></script>
|
|
|
|
<script type='text/javascript' src='../src/main.js'></script>
|
|
|
|
<script type='text/javascript' src='../src/grid.js'></script>
|
2009-10-12 08:35:33 +02:00
|
|
|
<script type='text/javascript' src='../src/agenda.js'></script>
|
2009-09-15 08:19:43 +02:00
|
|
|
<script type='text/javascript' src='../src/view.js'></script>
|
|
|
|
<script type='text/javascript' src='../src/util.js'></script>
|
|
|
|
<!--</src>-->
|
|
|
|
<!--
|
|
|
|
<dist>
|
|
|
|
<link rel='stylesheet' type='text/css' href='../fullcalendar.css' />
|
|
|
|
<script type='text/javascript' src='../jquery/jquery.js'></script>
|
|
|
|
<script type='text/javascript' src='../jquery/ui.core.js'></script>
|
|
|
|
<script type='text/javascript' src='../jquery/ui.draggable.js'></script>
|
|
|
|
<script type='text/javascript' src='../jquery/ui.resizable.js'></script>
|
2009-09-21 12:11:08 +02:00
|
|
|
<script type='text/javascript' src='../fullcalendar.min.js'></script>
|
2009-09-15 08:19:43 +02:00
|
|
|
</dist>
|
|
|
|
-->
|
|
|
|
<script type='text/javascript'>
|
|
|
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
|
|
|
var d = new Date();
|
|
|
|
var y = d.getFullYear();
|
|
|
|
var m = d.getMonth();
|
|
|
|
|
|
|
|
$('#calendar').fullCalendar({
|
|
|
|
editable: true,
|
|
|
|
header: {
|
2009-10-12 08:35:33 +02:00
|
|
|
left: 'title',
|
|
|
|
center: 'month,agendaWeek,basicWeek,agendaDay,basicDay',
|
|
|
|
right: 'today prev,next'
|
|
|
|
},
|
|
|
|
buttonText: {
|
|
|
|
agendaWeek: 'agendaWeek',
|
|
|
|
basicWeek: 'basicWeek',
|
|
|
|
agendaDay: 'agendaDay',
|
|
|
|
basicDay: 'basicDay'
|
2009-09-15 08:19:43 +02:00
|
|
|
},
|
|
|
|
events: [
|
|
|
|
{
|
|
|
|
id: 1,
|
|
|
|
title: "Long Event",
|
|
|
|
start: new Date(y, m, 6, 14, 0),
|
|
|
|
end: new Date(y, m, 11),
|
|
|
|
allDay: false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 2,
|
|
|
|
title: "Repeating Event",
|
|
|
|
start: new Date(y, m, 2),
|
|
|
|
allDay: true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 2,
|
|
|
|
title: "Repeating Event",
|
|
|
|
start: new Date(y, m, 9),
|
|
|
|
allDay: true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 3,
|
|
|
|
title: "Meeting",
|
|
|
|
start: new Date(y, m, 20, 9, 0),
|
|
|
|
allDay: false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 4,
|
|
|
|
title: "Click for Facebook",
|
|
|
|
start: new Date(y, m, 27, 16),
|
|
|
|
end: new Date(y, m, 29),
|
|
|
|
url: "http://facebook.com/",
|
|
|
|
allDay: false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
</script>
|
|
|
|
<style type='text/css'>
|
|
|
|
|
|
|
|
body {
|
|
|
|
margin-top: 40px;
|
|
|
|
text-align: center;
|
2009-10-01 07:39:02 +02:00
|
|
|
font-size: 14px;
|
2009-09-15 08:19:43 +02:00
|
|
|
font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
#calendar {
|
|
|
|
width: 900px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id='calendar'></div>
|
|
|
|
</body>
|
|
|
|
</html>
|