bahar01

master

Sep 24th, 2021
1,196
8 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.   <title update-title>@yield("title")</title>
  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 name="csrf-token" content="{{ csrf_token() }}">
  9.   <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  10.  
  11.   <!--favicon -->
  12.   <link rel="apple-touch-icon" sizes="57x57" href="/img/favicon/apple-icon-57x57.png">
  13.   <link rel="apple-touch-icon" sizes="60x60" href="/img/favicon/apple-icon-60x60.png">
  14.   <link rel="apple-touch-icon" sizes="72x72" href="/img/favicon/apple-icon-72x72.png">
  15.   <link rel="apple-touch-icon" sizes="76x76" href="/img/favicon/apple-icon-76x76.png">
  16.   <link rel="apple-touch-icon" sizes="114x114" href="/img/favicon/apple-icon-114x114.png">
  17.   <link rel="apple-touch-icon" sizes="120x120" href="/img/favicon/apple-icon-120x120.png">
  18.   <link rel="apple-touch-icon" sizes="144x144" href="/img/favicon/apple-icon-144x144.png">
  19.   <link rel="apple-touch-icon" sizes="152x152" href="/img/favicon/apple-icon-152x152.png">
  20.   <link rel="apple-touch-icon" sizes="180x180" href="/img/favicon/apple-icon-180x180.png">
  21.   <link rel="icon" type="image/png" sizes="192x192"  href="/img/favicon/android-icon-192x192.png">
  22.   <link rel="icon" type="image/png" sizes="32x32" href="/img/favicon/favicon-32x32.png">
  23.   <link rel="icon" type="image/png" sizes="96x96" href="/img/favicon/favicon-96x96.png">
  24.   <link rel="icon" type="image/png" sizes="16x16" href="/img/favicon/favicon-16x16.png">
  25.   <link rel="manifest" href="/img/favicon/manifest.json">
  26.   <meta name="msapplication-TileColor" content="#ffffff">
  27.   <meta name="msapplication-TileImage" content="/img/favicon/ms-icon-144x144.png">
  28.   <meta name="theme-color" content="#ffffff">
  29.  
  30.  
  31.   <!-- Bootstrap 3.3.7 -->
  32.   <link rel="stylesheet" href="{{ URL::asset('admin-lte') }}/bower_components/bootstrap/dist/css/bootstrap.min.css">
  33.   <!-- Font Awesome -->
  34.   <link rel="stylesheet" href="{{ URL::asset('admin-lte') }}/bower_components/font-awesome/css/font-awesome.min.css">
  35.   <!-- Ionicons -->
  36.   <link rel="stylesheet" href="{{ URL::asset('admin-lte') }}/bower_components/Ionicons/css/ionicons.min.css">
  37.   <!-- DataTables -->
  38.   <link rel="stylesheet" href="{{ URL::asset('admin-lte') }}/bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css">
  39.   <!-- Theme style -->
  40.   <link rel="stylesheet" href="{{ URL::asset('admin-lte') }}/dist/css/AdminLTE.min.css">
  41.   <!-- AdminLTE Skins. Choose a skin from the css/skins
  42.       folder instead of downloading all of them to reduce the load. -->
  43.   <link rel="stylesheet" href="{{ URL::asset('admin-lte') }}/dist/css/skins/_all-skins.min.css">
  44.  
  45.   <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
  46.   <link rel="stylesheet" href="{{ URL::asset('/assets/css/loading-bar.min.css') }}" type="text/css" media="all" />
  47.  
  48.   <link rel="stylesheet" href="/css/custom.css?nocache={{ CURRENT_MICROTIME }}">
  49.   <link rel="stylesheet" href="/assets/css/select.min.css">
  50.  
  51.   <!-- jQuery 3 -->
  52.   <script src="{{ URL::asset('admin-lte') }}/bower_components/jquery/dist/jquery.min.js"></script>
  53.   <!-- Bootstrap 3.3.7 -->
  54.   <script src="{{ URL::asset('admin-lte') }}/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
  55.   <!-- SlimScroll -->
  56.   <script src="{{ URL::asset('admin-lte') }}/bower_components/jquery-slimscroll/jquery.slimscroll.min.js"></script>
  57.   <!-- FastClick -->
  58.   <script src="{{ URL::asset('admin-lte') }}/bower_components/fastclick/lib/fastclick.js"></script>
  59.   <!-- AdminLTE App -->
  60.   <script src="{{ URL::asset('admin-lte') }}/dist/js/adminlte.min.js"></script>
  61.   <!-- AdminLTE for demo purposes -->
  62.   <script src="{{ URL::asset('admin-lte') }}/dist/js/demo.js"></script>
  63.   <!-- page script -->
  64.   <script src="{{ URL::asset('/js/moment.min.js') }}"></script>
  65.   <script src="{{ URL::asset('/js/panel.js') }}"></script>
  66.  
  67.  
  68.   <!-- Angular -->
  69.   <script src="{{ URL::asset('/assets/js/angular.min.js') }}"></script>
  70.  
  71.   <script src="{{ URL::asset('/assets/js/angular-ui-router.min.js') }}"></script>
  72.   <script src="{{ URL::asset('/assets/js/angular-tablesort.js') }}"></script>
  73.   <script src="{{ URL::asset('/assets/js/sweetalert.min.js') }}"></script>
  74.   <script src="{{ URL::asset('/assets/js/helper.js') }}"></script>  
  75.   <script src="{{ URL::asset('/assets/js/angular-locale_id-id.js') }}"></script>
  76.   <script src="{{ URL::asset('/assets/js/angular-ui-bootstrap-tpls.min.js') }}"></script>
  77.   <script src="{{ URL::asset('/assets/js/loading-bar.min.js') }}"></script>
  78.   <script src="{{ URL::asset('/assets/js/angular-leaf.js?nocache='.CURRENT_MICROTIME) }}"></script>  
  79.   <script src="{{ URL::asset('/assets/js/select.min.js') }}"></script>
  80.   <script src="{{ URL::asset('/assets/js/angular-sanitize.js') }}"></script>
  81.   <script src="{{ URL::asset('/assets/js/dynamic-number.min.js') }}"></script>
  82.   <script src="{{ URL::asset('/assets/js/ng-file-upload.shim.js')}}"></script> 
  83.   <script src="{{ URL::asset('/assets/js/ng-file-upload.js')}}"></script>  
  84.   <script src="{{ URL::asset('/assets/js/angular.dcb-img-fallback.min.js')}}"></script>
  85.  
  86.  
  87.   <script src="{{ URL::asset('/js/lodash.min.js') }}"></script>
  88.   <script src="{{ URL::asset('/js/shortcut.js') }}"></script>
  89.   <script src="{{ URL::asset('/js/checklist-model.js') }}"></script>
  90.  
  91.   <script src="{{ URL::asset('/js/angular-server-validation.js') }}"></script>
  92.  
  93.   <script src="{{ URL::asset('/sts/webtoko/util/util.js') }}"></script>
  94.   <script src="{{ URL::asset('/sts/webtoko/util/commonConstant.js') }}"></script>
  95.   <script src="{{ URL::asset('/sts/webtoko/util/apiConstant.js') }}"></script>
  96.   {{-- <script src="{{ URL::asset('/sts/webtoko/util/posApiConstant.js') }}"></script> --}}
  97.   <script src="{{ URL::asset('/sts/webtoko/util/purchaseApiConstant.js') }}"></script>
  98.   <script src="{{ URL::asset('/sts/webtoko/util/goodsReceiptApiConstant.js') }}"></script>
  99.   <script src="{{ URL::asset('/sts/webtoko/util/adjStockApiConstant.js') }}"></script>
  100.   <script src="{{ URL::asset('/sts/webtoko/util/restService.js') }}"></script>
  101.   <script src="{{ URL::asset('/sts/webtoko/util/common.js') }}"></script>
  102.   <script src="{{ URL::asset('/sts/webtoko/util/validationUtil.js') }}"></script>  
  103.  
  104.   {{-- util--}}
  105.   <script src="{{ URL::asset('/sts/webtoko/menu/menuModule.js') }}"></script>
  106.  
  107.   <!-- include summernote css/js -->
  108.   <link href="http://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote.css" rel="stylesheet">
  109. <script src="http://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote.js"></script>
  110. <script src="{{URL::asset('js/plugins/summernote1/angular-summernote.js')}}"></script>
  111.  
  112.  
  113.   <!-- OVERRIDE CSS CLASS FOR NOTIFICATIONS DROPDOWN-->
  114.   <style>
  115.       .navbar-nav > .notifications-menu > .dropdown-menu{
  116.         width: 435px;
  117.       }
  118.  
  119.       .notification-time {
  120.           margin-left: 18px;
  121.           color: #8a6d3b;
  122.       }
  123.  
  124.       .notification-grid{
  125.           padding: 20px;
  126.           border-bottom: 1px solid #f0f0f0;
  127.       }
  128.    
  129.       .notification-grid:hover{
  130.           background:#daebe8;
  131.       }
  132.       .row{
  133.           margin-bottom: 15px !important;
  134.       }
  135.       .hide-all{
  136.         display:none !important;
  137.       }
  138.   </style>
  139.   @yield("script")
  140.   <script>
  141.  
  142.  
  143.     $(function(){
  144.  
  145.       var url = window.location.pathname,
  146.               urlRegExp = new RegExp(url.replace(/\/$/,'') + "$"); // create regexp to match current url pathname and remove trailing slash if present as it could collide with the link in navigation in case trailing slash wasn't present there
  147.  
  148.       $('.sidebar-menu a').each(function(){
  149.  
  150.         if(urlRegExp.test(this.href.replace(/\/$/,''))){
  151.             $(this).parents("li").addClass('active');
  152.             $(this).closest('li').addClass('active');
  153.         }
  154.       });
  155.  
  156.     });
  157.  
  158.     $(function(){
  159.         var dvMenu = document.getElementById('sidebar');
  160.         angular.element(document).ready(function() {
  161.           angular.bootstrap(dvMenu, ['menuModule']);
  162.         });    
  163.  
  164.         var currentUrl = window.location.pathname+window.location.hash;
  165.        
  166.         if(currentUrl == '/pos-product#!/add' || currentUrl.substr(0, 19) == '/pos-product#!/add/' || currentUrl == '/pos-treatment#!/add' || currentUrl.substr(0, 21) == '/pos-treatment#!/add/' || currentUrl.substr(0, 29) == '/pos-correction#!/correction/' || currentUrl.substr(0, 14) == '/pos#!/detail/'){
  167.           $('body').addClass('layout-top-nav');
  168.           $('section').removeClass('content');
  169.           $('header').hide();
  170.           $('aside').hide();
  171.           $('footer').hide();
  172.         }else{
  173.           $('body').addClass('sidebar-mini')
  174.           $('header').show();
  175.           $('aside').show();
  176.         }        
  177.  
  178.     });
  179.   </script>
  180.  
  181.   <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  182.   <!-- WARNING: Respond.js doesnt work if you view the page via file:// -->
  183.   <!--[if lt IE 9]>
  184.  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  185.  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  186.  
  187.  
  188.  <![endif]-->
  189.  
  190.   <!-- Google Font -->
  191. </head>
  192. <body class="hold-transition skin-blue ">
  193. <div class="wrapper">
  194.  
  195.   <header class="main-header">
  196.     @include("webtoko::layout/header")
  197.   </header>
  198.   <!-- Left side column. contains the logo and sidebar -->
  199.   <aside class="main-sidebar">
  200.     <!-- include("webtoko::layout/sidebar") -->
  201.     @include("Common::layout.menu")
  202.   </aside>
  203.   <!-- Content Wrapper. Contains page content -->
  204.   <div class="content-wrapper">          
  205.     <!-- Content Header (Page header) -->
  206.     {{--  <section class="content-header">
  207.       <h1>
  208.         @yield('page-title')
  209.       </h1>
  210.       <ol class="breadcrumb">
  211.         <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
  212.         @include("webtoko::layout/breadcrumb")
  213.       </ol>
  214.     </section>  --}}
  215.  
  216.     <!-- Main content -->
  217.     <section class="content">
  218.       @yield("content")
  219.     </section>
  220.     <!-- /.content -->
  221.   </div>
  222.   <!-- /.content-wrapper -->    
  223.     <footer class="main-footer">
  224.       <div class="pull-right hidden-xs">
  225.           <b>Version</b> 1.0.0
  226.         </div>
  227.         <strong>Copyright &copy; PT SOLUSI TEKNOLOGI SEJATI 2018</strong>
  228.     </footer>    
  229.  
  230.   {{--  <!-- Control Sidebar -->
  231.   <aside class="control-sidebar control-sidebar-dark">
  232.     @include("webtoko::layout/right-sidebar")
  233.   </aside>
  234.   <!-- /.control-sidebar -->
  235.   <!-- Add the sidebars background. This div must be placed
  236.       immediately after the control sidebar -->
  237.   <div class="control-sidebar-bg"></div>  --}}
  238. </div>
  239. <!-- ./wrapper -->
  240.  
  241. <!-- Modal -->
  242. <div class="modal fade" id="myMdl" role="dialog">
  243.   <div class="modal-dialog">
  244.     <!-- Modal content-->
  245.     <div class="modal-content">
  246.       <div class="modal-header">
  247.         <button type="button" class="close" data-dismiss="modal">&times;</button>
  248.         <h4 class="modal-title">Ganti Role</h4>
  249.       </div>
  250.       <div class="modal-body">
  251.  
  252.           <form action="{{URL::to('admin/gantirole')}}" method="post" id="formChangeRole">
  253.               <input type="hidden" name="u_id" value="{{ \Sts\PleafCore\SessionUtil::getUserLoginId() }}" />
  254.  
  255.               <div class="row">
  256.                   <div class="col-lg-8">
  257.                       <label>{!! 'Pilih Role' !!}</label>
  258.                       <select class="form-control" name="u_role">
  259.                           @if(Session::get("setCurrentRole")!=null)
  260.                             @foreach(Session::get("setCurrentRole") as $value)
  261.                                 @if($value["role_id"] == \Sts\PleafCore\SessionUtil::getRoleLoginId())
  262.                                     <option value="{{ $value["role_id"] }}" selected>{{ $value["role_name"] }}</option>
  263.                                 @else
  264.                                     <option value="{{ $value["role_id"] }}">{{ $value["role_name"] }}</option>
  265.                                 @endif
  266.                             @endforeach
  267.                           @endif
  268.                       </select>
  269.                   </div>
  270.             </div>
  271.           </form>
  272.  
  273.           </div>
  274.       <div class="modal-footer">
  275.         <button type="submit" form="formChangeRole" class="btn btn-primary">Save</button>
  276.         <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  277.       </div>
  278.     </div>
  279.  
  280.   </div>
  281. </div>
  282.  
  283. @if(config("pleaf_config.enable_notification"))
  284.     <script src="{{config('pleaf_config.url_notification_center')}}/socket.io/socket.io.js"></script>
  285.     <script>
  286.       window.Laravel = {
  287.         urlNotificationCenter: "{{config('pleaf_config.url_notification_center')}}"
  288.       };
  289.     </script>
  290.     <script src="{{ URL::asset('/sts/webtoko/notification/js/notificationModule.js') }}"></script>
  291. @endif
  292. @yield("end-body")
  293. </body>
  294. </html>
  295.  
RAW Paste Data