calendar.events.js 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // Date for the calendar events (dummy data)
  2. var date = new Date();
  3. var d = date.getDate(),
  4. m = date.getMonth(),
  5. y = date.getFullYear();
  6. export default [
  7. {
  8. title: 'Jadwal Pemeriksaan - BI:88389',
  9. start: new Date(y, m, 1),
  10. backgroundColor: '#f56954', //red
  11. borderColor: '#f56954' //red
  12. },
  13. {
  14. title: 'Jadwal Pemeriksaan - BI:77589',
  15. start: new Date(y, m, d - 5),
  16. end: new Date(y, m, d - 2),
  17. backgroundColor: '#f39c12', //yellow
  18. borderColor: '#f39c12' //yellow
  19. },
  20. {
  21. title: 'Jadwal Pemeriksaan - BI:36458',
  22. start: new Date(y, m, d, 10, 30),
  23. allDay: false,
  24. backgroundColor: '#0073b7', //Blue
  25. borderColor: '#0073b7' //Blue
  26. },
  27. {
  28. title: 'Jadwal Pemeriksaan - BI:36KLP',
  29. start: new Date(y, m, d, 12, 0),
  30. end: new Date(y, m, d, 14, 0),
  31. allDay: false,
  32. backgroundColor: '#00c0ef', //Info (aqua)
  33. borderColor: '#00c0ef' //Info (aqua)
  34. },
  35. {
  36. title: 'Jadwal Pemeriksaan - BI:36589',
  37. start: new Date(y, m, d + 1, 19, 0),
  38. end: new Date(y, m, d + 1, 22, 30),
  39. allDay: false,
  40. backgroundColor: '#00a65a', //Success (green)
  41. borderColor: '#00a65a' //Success (green)
  42. },
  43. {
  44. title: 'Jadwal Pemeriksaan - BI:56989',
  45. start: new Date(y, m, 28),
  46. end: new Date(y, m, 29),
  47. url: '//google.com/',
  48. backgroundColor: '#3c8dbc', //Primary (light-blue)
  49. borderColor: '#3c8dbc' //Primary (light-blue)
  50. }
  51. ];