Prepare for embedded mode

This commit is contained in:
Bernd Bestel 2018-07-16 21:23:13 +02:00
parent bbc2fc9e42
commit 3131b8965e
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -28,8 +28,8 @@
<link href="{{ $U('/css/grocy.css?v=', true) }}{{ $version }}" rel="stylesheet"> <link href="{{ $U('/css/grocy.css?v=', true) }}{{ $version }}" rel="stylesheet">
@stack('pageStyles') @stack('pageStyles')
@if(file_exists(__DIR__ . '/../../data/custom_css.html')) @if(file_exists(DATAPATH . '/custom_css.html'))
@php include __DIR__ . '/../../data/custom_css.html' @endphp @php include DATAPATH . '/custom_css.html' @endphp
@endif @endif
<script> <script>
@ -252,8 +252,8 @@
@stack('componentScripts') @stack('componentScripts')
<script src="{{ $U('/viewjs', true) }}/@yield('viewJsName').js?v={{ $version }}"></script> <script src="{{ $U('/viewjs', true) }}/@yield('viewJsName').js?v={{ $version }}"></script>
@if(file_exists(__DIR__ . '/../../data/custom_js.html')) @if(file_exists(DATAPATH . '/custom_js.html'))
@php include __DIR__ . '/../../data/custom_js.html' @endphp @php include DATAPATH . '/custom_js.html' @endphp
@endif @endif
</body> </body>