quattro: fix events_reminder
This commit is contained in:
parent
8064ff6ecb
commit
88f1affb2f
1 changed files with 6 additions and 9 deletions
|
@ -1,6 +1,7 @@
|
||||||
|
|
||||||
<link rel='stylesheet' type='text/css' href='{{$baseurl}}/library/fullcalendar/fullcalendar.css' />
|
<link rel='stylesheet' type='text/css' href='{{$baseurl}}/library/fullcalendar/fullcalendar.css' />
|
||||||
<script language="javascript" type="text/javascript"
|
<script type="text/javascript" src="{{$baseurl}}/library/moment/moment.min.js"></script>
|
||||||
src="{{$baseurl}}/library/fullcalendar/fullcalendar.min.js"></script>
|
<script type="text/javascript" src="{{$baseurl}}/library/fullcalendar/fullcalendar.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
// start calendar from yesterday
|
// start calendar from yesterday
|
||||||
var yesterday= new Date()
|
var yesterday= new Date()
|
||||||
|
@ -12,7 +13,7 @@
|
||||||
function(data){
|
function(data){
|
||||||
$.colorbox({html:data});
|
$.colorbox({html:data});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('#events-reminder').fullCalendar({
|
$('#events-reminder').fullCalendar({
|
||||||
|
@ -21,14 +22,10 @@
|
||||||
month: yesterday.getMonth(),
|
month: yesterday.getMonth(),
|
||||||
date: yesterday.getDate(),
|
date: yesterday.getDate(),
|
||||||
events: '{{$baseurl}}/events/json/',
|
events: '{{$baseurl}}/events/json/',
|
||||||
header: {
|
header: false,
|
||||||
left: '',
|
|
||||||
center: '',
|
|
||||||
right: ''
|
|
||||||
},
|
|
||||||
timeFormat: 'H(:mm)',
|
timeFormat: 'H(:mm)',
|
||||||
defaultView: 'basicWeek',
|
defaultView: 'basicWeek',
|
||||||
height: 50,
|
contentHeight: 50,
|
||||||
eventClick: function(calEvent, jsEvent, view) {
|
eventClick: function(calEvent, jsEvent, view) {
|
||||||
showEvent(calEvent.id);
|
showEvent(calEvent.id);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue