Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1022 B

<link rel='stylesheet' type='text/css' href='{{$baseurl}}/library/fullcalendar/fullcalendar.css' />
<script type="text/javascript" src="{{$baseurl}}/library/moment/moment.min.js"></script>
<script type="text/javascript" src="{{$baseurl}}/library/fullcalendar/fullcalendar.min.js"></script>
// start calendar from yesterday
var yesterday= new Date()
function showEvent(eventid) {
$(document).ready(function() {
firstDay: yesterday.getDay(),
year: yesterday.getFullYear(),
month: yesterday.getMonth(),
date: yesterday.getDate(),
events: '{{$baseurl}}/events/json/',
header: false,
timeFormat: 'H(:mm)',
defaultView: 'basicWeek',
contentHeight: 50,
eventClick: function(calEvent, jsEvent, view) {
<div id="events-reminder"></div>