Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | <!DOCTYPE html> |
| 2 | <html> |
||
| 3 | <head> |
||
| 4 | <meta charset='utf-8' /> |
||
| 5 | <link href='../fullcalendar.css' rel='stylesheet' /> |
||
| 6 | <link href='../fullcalendar.print.css' rel='stylesheet' media='print' /> |
||
| 7 | <script src='../lib/moment.min.js'></script> |
||
| 8 | <script src='../lib/jquery.min.js'></script> |
||
| 9 | <script src='../fullcalendar.min.js'></script> |
||
| 10 | <script> |
||
| 11 | |||
| 12 | $(document).ready(function() { |
||
| 13 | |||
| 14 | $('#calendar').fullCalendar({ |
||
| 15 | defaultDate: '2014-09-12', |
||
| 16 | editable: true, |
||
| 17 | eventLimit: true, // allow "more" link when too many events |
||
| 18 | events: [ |
||
| 19 | { |
||
| 20 | title: 'All Day Event', |
||
| 21 | start: '2014-09-01' |
||
| 22 | }, |
||
| 23 | { |
||
| 24 | title: 'Long Event', |
||
| 25 | start: '2014-09-07', |
||
| 26 | end: '2014-09-10' |
||
| 27 | }, |
||
| 28 | { |
||
| 29 | id: 999, |
||
| 30 | title: 'Repeating Event', |
||
| 31 | start: '2014-09-09T16:00:00' |
||
| 32 | }, |
||
| 33 | { |
||
| 34 | id: 999, |
||
| 35 | title: 'Repeating Event', |
||
| 36 | start: '2014-09-16T16:00:00' |
||
| 37 | }, |
||
| 38 | { |
||
| 39 | title: 'Conference', |
||
| 40 | start: '2014-09-11', |
||
| 41 | end: '2014-09-13' |
||
| 42 | }, |
||
| 43 | { |
||
| 44 | title: 'Meeting', |
||
| 45 | start: '2014-09-12T10:30:00', |
||
| 46 | end: '2014-09-12T12:30:00' |
||
| 47 | }, |
||
| 48 | { |
||
| 49 | title: 'Lunch', |
||
| 50 | start: '2014-09-12T12:00:00' |
||
| 51 | }, |
||
| 52 | { |
||
| 53 | title: 'Meeting', |
||
| 54 | start: '2014-09-12T14:30:00' |
||
| 55 | }, |
||
| 56 | { |
||
| 57 | title: 'Happy Hour', |
||
| 58 | start: '2014-09-12T17:30:00' |
||
| 59 | }, |
||
| 60 | { |
||
| 61 | title: 'Dinner', |
||
| 62 | start: '2014-09-12T20:00:00' |
||
| 63 | }, |
||
| 64 | { |
||
| 65 | title: 'Birthday Party', |
||
| 66 | start: '2014-09-13T07:00:00' |
||
| 67 | }, |
||
| 68 | { |
||
| 69 | title: 'Click for Google', |
||
| 70 | url: 'http://google.com/', |
||
| 71 | start: '2014-09-28' |
||
| 72 | } |
||
| 73 | ] |
||
| 74 | }); |
||
| 75 | |||
| 76 | }); |
||
| 77 | |||
| 78 | </script> |
||
| 79 | <style> |
||
| 80 | |||
| 81 | body { |
||
| 82 | margin: 40px 10px; |
||
| 83 | padding: 0; |
||
| 84 | font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif; |
||
| 85 | font-size: 14px; |
||
| 86 | } |
||
| 87 | |||
| 88 | #calendar { |
||
| 89 | max-width: 900px; |
||
| 90 | margin: 0 auto; |
||
| 91 | } |
||
| 92 | |||
| 93 | </style> |
||
| 94 | </head> |
||
| 95 | <body> |
||
| 96 | |||
| 97 | <div id='calendar'></div> |
||
| 98 | |||
| 99 | </body> |
||
| 100 | </html> |