Files
grocy/views/components/camerabarcodescanner.blade.php
Bernd Bestel 11d28622e8 Squashed commit
Make it possible to actively not-check a mandatory checkbox Userfield (closes #2601)
Pluralize the "opened" localization string (closes #2280)
Added a trendline to the price history chart (closes #2237)
Various minor style/code refinements
2025-01-14 17:54:06 +01:00

28 lines
557 B
PHP

@if (!GROCY_FEATURE_FLAG_DISABLE_BROWSER_BARCODE_CAMERA_SCANNING)
@php require_frontend_packages(['quagga2']); @endphp
@once
@push('componentScripts')
<script src="{{ $U('/viewjs/components/camerabarcodescanner.js', true) }}?v={{ $version }}"></script>
@endpush
@endonce
@push('pageStyles')
<style>
#camerabarcodescanner-start-button {
position: absolute;
right: 0;
margin-top: 4px;
margin-right: 5px;
cursor: pointer;
}
.combobox-container #camerabarcodescanner-start-button {
margin-right: 38px !important;
}
</style>
@endpush
@endif