2018-04-23 07:45:21 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
2018-08-01 06:28:10 +00:00
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2018-05-08 05:13:31 +00:00
|
|
|
<title>{{ config('app.name') }} - @yield('htmlheader_title', 'Your title here')</title>
|
2018-04-23 07:45:21 +00:00
|
|
|
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
|
|
|
<!-- CSRF Token -->
|
|
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
|
2019-02-08 12:42:58 +00:00
|
|
|
<link href="{{ asset('/css/app.css') }}" rel="stylesheet" type="text/css" />
|
|
|
|
|
|
|
|
<!-- Font Awesome Icons -->
|
|
|
|
<link rel="stylesheet" href="/plugin/font-awesome/css/font-awesome.min.css">
|
|
|
|
<!-- IonIcons -->
|
|
|
|
<link rel="stylesheet" href="//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
|
|
|
|
<!-- Theme style -->
|
|
|
|
<link rel="stylesheet" href="/css/adminlte.min.css">
|
|
|
|
<!-- Google Font: Source Sans Pro -->
|
|
|
|
<link href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
|
|
|
|
<!-- Printing Modifications -->
|
|
|
|
<link rel="stylesheet" href="/css/print.css">
|
2018-04-23 07:45:21 +00:00
|
|
|
|
|
|
|
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
|
|
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
|
|
|
<!--[if lt IE 9]>
|
2019-02-08 12:42:58 +00:00
|
|
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
|
|
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
2018-04-23 07:45:21 +00:00
|
|
|
<![endif]-->
|
|
|
|
|
|
|
|
<script>
|
|
|
|
//See https://laracasts.com/discuss/channels/vue/use-trans-in-vuejs
|
|
|
|
window.trans =
|
|
|
|
@php
|
2019-02-08 12:42:58 +00:00
|
|
|
// @todo Cache this processing
|
2018-04-23 07:45:21 +00:00
|
|
|
// copy all translations from /resources/lang/CURRENT_LOCALE/* to global JS variable
|
|
|
|
$lang_files = File::files(resource_path() . '/lang/' . App::getLocale());
|
|
|
|
$trans = [];
|
|
|
|
foreach ($lang_files as $f) {
|
|
|
|
$filename = pathinfo($f)['filename'];
|
|
|
|
$trans[$filename] = trans($filename);
|
|
|
|
}
|
|
|
|
$trans['adminlte_lang_message'] = trans('adminlte_lang::message');
|
|
|
|
echo json_encode($trans);
|
|
|
|
@endphp
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<!-- STYLESHEETS -->
|
|
|
|
{!! Asset::styles() !!}
|
2018-08-01 06:28:10 +00:00
|
|
|
</head>
|