A free open source IT asset/license management system
Add CSS to center the 1D barcode and add PHP to include the custom CSS from Settings.
Daniel Dreier52084a2c24de
diff --git a/resources/views/hardware/labels.blade.php b/resources/views/hardware/labels.blade.phpindex ea27fe634e..d6ad1c5ee2 100644--- a/resources/views/hardware/labels.blade.php+++ b/resources/views/hardware/labels.blade.php@@ -49,6 +49,11 @@width: 100%;height: 100%;}+ img.barcode {+ display: block;+ margin-left: auto;+ margin-right: auto;+ }.qr_text {width: {{ $qr_txt_size }}in;@@ -88,6 +93,9 @@}}+ @if (\App\Models\Setting::getSettings()->custom_css)+ {{ \App\Models\Setting::getSettings()->show_custom_css() }}+ @endif</style>