templates/apps-calendar.html.twig line 1

Open in your IDE?
  1. {{ include('partials/main.html.twig') }}
  2.     <head>
  3.         
  4.         {{ include('partials/title-meta.html.twig', {title: 'Calendar'}) }}
  5.         <link href="/libs/@fullcalendar/core/main.min.css" rel="stylesheet" type="text/css" />
  6.         <link href="/libs/@fullcalendar/daygrid/main.min.css" rel="stylesheet" type="text/css" />
  7.         <link href="/libs/@fullcalendar/bootstrap/main.min.css" rel="stylesheet" type="text/css" />
  8.         <link href="/libs/@fullcalendar/timegrid/main.min.css" rel="stylesheet" type="text/css" />
  9.         {{ include('partials/head-css.html.twig') }}
  10.     </head>
  11.     {{ include('partials/body.html.twig') }}
  12.         <!-- Begin page -->
  13.         <div id="layout-wrapper">
  14.             {{ include('partials/menu.html.twig') }}
  15.             <!-- ============================================================== -->
  16.             <!-- Start right Content here -->
  17.             <!-- ============================================================== -->
  18.             <div class="main-content">
  19.                 <div class="page-content">
  20.                     <div class="container-fluid">
  21.                         {{ include('partials/page-title.html.twig', {pagetitle: 'Apps', title: 'Calendar'}) }}
  22.                         <div class="row">
  23.                             <div class="col-12">
  24.                                
  25.                                 <div class="row">
  26.                                     <div class="col-xl-3 col-lg-4">
  27.                                         <div class="card">
  28.                                             <div class="card-body">
  29.                                                 <div class="d-grid">
  30.                                                     <button class="btn font-16 btn-primary" id="btn-new-event"><i class="mdi mdi-plus-circle-outline"></i> Create
  31.                                                         New Event
  32.                                                     </button>
  33.                                                 </div>
  34.                                                 
  35.                                                 <div id="external-events" class="mt-2">
  36.                                                     <br>
  37.                                                     <p class="text-muted">Drag and drop your event or click in the calendar</p>
  38.                                                     <div class="external-event fc-event text-success bg-soft-success" data-class="bg-success">
  39.                                                         <i class="mdi mdi-checkbox-blank-circle font-size-11 me-2"></i>New Event Planning
  40.                                                     </div>
  41.                                                     <div class="external-event fc-event text-info bg-soft-info" data-class="bg-info">
  42.                                                         <i class="mdi mdi-checkbox-blank-circle font-size-11 me-2"></i>Meeting
  43.                                                     </div>
  44.                                                     <div class="external-event fc-event text-warning bg-soft-warning" data-class="bg-warning">
  45.                                                         <i class="mdi mdi-checkbox-blank-circle font-size-11 me-2"></i>Generating Reports
  46.                                                     </div>
  47.                                                     <div class="external-event fc-event text-danger bg-soft-danger" data-class="bg-danger">
  48.                                                         <i class="mdi mdi-checkbox-blank-circle font-size-11 me-2"></i>Create New theme
  49.                                                     </div>
  50.                                                     <div class="external-event fc-event text-dark bg-soft-dark" data-class="bg-dark">
  51.                                                         <i class="mdi mdi-checkbox-blank-circle font-size-11 me-2"></i>Team Meeting
  52.                                                     </div>
  53.                                                 </div>
  54.                                                 <div class="row justify-content-center mt-5">
  55.                                                     <div class="col-lg-12 col-sm-6">
  56.                                                         <img src="/images/undraw-calendar.svg" alt="" class="img-fluid d-block">
  57.                                                     </div>
  58.                                                 </div>
  59.                                             
  60.                                             </div>
  61.                                         </div>
  62.                                     </div> <!-- end col-->
  63.                                     <div class="col-xl-9 col-lg-8">
  64.                                         <div class="card">
  65.                                             <div class="card-body">
  66.                                                 <div id="calendar"></div>
  67.                                             </div>
  68.                                         </div>
  69.                                     </div> <!-- end col -->
  70.                                 </div>
  71.                                 <!-- end row -->
  72.                                 <div style='clear:both'></div>
  73.                                 <!-- Add New Event MODAL -->
  74.                                 <div class="modal fade" id="event-modal" tabindex="-1">
  75.                                     <div class="modal-dialog modal-dialog-centered">
  76.                                         <div class="modal-content">
  77.                                             <div class="modal-header py-3 px-4 border-bottom-0">
  78.                                                 <h5 class="modal-title" id="modal-title">Event</h5>
  79.                                                 <button type="button" class="btn-close" data-bs-dismiss="modal" aria-hidden="true"></button>
  80.                                             </div>
  81.                                             <div class="modal-body p-4">
  82.                                                 <form class="needs-validation" name="event-form" id="form-event" novalidate>
  83.                                                     <div class="row">
  84.                                                         <div class="col-12">
  85.                                                             <div class="mb-3">
  86.                                                                 <label class="form-label">Event Name</label>
  87.                                                                 <input class="form-control" placeholder="Insert Event Name"
  88.                                                                     type="text" name="title" id="event-title" required value="" />
  89.                                                                 <div class="invalid-feedback">Please provide a valid event name</div>
  90.                                                             </div>
  91.                                                         </div>
  92.                                                         <div class="col-12">
  93.                                                             <div class="mb-3">
  94.                                                                 <label class="form-label">Category</label>
  95.                                                                 <select class="form-control form-select" name="category" id="event-category" required>
  96.                                                                     <option value="" selected> --Select-- </option>
  97.                                                                     <option value="bg-danger">Danger</option>
  98.                                                                     <option value="bg-success">Success</option>
  99.                                                                     <option value="bg-primary">Primary</option>
  100.                                                                     <option value="bg-info">Info</option>
  101.                                                                     <option value="bg-dark">Dark</option>
  102.                                                                     <option value="bg-warning">Warning</option>
  103.                                                                 </select>
  104.                                                                 <div class="invalid-feedback">Please select a valid event category</div>
  105.                                                             </div>
  106.                                                         </div>
  107.                                                     </div>
  108.                                                     <div class="row mt-2">
  109.                                                         <div class="col-6">
  110.                                                             <button type="button" class="btn btn-danger" id="btn-delete-event">Delete</button>
  111.                                                         </div>
  112.                                                         <div class="col-6 text-end">
  113.                                                             <button type="button" class="btn btn-light me-1" data-bs-dismiss="modal">Close</button>
  114.                                                             <button type="submit" class="btn btn-success" id="btn-save-event">Save</button>
  115.                                                         </div>
  116.                                                     </div>
  117.                                                 </form>
  118.                                             </div>
  119.                                         </div> <!-- end modal-content-->
  120.                                     </div> <!-- end modal dialog-->
  121.                                 </div>
  122.                                 <!-- end modal-->
  123.                             </div>
  124.                         </div>
  125.                         
  126.                     </div> <!-- container-fluid -->
  127.                 </div>
  128.                 <!-- End Page-content -->
  129.                 {{ include('partials/footer.html.twig') }}
  130.             </div>
  131.             <!-- end main content-->
  132.         </div>
  133.         <!-- END layout-wrapper -->
  134.         {{ include('partials/right-sidebar.html.twig') }}
  135.         {{ include('partials/vendor-scripts.html.twig') }}
  136.         <script src="/libs/@fullcalendar/core/main.min.js"></script>
  137.         <script src="/libs/@fullcalendar/bootstrap/main.min.js"></script>
  138.         <script src="/libs/@fullcalendar/daygrid/main.min.js"></script>
  139.         <script src="/libs/@fullcalendar/timegrid/main.min.js"></script>
  140.         <script src="/libs/@fullcalendar/interaction/main.min.js"></script>
  141.         <!-- Calendar init -->
  142.         <script src="/js/pages/calendar.init.js"></script>
  143.         <!-- App js -->
  144.         <script src="/js/app.js"></script>
  145.     </body>
  146. </html>