| 
									
										
										
										
											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') | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | <script src="{{ $U('/node_modules/fullcalendar/dist/fullcalendar.min.js?v=', true) }}{{ $version }}"></script> | 
					
						
							|  |  |  | @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 | 
					
						
							| 
									
										
										
										
											2020-09-06 10:00:49 +02:00
										 |  |  | <script src="{{ $U('/node_modules/qrcode-generator/qrcode.js?v=', true) }}{{ $version }}"></script> | 
					
						
							| 
									
										
										
										
											2018-11-18 15:39:43 +01:00
										 |  |  | @endpush | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @push('pageStyles') | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | <link href="{{ $U('/node_modules/fullcalendar/dist/fullcalendar.min.css?v=', true) }}{{ $version }}" | 
					
						
							|  |  |  | 	rel="stylesheet"> | 
					
						
							| 
									
										
										
										
											2018-11-18 15:39:43 +01:00
										 |  |  | @endpush | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @section('content') | 
					
						
							|  |  |  | <div class="row"> | 
					
						
							|  |  |  | 	<div class="col"> | 
					
						
							| 
									
										
										
										
											2020-04-19 08:51:02 -04:00
										 |  |  | 		<div class="title-related-links"> | 
					
						
							|  |  |  | 			<h2 class="title">@yield('title')</h2> | 
					
						
							| 
									
										
										
										
											2020-11-07 14:53:45 +01:00
										 |  |  | 			<button class="btn btn-outline-dark d-md-none mt-2 float-right order-1 order-md-3" | 
					
						
							|  |  |  | 				type="button" | 
					
						
							|  |  |  | 				data-toggle="collapse" | 
					
						
							|  |  |  | 				data-target="#related-links"> | 
					
						
							|  |  |  | 				<i class="fas fa-ellipsis-v"></i> | 
					
						
							|  |  |  | 			</button> | 
					
						
							|  |  |  | 			<div class="related-links collapse d-md-flex order-2 width-xs-sm-100 m-1 mt-md-0 mb-md-0 float-right" | 
					
						
							|  |  |  | 				id="related-links"> | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | 				<a id="ical-button" | 
					
						
							|  |  |  | 					class="btn btn-outline-dark" | 
					
						
							|  |  |  | 					href="#"> | 
					
						
							| 
									
										
										
										
											2020-04-19 08:51:02 -04:00
										 |  |  | 					{{ $__t('Share/Integrate calendar (iCal)') }} | 
					
						
							|  |  |  | 				</a> | 
					
						
							|  |  |  | 			</div> | 
					
						
							|  |  |  | 		</div> | 
					
						
							| 
									
										
										
										
											2018-11-18 15:39:43 +01:00
										 |  |  | 	</div> | 
					
						
							|  |  |  | </div> | 
					
						
							| 
									
										
										
										
											2020-10-31 18:37:10 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | <hr class="my-2 py-1"> | 
					
						
							| 
									
										
										
										
											2018-11-18 15:39:43 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | <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 |