A free open source IT asset/license management system
Split out custom_css from custom_header color
snipea5daee811bac
diff --git a/resources/views/layouts/basic.blade.php b/resources/views/layouts/basic.blade.phpindex 3ea432d3ef..9d16d06b0e 100644--- a/resources/views/layouts/basic.blade.php+++ b/resources/views/layouts/basic.blade.php@@ -32,12 +32,13 @@background-color: {{ $snipeSettings->header_color }};border-color: {{ $snipeSettings->header_color }};}-- @if ($snipeSettings->custom_css)- {{ $snipeSettings->show_custom_css() }}- @endif</style>+ @endif+ @if ($snipeSettings->custom_css)+ <style>+ {!! $snipeSettings->show_custom_css() !!}+ </style>@endif</head>diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.phpindex 78adec2d8b..51f219c592 100644--- a/resources/views/layouts/default.blade.php+++ b/resources/views/layouts/default.blade.php@@ -54,9 +54,7 @@}@endif- @if (($snipeSettings) && ($snipeSettings->custom_css!=''))- {!! $snipeSettings->show_custom_css() !!}- @endif+@media (max-width: 400px) {.navbar-left {@@ -69,6 +67,12 @@}</style>+ @if ($snipeSettings->custom_css)+ <style>+ {!! $snipeSettings->show_custom_css() !!}+ </style>+ @endif+<script nonce="{{ csrf_token() }}">window.snipeit = {settings: {