mirror of
https://github.com/grocy/grocy.git
synced 2025-04-28 17:23:56 +00:00
28 lines
613 B
PHP
28 lines
613 B
PHP
@if (!GROCY_DISABLE_BROWSER_BARCODE_CAMERA_SCANNING)
|
|
|
|
@push('componentScripts')
|
|
<script src="{{ $U('/viewjs/components/barcodescanner.js', true) }}?v={{ $version }}"></script>
|
|
@endpush
|
|
|
|
@push('pageScripts')
|
|
<script src="{{ $U('/node_modules/@ericblade/quagga2/dist/quagga.min.js?v=', true) }}{{ $version }}"></script>
|
|
@endpush
|
|
|
|
@push('pageStyles')
|
|
<style>
|
|
#barcodescanner-start-button {
|
|
position: absolute;
|
|
right: 0;
|
|
margin-top: 4px;
|
|
margin-right: 5px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.combobox-container #barcodescanner-start-button {
|
|
margin-right: 36px !important;
|
|
}
|
|
</style>
|
|
@endpush
|
|
|
|
@endif
|