%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/ppaobm/vendor/bower-asset/fullcalendar-scheduler/demos/ |
Upload File : |
<!DOCTYPE html> <html> <head> <meta charset='utf-8' /> <link href='../fullcalendar/dist/core/main.css' rel='stylesheet' /> <link href='../fullcalendar/dist/daygrid/main.css' rel='stylesheet' /> <link href='../fullcalendar/dist/timegrid/main.css' rel='stylesheet' /> <script src='../fullcalendar/dist/core/main.js'></script> <script src='../fullcalendar/dist/interaction/main.js'></script> <script src='../fullcalendar/dist/daygrid/main.js'></script> <script src='../fullcalendar/dist/timegrid/main.js'></script> <script src='../dist/resource-common/main.js'></script> <script src='../dist/resource-daygrid/main.js'></script> <script src='../dist/resource-timegrid/main.js'></script> <script> document.addEventListener('DOMContentLoaded', function() { var calendarEl = document.getElementById('calendar'); var calendar = new FullCalendar.Calendar(calendarEl, { plugins: [ 'interaction', 'resourceDayGrid', 'resourceTimeGrid' ], defaultView: 'resourceTimeGridDay', defaultDate: '2019-04-07', editable: true, selectable: true, eventLimit: true, // allow "more" link when too many events header: { left: 'prev,next today', center: 'title', right: 'resourceTimeGridDay,resourceTimeGridTwoDay,timeGridWeek,dayGridMonth' }, views: { resourceTimeGridTwoDay: { type: 'resourceTimeGrid', duration: { days: 2 }, buttonText: '2 days', } }, //// uncomment this line to hide the all-day slot //allDaySlot: false, resources: [ { id: 'a', title: 'Room A' }, { id: 'b', title: 'Room B', eventColor: 'green' }, { id: 'c', title: 'Room C', eventColor: 'orange' }, { id: 'd', title: 'Room D', eventColor: 'red' } ], events: [ { id: '1', resourceId: 'a', start: '2019-04-06', end: '2019-04-08', title: 'event 1' }, { id: '2', resourceId: 'a', start: '2019-04-07T09:00:00', end: '2019-04-07T14:00:00', title: 'event 2' }, { id: '3', resourceId: 'b', start: '2019-04-07T12:00:00', end: '2019-04-08T06:00:00', title: 'event 3' }, { id: '4', resourceId: 'c', start: '2019-04-07T07:30:00', end: '2019-04-07T09:30:00', title: 'event 4' }, { id: '5', resourceId: 'd', start: '2019-04-07T10:00:00', end: '2019-04-07T15:00:00', title: 'event 5' } ], select: function(arg) { console.log( 'select', arg.startStr, arg.endStr, arg.resource ? arg.resource.id : '(no resource)' ); }, dateClick: function(arg) { console.log( 'dateClick', arg.date, arg.resource ? arg.resource.id : '(no resource)' ); } }); calendar.render(); }); </script> <style> body { margin: 0; padding: 0; font-family: Arial, Helvetica Neue, Helvetica, sans-serif; font-size: 14px; } #calendar { max-width: 900px; margin: 50px auto; } </style> </head> <body> <div id='calendar'></div> </body> </html>