mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 01:32:38 +00:00
33 lines
888 B
PHP
33 lines
888 B
PHP
@extends('layout.default')
|
|
|
|
@section('title', $L('Calendar'))
|
|
@section('activeNav', 'calendar')
|
|
@section('viewJsName', 'calendar')
|
|
|
|
@push('pageScripts')
|
|
<script src="{{ $U('/node_modules/fullcalendar/dist/fullcalendar.min.js?v=', true) }}{{ $version }}"></script>
|
|
@if(!empty($L('fullcalendar_locale')))<script src="{{ $U('/node_modules', true) }}/fullcalendar/dist/locale/{{ $L('fullcalendar_locale') }}.js?v={{ $version }}"></script>@endif
|
|
@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">
|
|
<h1>@yield('title')</h1>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
var fullcalendarEventSources = {!! json_encode($fullcalendarEventSources) !!}
|
|
</script>
|
|
|
|
<div class="row">
|
|
<div class="col">
|
|
<div id="calendar"></div>
|
|
</div>
|
|
</div>
|
|
@stop
|