mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
New Model for Event,Booking and Course
This commit is contained in:
@@ -4,14 +4,7 @@
|
||||
<div class="col-sm-12 col-lg-12">
|
||||
<div class="card">
|
||||
<div class="card-body pb-0">
|
||||
<div class="dropdown float-right">
|
||||
<button class="btn bg-transparent dropdown-toggle theme-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown">
|
||||
<i class="fa fa-cog"></i>
|
||||
</button>
|
||||
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
||||
</div>
|
||||
</div>
|
||||
<div class="calendar"></div>
|
||||
<div id="fullCalendar"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -61,8 +54,14 @@
|
||||
@endsection
|
||||
|
||||
@section('custom_scripts')
|
||||
<div class="log"></div>
|
||||
<script src='/assets/fullcalendar/core/main.js'></script>
|
||||
<script src='/assets/fullcalendar/daygrid/main.js'></script>
|
||||
<script src='/assets/fullcalendar/interaction/main.js'></script>
|
||||
<script src="/js/calendar.js"></script>
|
||||
<div class="log"></div>
|
||||
<script>
|
||||
initFullCalendar(api_token)
|
||||
|
||||
function deleteEvent(pid){
|
||||
swal({
|
||||
title: 'Êtes vous certain ?',
|
||||
@@ -97,4 +96,10 @@
|
||||
})
|
||||
}
|
||||
</script>
|
||||
<div class="modal fade" id="schedulemodal" tabindex="-1" role="dialog" aria-labelledby="schedulemodal" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content" id="modal-content">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
5
resources/views/admin/schedule/modal/show.blade.php
Normal file
5
resources/views/admin/schedule/modal/show.blade.php
Normal file
@@ -0,0 +1,5 @@
|
||||
@extends('layouts.modal.schedule.show')
|
||||
|
||||
@section('content')
|
||||
Test
|
||||
@endsection
|
||||
@@ -20,5 +20,9 @@
|
||||
<!-- Material Dashboard CSS -->
|
||||
<link href="/css/material-dashboard.css" rel="stylesheet">
|
||||
|
||||
<!-- Plugin CSS -->
|
||||
<link href='/assets/fullcalendar/core/main.css' rel='stylesheet' />
|
||||
<link href='/assets/fullcalendar/daygrid/main.css' rel='stylesheet' />
|
||||
|
||||
<!-- Custom CSS -->
|
||||
<link rel="stylesheet" href="/css/custom.css">
|
||||
<link rel="stylesheet" href="/css/custom.css">
|
||||
@@ -13,8 +13,6 @@
|
||||
<script src="/js/plugins/bootstrap-datetimepicker.min.js"></script>
|
||||
<!-- DataTables.net Plugin, full documentation here: https://datatables.net/ -->
|
||||
<script src="/js/plugins/jquery.dataTables.min.js"></script>
|
||||
<!-- Full Calendar Plugin, full documentation here: https://github.com/fullcalendar/fullcalendar -->
|
||||
<script src="/js/plugins/fullcalendar.min.js"></script>
|
||||
<!-- Plugin for the Sliders, full documentation here: http://refreshless.com/nouislider/ -->
|
||||
<script src="/js/plugins/nouislider.min.js" ></script>
|
||||
<!-- Include a polyfill for ES6 Promises (optional) for IE11, UC Browser and Android browser support SweetAlert -->
|
||||
|
||||
14
resources/views/layouts/modal/schedule/show.blade.php
Normal file
14
resources/views/layouts/modal/schedule/show.blade.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="exampleModalLabel">{{$event->data['event_name']}}</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
@yield('content')
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
Reference in New Issue
Block a user