mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-17 19:14:06 -08:00
14c0517927
Signed-off-by: snipe <snipe@snipe.net>
81 lines
2.6 KiB
PHP
81 lines
2.6 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{{ ($snipeSettings) && ($snipeSettings->site_name) ? $snipeSettings->site_name : 'Snipe-IT' }}</title>
|
|
|
|
<link rel="shortcut icon" type="image/ico" href="{{ ($snipeSettings) && ($snipeSettings->favicon!='') ? Storage::disk('public')->url('').e($snipeSettings->favicon) : 'favicon.ico' }} ">
|
|
{{-- stylesheets --}}
|
|
<link rel="stylesheet" href="{{ url(mix('css/dist/all.css')) }}">
|
|
|
|
<script nonce="{{ csrf_token() }}">
|
|
window.snipeit = {
|
|
settings: {
|
|
"per_page": 50
|
|
}
|
|
};
|
|
</script>
|
|
@livewireStyles
|
|
|
|
|
|
@if (($snipeSettings) && ($snipeSettings->header_color))
|
|
<style>
|
|
.main-header .navbar, .main-header .logo {
|
|
background-color: {{ $snipeSettings->header_color }};
|
|
background: -webkit-linear-gradient(top, {{ $snipeSettings->header_color }} 0%,{{ $snipeSettings->header_color }} 100%);
|
|
background: linear-gradient(to bottom, {{ $snipeSettings->header_color }} 0%,{{ $snipeSettings->header_color }} 100%);
|
|
border-color: {{ $snipeSettings->header_color }};
|
|
}
|
|
.skin-blue .sidebar-menu > li:hover > a, .skin-blue .sidebar-menu > li.active > a {
|
|
border-left-color: {{ $snipeSettings->header_color }};
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: {{ $snipeSettings->header_color }};
|
|
border-color: {{ $snipeSettings->header_color }};
|
|
}
|
|
|
|
|
|
</style>
|
|
@endif
|
|
|
|
@if (($snipeSettings) && ($snipeSettings->custom_css))
|
|
<style>
|
|
{!! $snipeSettings->show_custom_css() !!}
|
|
</style>
|
|
@endif
|
|
|
|
</head>
|
|
|
|
<body class="hold-transition login-page">
|
|
|
|
@if (($snipeSettings) && ($snipeSettings->logo!=''))
|
|
<center>
|
|
<a href="{{ config('app.url') }}"><img id="login-logo" src="{{ Storage::disk('public')->url('').e($snipeSettings->logo) }}"></a>
|
|
</center>
|
|
@endif
|
|
<!-- Content -->
|
|
@yield('content')
|
|
|
|
|
|
|
|
<div class="text-center" style="padding-top: 100px;">
|
|
@if (($snipeSettings) && ($snipeSettings->privacy_policy_link!=''))
|
|
<a target="_blank" rel="noopener" href="{{ $snipeSettings->privacy_policy_link }}" target="_new">{{ trans('admin/settings/general.privacy_policy') }}</a>
|
|
@endif
|
|
</div>
|
|
|
|
{{-- Javascript files --}}
|
|
<script src="{{ url(mix('js/dist/all.js')) }}" nonce="{{ csrf_token() }}"></script>
|
|
|
|
|
|
@stack('js')
|
|
@livewireScripts
|
|
</body>
|
|
|
|
</html>
|