mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 07:39:25 +01:00
Prepare for embedded mode
This commit is contained in:
parent
bbc2fc9e42
commit
3131b8965e
|
|
@ -28,8 +28,8 @@
|
|||
<link href="{{ $U('/css/grocy.css?v=', true) }}{{ $version }}" rel="stylesheet">
|
||||
@stack('pageStyles')
|
||||
|
||||
@if(file_exists(__DIR__ . '/../../data/custom_css.html'))
|
||||
@php include __DIR__ . '/../../data/custom_css.html' @endphp
|
||||
@if(file_exists(DATAPATH . '/custom_css.html'))
|
||||
@php include DATAPATH . '/custom_css.html' @endphp
|
||||
@endif
|
||||
|
||||
<script>
|
||||
|
|
@ -252,8 +252,8 @@
|
|||
@stack('componentScripts')
|
||||
<script src="{{ $U('/viewjs', true) }}/@yield('viewJsName').js?v={{ $version }}"></script>
|
||||
|
||||
@if(file_exists(__DIR__ . '/../../data/custom_js.html'))
|
||||
@php include __DIR__ . '/../../data/custom_js.html' @endphp
|
||||
@if(file_exists(DATAPATH . '/custom_js.html'))
|
||||
@php include DATAPATH . '/custom_js.html' @endphp
|
||||
@endif
|
||||
</body>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user