| 
									
										
										
										
											2018-11-18 15:39:43 +01:00
										 |  |  | @extends('layout.default') | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-01 20:19:18 +02:00
										 |  |  | @section('title', $__t('Calendar')) | 
					
						
							| 
									
										
										
										
											2018-11-18 15:39:43 +01:00
										 |  |  | @section('activeNav', 'calendar') | 
					
						
							|  |  |  | @section('viewJsName', 'calendar') | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @push('pageScripts') | 
					
						
							|  |  |  | 	<script src="{{ $U('/node_modules/fullcalendar/dist/fullcalendar.min.js?v=', true) }}{{ $version }}"></script> | 
					
						
							| 
									
										
										
										
											2019-05-01 20:19:18 +02:00
										 |  |  | 	@if(!empty($__t('fullcalendar_locale') && $__t('fullcalendar_locale') != 'x'))<script src="{{ $U('/node_modules', true) }}/fullcalendar/dist/locale/{{ $__t('fullcalendar_locale') }}.js?v={{ $version }}"></script>@endif | 
					
						
							| 
									
										
										
										
											2018-11-18 15:39:43 +01:00
										 |  |  | @endpush | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @push('pageStyles') | 
					
						
							|  |  |  | 	<link href="{{ $U('/node_modules/fullcalendar/dist/fullcalendar.min.css?v=', true) }}{{ $version }}" rel="stylesheet"> | 
					
						
							|  |  |  | @endpush | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @section('content') | 
					
						
							|  |  |  | <div class="row"> | 
					
						
							|  |  |  | 	<div class="col"> | 
					
						
							| 
									
										
										
										
											2019-03-04 17:44:48 +01:00
										 |  |  | 		<h1> | 
					
						
							|  |  |  | 			@yield('title') | 
					
						
							|  |  |  | 			<a id="ical-button" class="btn btn-outline-dark" href="#"> | 
					
						
							| 
									
										
										
										
											2019-05-01 20:19:18 +02:00
										 |  |  | 				<i class="fas fa-calendar-plus"></i> {{ $__t('Share/Integrate calendar (iCal)') }} | 
					
						
							| 
									
										
										
										
											2019-03-04 17:44:48 +01:00
										 |  |  | 			</a> | 
					
						
							|  |  |  | 		</h1> | 
					
						
							| 
									
										
										
										
											2018-11-18 15:39:43 +01:00
										 |  |  | 	</div> | 
					
						
							|  |  |  | </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <script> | 
					
						
							| 
									
										
										
										
											2019-03-04 17:44:48 +01:00
										 |  |  | 	var fullcalendarEventSources = {!! json_encode(array($fullcalendarEventSources)) !!} | 
					
						
							| 
									
										
										
										
											2018-11-18 15:39:43 +01:00
										 |  |  | </script> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <div class="row"> | 
					
						
							|  |  |  | 	<div class="col"> | 
					
						
							|  |  |  | 		<div id="calendar"></div> | 
					
						
							|  |  |  | 	</div> | 
					
						
							|  |  |  | </div> | 
					
						
							|  |  |  | @stop |