mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
73 lines
2.9 KiB
PHP
73 lines
2.9 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
<head>
|
|
|
|
<!-- Source: https://github.com/invoiceninja/invoiceninja -->
|
|
<!-- Error: {{ session('error') }} -->
|
|
|
|
@if (config('services.analytics.tracking_id'))
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-122229484-1"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
gtag('config', '{{ config('services.analytics.tracking_id') }}', { 'anonymize_ip': true });
|
|
function trackEvent(category, action) {
|
|
ga('send', 'event', category, action, this.src);
|
|
}
|
|
</script>
|
|
@else
|
|
<script>
|
|
function gtag(){}
|
|
</script>
|
|
@endif
|
|
|
|
<meta charset="utf-8">
|
|
<title>@yield('meta_title', 'Invoice Ninja') | {{ config('app.name') }}</title>
|
|
<meta name="description" content="@yield('meta_description')"/>
|
|
@if(auth()->guard('contact')->user() && !auth()->guard('contact')->user()->user->account->isPaid())
|
|
<link href="{{ asset('favicon.png') }}" rel="shortcut icon" type="image/png">
|
|
@endif
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.4.1/css/simple-line-icons.css">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css">
|
|
<link rel="canonical" href="{{ config('ninja.app_url') }}/{{ request()->path() }}"/>
|
|
<link rel="stylesheet" href="{{ mix('/css/ninja.min.css') }}">
|
|
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
|
<script src=" {{ mix('/js/coreui.min.js') }}"></script>
|
|
<script defer src="/js/lang.js"></script>
|
|
<style type="text/css">
|
|
.bg-primary2 {
|
|
background-color: #167090 !important;
|
|
color: #fff;
|
|
}
|
|
|
|
a.bg-primary2:hover, a.bg-primary:focus,
|
|
button.bg-primary:hover,
|
|
button.bg-primary:focus {
|
|
background-color: #56b3d4 !important;
|
|
}
|
|
|
|
</style>
|
|
@yield('head')
|
|
</head>
|
|
|
|
@include('header', $header)
|
|
@yield('header')
|
|
|
|
@include('sidebar')
|
|
@yield('sidebar')
|
|
|
|
@section('body')
|
|
@yield('body')
|
|
|
|
@include('dashboard.aside')
|
|
|
|
@include('footer')
|
|
@yield('footer')
|
|
</html> |