Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 
 

104 řádky
3.4 KiB

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