mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Split out custom_css from custom_header
This makes it so that the custom_css will still be respected even if there is no custom header
This commit is contained in:
parent
4e55a18a60
commit
708b1a962c
|
@ -33,13 +33,16 @@
|
||||||
border-color: {{ $snipeSettings->header_color }};
|
border-color: {{ $snipeSettings->header_color }};
|
||||||
}
|
}
|
||||||
|
|
||||||
@if ($snipeSettings->custom_css)
|
|
||||||
{{ $snipeSettings->show_custom_css() }}
|
|
||||||
@endif
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@if (($snipeSettings) && ($snipeSettings->custom_css))
|
||||||
|
<style>
|
||||||
|
{!! $snipeSettings->show_custom_css() !!}
|
||||||
|
</style>
|
||||||
|
@endif
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="hold-transition login-page">
|
<body class="hold-transition login-page">
|
||||||
|
|
|
@ -54,9 +54,7 @@
|
||||||
}
|
}
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if (($snipeSettings) && ($snipeSettings->custom_css!=''))
|
|
||||||
{!! $snipeSettings->show_custom_css() !!}
|
|
||||||
@endif
|
|
||||||
|
|
||||||
@media (max-width: 400px) {
|
@media (max-width: 400px) {
|
||||||
.navbar-left {
|
.navbar-left {
|
||||||
|
@ -69,6 +67,12 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
@if (($snipeSettings) && ($snipeSettings->custom_css))
|
||||||
|
<style>
|
||||||
|
{!! $snipeSettings->show_custom_css() !!}
|
||||||
|
</style>
|
||||||
|
@endif
|
||||||
|
|
||||||
<script nonce="{{ csrf_token() }}">
|
<script nonce="{{ csrf_token() }}">
|
||||||
window.snipeit = {
|
window.snipeit = {
|
||||||
settings: {
|
settings: {
|
||||||
|
|
Loading…
Reference in a new issue