mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-16 16:13:20 +01:00
ab8b05dd56
* Install livewire/livewire * Table improvements - Cleanup of InvoiceController - Added Livewire package - New Livewire component (InvoicesTable) - New WithSorting trait - Removed rendering invoices from index.blade.php - Removed Yaryabox/Datatables references in InvoiceController * Refactor: Recurring invoices * payments table & sorting improvements * payment methods table * quotes table * credits table * Add turbolinks
91 lines
2.8 KiB
PHP
91 lines
2.8 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>
|
|
<script>
|
|
Vue.config.devtools = true;
|
|
</script>
|
|
@else
|
|
<script>
|
|
function gtag() {
|
|
}
|
|
</script>
|
|
@endif
|
|
|
|
<!-- Title -->
|
|
<title>@yield('meta_title', 'Invoice Ninja') — {{ config('app.name') }}</title>
|
|
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="description" content="@yield('meta_description')"/>
|
|
|
|
<!-- CSRF Token -->
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
<!-- Scripts -->
|
|
<script src="{{ mix('js/app.js') }}" defer></script>
|
|
<script src="{{ asset('js/vendor/alpinejs/alpine.js') }}" defer></script>
|
|
|
|
<!-- Fonts -->
|
|
<link rel="dns-prefetch" href="https://fonts.gstatic.com">
|
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans&display=swap" rel="stylesheet" type="text/css">
|
|
|
|
<!-- Styles -->
|
|
<link href="{{ mix('css/app.css') }}" rel="stylesheet">
|
|
{{-- <link href="{{ mix('favicon.png') }}" rel="shortcut icon" type="image/png"> --}}
|
|
|
|
<link rel="canonical" href="{{ config('ninja.site_url') }}/{{ request()->path() }}"/>
|
|
|
|
<style>
|
|
{!! $client->getSetting('portal_custom_css') !!}
|
|
</style>
|
|
|
|
@livewireStyles
|
|
|
|
{{-- Feel free to push anything to header using @push('header') --}}
|
|
@stack('head')
|
|
|
|
{!! $client->getSetting('portal_custom_head') !!}
|
|
</head>
|
|
|
|
<body class="antialiased">
|
|
@component('portal.ninja2020.components.general.sidebar.main')
|
|
@yield('body')
|
|
@endcomponent
|
|
|
|
@livewireScripts
|
|
</body>
|
|
|
|
<footer>
|
|
@yield('footer')
|
|
@stack('footer')
|
|
|
|
{!! $client->getSetting('portal_custom_footer') !!}
|
|
</footer>
|
|
|
|
<script>
|
|
{!! $client->getSetting('portal_custom_js') !!}
|
|
</script>
|
|
|
|
</html>
|