1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-18 09:04:35 +01:00
invoiceninja/app/views/master.blade.php

55 lines
1.6 KiB
PHP
Raw Normal View History

2013-11-26 13:45:07 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2014-02-03 13:43:15 +01:00
<link href="{{ asset('favicon.ico') }}" rel="icon" type="image/x-icon">
2013-11-26 13:45:07 +01:00
<meta name="description" content="">
<meta name="author" content="">
2013-12-07 19:45:00 +01:00
<title>Invoice Ninja {{ isset($title) ? $title : '' }}</title>
2013-11-26 13:45:07 +01:00
2014-01-05 15:03:29 +01:00
<script src="{{ asset('vendor/jquery/jquery.min.js') }}" type="text/javascript"></script>
2014-01-02 14:21:15 +01:00
<script type="text/javascript">
window.onerror = function(e) {
try {
$.ajax({
type: 'GET',
url: '{{ URL::to('log_error') }}',
data: 'error='+e+'&url='+window.location
});
} catch(err) {}
return false;
}
</script>
2013-11-26 13:45:07 +01:00
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
2013-12-27 10:10:32 +01:00
2013-12-07 19:45:00 +01:00
@yield('head')
2013-11-26 13:45:07 +01:00
</head>
<body>
2014-01-08 21:09:47 +01:00
@if (App::environment() == ENV_PRODUCTION)
2013-11-26 13:45:07 +01:00
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
2014-01-09 11:05:35 +01:00
ga('create', 'UA-46031341-1');
2013-11-26 13:45:07 +01:00
ga('send', 'pageview');
</script>
@endif
2013-12-07 19:45:00 +01:00
@yield('body')
2013-11-26 13:45:07 +01:00
</body>
2013-12-07 19:45:00 +01:00
</html>