mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -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 }};
|
||||
}
|
||||
|
||||
@if ($snipeSettings->custom_css)
|
||||
{{ $snipeSettings->show_custom_css() }}
|
||||
@endif
|
||||
</style>
|
||||
|
||||
@endif
|
||||
|
||||
@if (($snipeSettings) && ($snipeSettings->custom_css))
|
||||
<style>
|
||||
{!! $snipeSettings->show_custom_css() !!}
|
||||
</style>
|
||||
@endif
|
||||
|
||||
</head>
|
||||
|
||||
<body class="hold-transition login-page">
|
||||
|
|
|
@ -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) && ($snipeSettings->custom_css))
|
||||
<style>
|
||||
{!! $snipeSettings->show_custom_css() !!}
|
||||
</style>
|
||||
@endif
|
||||
|
||||
<script nonce="{{ csrf_token() }}">
|
||||
window.snipeit = {
|
||||
settings: {
|
||||
|
|
Loading…
Reference in a new issue