mirror of
https://github.com/StarFleetCPTN/GoMFT.git
synced 2026-10-14 10:08:16 +02:00
feat: Implement calendar view for scheduled jobs
- Added a new calendar view to display scheduled jobs for the next two months. - Introduced components for generating calendar events from job data. - Integrated FullCalendar for enhanced calendar functionality. - Updated routing to include a new endpoint for the calendar view. - Enhanced layout to include a link to the calendar in the navigation. - Added necessary CSS for FullCalendar styling and functionality. - Included tooltips for event details and filtering options for job visibility.
This commit is contained in:
1 parent
88d0ac815a
commit
37d507ade6
9 files changed
+1045
-2
No files matched your search
@@ -9,6 +9,32 @@ window.Alpine = Alpine;
|
||||
import 'flowbite';
|
||||
import 'flowbite/dist/flowbite.css';
|
||||
|
||||
// Import FullCalendar
|
||||
import { Calendar } from '@fullcalendar/core';
|
||||
import dayGridPlugin from '@fullcalendar/daygrid';
|
||||
import timeGridPlugin from '@fullcalendar/timegrid';
|
||||
import listPlugin from '@fullcalendar/list';
|
||||
import interactionPlugin from '@fullcalendar/interaction';
|
||||
|
||||
// Make FullCalendar available globally
|
||||
window.FullCalendar = {
|
||||
Calendar,
|
||||
dayGridPlugin,
|
||||
timeGridPlugin,
|
||||
listPlugin,
|
||||
interactionPlugin
|
||||
};
|
||||
|
||||
// Import Popper.js
|
||||
import * as Popper from '@popperjs/core';
|
||||
window.Popper = Popper;
|
||||
|
||||
// Import Tippy.js
|
||||
import tippy from 'tippy.js';
|
||||
import 'tippy.js/dist/tippy.css';
|
||||
import 'tippy.js/themes/light.css';
|
||||
window.tippy = tippy;
|
||||
|
||||
// Initialize Flowbite components
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
// Initialize Alpine.js
|
||||
|
||||
Reference in new issue
Block a user