fadlyshafa

Untitled

Nov 23rd, 2020
71
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="{{ app()->getLocale() }}">
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <!-- Tell the browser to be responsive to screen width -->
  8. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  9.  
  10. <!-- CSRF Token -->
  11. <meta name="csrf-token" content="{{ csrf_token() }}">
  12.  
  13. <title>@yield('title') - {{ config('app.name', 'POS') }}</title>
  14.  
  15. @include('layouts.partials.css')
  16.  
  17. <!--[if lt IE 9]>
  18. <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  19. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  20. <![endif]-->
  21. </head>
  22.  
  23. <body>
  24. @inject('request', 'Illuminate\Http\Request')
  25. @if (session('status'))
  26. <input type="hidden" id="status_span" data-status="{{ session('status.success') }}" data-msg="{{ session('status.msg') }}">
  27. @endif
  28. <div class="container-fluid">
  29. <div class="row eq-height-row">
  30. <div class="col-md-5 col-sm-5 hidden-xs left-col eq-height-col" >
  31. <div class="left-col-content login-header">
  32. <div style="margin-top: 50%;">
  33. <a href="/">
  34. <!-- Sintasi POS -->
  35. @if(file_exists(public_path('uploads/logo.png')))
  36. <img src="/uploads/logo.png" class="img-rounded" alt="Logo" width="150">
  37. @else
  38. <!-- {{ config('app.name', 'Premium POS') }} -->
  39. Sintasi POS
  40. @endif
  41. </a>
  42. <br/>
  43. @if(!empty(config('constants.app_title')))
  44. <!-- <small>{{config('constants.app_title')}}</small> -->
  45. Sintasi POS
  46. @endif
  47. </div>
  48. </div>
  49. </div>
  50. <div class="col-md-7 col-sm-7 col-xs-12 right-col eq-height-col">
  51. <div class="row">
  52. <div class="col-md-3 col-xs-4" style="text-align: left;">
  53. <select class="form-control input-sm" id="change_lang" style="margin: 10px;">
  54. @foreach(config('constants.langs') as $key => $val)
  55. <option value="{{$key}}"
  56. @if( (empty(request()->lang) && config('app.locale') == $key)
  57. || request()->lang == $key)
  58. selected
  59. @endif
  60. >
  61. {{$val['full_name']}}
  62. </option>
  63. @endforeach
  64. </select>
  65. </div>
  66. <div class="col-md-9 col-xs-8" style="text-align: right;padding-top: 10px;">
  67. @if(!($request->segment(1) == 'business' && $request->segment(2) == 'register'))
  68. <!-- Register Url >
  69. @if(config('constants.allow_registration'))
  70. <a href="{{ route('business.getRegister') }}@if(!empty(request()->lang)){{'?lang=' . request()->lang}} @endif" class="btn bg-maroon btn-flat" ><b>{{ __('business.not_yet_registered')}}</b> {{ __('business.register_now') }}</a-->
  71. <!-- pricing url -->
  72. @if(Route::has('pricing') && config('app.env') != 'demo' && $request->segment(1) != 'pricing')
  73. &nbsp; <a href="{{ action('\Modules\Superadmin\Http\Controllers\PricingController@index') }}">@lang('superadmin::lang.pricing')</a>
  74. @endif
  75. @endif
  76. @endif
  77. @if($request->segment(1) != 'login')
  78. &nbsp; &nbsp;<span class="text-white">{{ __('business.already_registered')}} </span><a href="{{ action('Auth\LoginController@login') }}@if(!empty(request()->lang)){{'?lang=' . request()->lang}} @endif">{{ __('business.sign_in') }}</a>
  79. @endif
  80. </div>
  81.  
  82. @yield('content')
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87.  
  88.  
  89. @include('layouts.partials.javascripts')
  90.  
  91. <!-- Scripts -->
  92. <script src="{{ asset('js/login.js?v=' . $asset_v) }}"></script>
  93.  
  94. @yield('javascript')
  95.  
  96. <script type="text/javascript">
  97. $(document).ready(function(){
  98. $('.select2_register').select2();
  99.  
  100. $('input').iCheck({
  101. checkboxClass: 'icheckbox_square-blue',
  102. radioClass: 'iradio_square-blue',
  103. increaseArea: '20%' // optional
  104. });
  105. });
  106. </script>
  107. </body>
  108.  
  109. </html>
RAW Paste Data