mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 23:54:12 -08:00
Merge branch 'develop'
This commit is contained in:
commit
4f1b58cd35
|
@ -89,6 +89,18 @@ class Setting extends Model
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Escapes the custom CSS, and then un-escapes the greater-than symbol
|
||||||
|
* so it can work with direct descendant characters for bootstrap
|
||||||
|
* menu overrides like:
|
||||||
|
*
|
||||||
|
* .skin-blue .sidebar-menu>li.active>a, .skin-blue .sidebar-menu>li:hover>a
|
||||||
|
*
|
||||||
|
* Important: Do not remove the e() escaping here, as we output raw in the blade.
|
||||||
|
*
|
||||||
|
* @return string escaped CSS
|
||||||
|
* @author A. Gianotto <snipe@snipe.net>
|
||||||
|
*/
|
||||||
public function show_custom_css()
|
public function show_custom_css()
|
||||||
{
|
{
|
||||||
$custom_css = Setting::getSettings()->custom_css;
|
$custom_css = Setting::getSettings()->custom_css;
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if ($snipeSettings->custom_css)
|
@if ($snipeSettings->custom_css)
|
||||||
{{ $snipeSettings->show_custom_css() }}
|
{!! $snipeSettings->show_custom_css() !!}
|
||||||
@endif
|
@endif
|
||||||
@endif
|
@endif
|
||||||
@media (max-width: 400px) {
|
@media (max-width: 400px) {
|
||||||
|
|
Loading…
Reference in a new issue