1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/resources/views/portal/default/layouts/master.blade.php

71 lines
2.3 KiB
PHP
Raw Normal View History

2019-07-17 05:09:37 +02:00
<!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
@php
$user = auth()->guard('contact')->user();
@endphp
2019-07-17 05:09:37 +02:00
<meta charset="utf-8">
<title>@yield('meta_title', 'Invoice Ninja') | {{ config('app.name') }}</title>
<meta name="description" content="@yield('meta_description')"/>
<link href="{{ asset('favicon.png') }}" rel="shortcut icon" type="image/png">
<base href="./">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
2019-07-19 06:32:51 +02:00
<meta name="author" content="Hillel Coren, David Bomba">
<meta name="keyword" content="">
2019-07-17 05:09:37 +02:00
<!-- Icons-->
<link href="/vendors/css/coreui-icons.min.css" rel="stylesheet">
<link href="/vendors/css/font-awesome.min.css" rel="stylesheet">
<!-- Main styles for this application-->
<link href="/vendors/css/bootstrap.min.css" rel="stylesheet">
<link href="/vendors/css/coreui.min.css" rel="stylesheet">
2019-08-21 01:17:46 +02:00
<style type="text/css">
.nav {min-height: calc(100% - 55px);}
</style>
@stack('css')
2019-10-08 04:03:40 +02:00
@yield('head')
2019-07-17 05:09:37 +02:00
</head>
2019-07-22 05:54:34 +02:00
@include('portal.default.header')
2019-07-17 05:09:37 +02:00
@yield('header')
@include('portal.default.sidebar')
@yield('sidebar')
@section('body')
@yield('body')
@include('portal.default.footer')
@yield('footer')
</html>
<script type="text/javascript">
@if($settings->enable_client_portal === false)
$('.navbar-toggler-icon').hide();
$('.app').removeClass("sidebar-lg-show");
$('.app').addClass("sidebar-hidden");
@endif
</script>