+
<link rel='stylesheet' type='text/css' href='{{$baseurl}}/library/fullcalendar/fullcalendar.css' />
-<script language="javascript" type="text/javascript"
- src="{{$baseurl}}/library/fullcalendar/fullcalendar.min.js"></script>
+<script type="text/javascript" src="{{$baseurl}}/library/moment/moment.min.js"></script>
+<script type="text/javascript" src="{{$baseurl}}/library/fullcalendar/fullcalendar.min.js"></script>
<script>
// start calendar from yesterday
var yesterday= new Date()
function(data){
$.colorbox({html:data});
}
- );
+ );
}
$(document).ready(function() {
$('#events-reminder').fullCalendar({
month: yesterday.getMonth(),
date: yesterday.getDate(),
events: '{{$baseurl}}/events/json/',
- header: {
- left: '',
- center: '',
- right: ''
- },
+ header: false,
timeFormat: 'H(:mm)',
defaultView: 'basicWeek',
- height: 50,
+ contentHeight: 50,
eventClick: function(calEvent, jsEvent, view) {
showEvent(calEvent.id);
}