43 lines
1.2 KiB
PHP
43 lines
1.2 KiB
PHP
<!DOCTYPE html>
|
|
@php
|
|
$rtl_locales = ['ar', 'fa', 'he', 'ps', 'ur'];
|
|
$current_locale = app()->getLocale();
|
|
$is_rtl = in_array($current_locale, $rtl_locales);
|
|
@endphp
|
|
<html lang="{{ $current_locale }}" dir="{{ $is_rtl ? 'rtl' : 'ltr' }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{{ __('manufacturing::lang.manufacturing_module') }}</title>
|
|
|
|
@if($is_rtl)
|
|
<style>
|
|
body {
|
|
direction: rtl;
|
|
text-align: right;
|
|
}
|
|
.navbar-nav > li {
|
|
float: right;
|
|
}
|
|
.navbar-brand {
|
|
float: right;
|
|
}
|
|
.navbar-toggle {
|
|
float: left;
|
|
}
|
|
</style>
|
|
@endif
|
|
|
|
{{-- Laravel Mix - CSS File --}}
|
|
{{-- <link rel="stylesheet" href="{{ mix('css/manufacturing.css') }}"> --}}
|
|
|
|
</head>
|
|
<body>
|
|
@yield('content')
|
|
|
|
{{-- Laravel Mix - JS File --}}
|
|
{{-- <script src="{{ mix('js/manufacturing.js') }}"></script> --}}
|
|
</body>
|
|
</html>
|