2009-04-26 06:43:27 +02:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html>
|
|
|
|
<head>
|
2009-09-15 08:19:43 +02:00
|
|
|
<!--<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>
|
2010-05-29 07:11:26 +02:00
|
|
|
<script type='text/javascript' src='../src/jquery/jquery-ui-custom.js'></script>
|
2009-09-15 08:19:43 +02:00
|
|
|
<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>
|
2010-05-23 02:30:16 +02:00
|
|
|
<script type='text/javascript' src='../src/selection_util.js'></script>
|
2009-09-15 08:19:43 +02:00
|
|
|
<script type='text/javascript' src='../src/util.js'></script>
|
|
|
|
<!--</src>-->
|
|
|
|
<!--
|
|
|
|
<dist>
|
|
|
|
<link rel='stylesheet' type='text/css' href='../fullcalendar.css' />
|
2009-04-26 06:43:27 +02:00
|
|
|
<script type='text/javascript' src='../jquery/jquery.js'></script>
|
2010-05-29 07:11:26 +02:00
|
|
|
<script type='text/javascript' src='../jquery/jquery-ui-custom.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>
|
|
|
|
-->
|
2009-04-26 06:43:27 +02:00
|
|
|
<script type='text/javascript'>
|
|
|
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
|
|
|
$('#calendar').fullCalendar({
|
2009-09-15 08:19:43 +02:00
|
|
|
|
|
|
|
editable: true,
|
|
|
|
|
|
|
|
events: "json-events.php",
|
|
|
|
|
2009-04-26 23:38:38 +02:00
|
|
|
eventDrop: function(event, delta) {
|
|
|
|
alert(event.title + ' was moved ' + delta + ' days\n' +
|
|
|
|
'(should probably update your database)');
|
|
|
|
},
|
2009-09-15 08:19:43 +02:00
|
|
|
|
2009-04-26 23:38:38 +02:00
|
|
|
loading: function(bool) {
|
|
|
|
if (bool) $('#loading').show();
|
|
|
|
else $('#loading').hide();
|
|
|
|
}
|
2009-09-15 08:19:43 +02:00
|
|
|
|
2009-04-26 06:43:27 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
</script>
|
2009-09-15 08:19:43 +02:00
|
|
|
<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;
|
|
|
|
}
|
|
|
|
|
|
|
|
#loading {
|
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
|
|
|
right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#calendar {
|
|
|
|
width: 900px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
2009-04-26 06:43:27 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
2009-04-26 23:38:38 +02:00
|
|
|
<div id='loading' style='display:none'>loading...</div>
|
2009-04-26 06:43:27 +02:00
|
|
|
<div id='calendar'></div>
|
2009-09-15 08:19:43 +02:00
|
|
|
<p>json-events.php needs to be running in the same directory.</p>
|
2009-04-26 06:43:27 +02:00
|
|
|
</body>
|
2009-12-21 10:32:03 +01:00
|
|
|
</html>
|