%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/silvzytp/ccd-ind-code/resources/views/layouts/
Upload File :
Create Path :
Current File : //home/silvzytp/ccd-ind-code/resources/views/layouts/backend.blade.php

<!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">
    <title>@yield('title') - {{ env('APP_NAME') }}</title>
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <meta charset="UTF-8">
    <title>Pick Admin</title>
    <link rel="shortcut icon" href="{{ asset('assets') }}/images/favicon.ico" />
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <!-- START: Template CSS-->
    <link rel="stylesheet" href="{{ asset('assets') }}/vendors/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="{{ asset('assets') }}/vendors/jquery-ui/jquery-ui.min.css">
    <link rel="stylesheet" href="{{ asset('assets') }}/vendors/jquery-ui/jquery-ui.theme.min.css">
    <link rel="stylesheet" href="{{ asset('assets') }}/vendors/simple-line-icons/css/simple-line-icons.css">
    <link rel="stylesheet" href="{{ asset('assets') }}/vendors/flags-icon/css/flag-icon.min.css">
    <!-- END Template CSS-->
    <!-- START: Page CSS-->
    <link rel="stylesheet"  href="{{ asset('assets') }}/vendors/chartjs/Chart.min.css">
    <!-- END: Page CSS-->
    <!-- DataTables -->
    <link href="{{ asset('/') }}assets/vendors/bootstrap-datepicker/dist/css/bootstrap-datepicker3.min.css" rel="stylesheet" />
    <link href="https://cdn.datatables.net/1.11.3/css/dataTables.bootstrap4.min.css" rel="stylesheet">
    <link href="https://cdn.datatables.net/responsive/2.2.9/css/responsive.bootstrap4.min.css" rel="stylesheet">
    <!-- START: Page CSS-->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css">
    <link rel="stylesheet" href="{{ asset('assets') }}/vendors/morris/morris.css">
    <link rel="stylesheet" href="{{ asset('assets') }}/vendors/weather-icons/css/pe-icon-set-weather.min.css">
    <link rel="stylesheet" href="{{ asset('assets') }}/vendors/chartjs/Chart.min.css">
    <link rel="stylesheet" href="{{ asset('assets') }}/vendors/starrr/starrr.css">
    <link rel="stylesheet" href="{{ asset('assets') }}/vendors/fontawesome/css/all.min.css">
    <link rel="stylesheet" href="{{ asset('assets') }}/vendors/ionicons/css/ionicons.min.css">
    <link rel="stylesheet" href="{{ asset('assets') }}/vendors/jquery-jvectormap/jquery-jvectormap-2.0.3.css">
    <!-- END: Page CSS-->
    <!-- START: Custom CSS-->
    <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css" />
    <link rel="stylesheet" href="{{ asset('assets') }}/css/main.css">
    <link rel="stylesheet" href="{{ asset('assets') }}/css/custom.css">

    <style>
        .close:focus,
        button:focus{
            outline: 0 !important;
        }
        .dark-mode i{
            font-size: 15px !important;
        }

        ::-webkit-input-placeholder { /* Edge */
            font-size: 12px;
        }

        :-ms-input-placeholder { /* Internet Explorer 10-11 */
            font-size: 12px;
        }

        ::placeholder {
            font-size: 12px;
        }
        .table-responsive {
            display: block;
            width: 100%;
            overflow-x: auto;
            -ms-overflow-style: -ms-autohiding-scrollbar;
        }
        .country-flag {
            width: 18px;
            margin-right: 5px;
        }
        .modal-loader {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(255,255,255, 0.5);
            width: 100%;
            height: 100%;
            z-index: 9;
        }
        .modal-loader img{
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        .ui-checkbox.disabled, .ui-radio.disabled {
            opacity: .7;
            cursor: not-allowed;
        }
        .input-span.disabled {
            background-color: #e6e6e6;
            border-color: transparent;
        }
        #header-fix ul.dropdown-menu.show {
            max-height: 300px;
            overflow-y: scroll;
        }
    </style>
    @stack('styles')
</head>

<body id="main-container" class="default">

    <!-- START: Pre Loader-->
    <div class="se-pre-con">
        <div class="loader"></div>
    </div>
    <!-- END: Pre Loader-->

    <!-- START HEADER-->
    @include('layouts.include.header')
    <!-- END HEADER-->

    <!-- START SIDEBAR-->
    @include('layouts.include.sidebar')
    <!-- END SIDEBAR-->

    <!-- START: Main Content-->
    <main id="main">
        <div class="container-fluid site-width" style="min-height: 100vh;">
            @isset ($breadcrumb)
                <!-- BREADCRUMB -->
                @include('layouts.include.breadcrumb')
            @endisset

            @yield('content')
        </div>
    </main>

    <!-- END PAGE CONTENT-->
    @include('layouts.include.footer')

    <!-- MODAL -->
    @include('backend.modal.alert')
    @include('backend.modal.deletable')
    @include('backend.modal.support')


    <a href="#" class="scrollup text-center">
        <i class="icon-arrow-up"></i>
    </a>

    <!-- START: Template JS-->
    <script src="{{ asset('assets/') }}/vendors/jquery/jquery-3.3.1.min.js"></script>
    <script src="{{ asset('assets/') }}/vendors/jquery-ui/jquery-ui.min.js"></script>
    <script src="{{ asset('assets/') }}/vendors/moment/moment.js"></script>
    <script src="{{ asset('assets/') }}/vendors/bootstrap/js/bootstrap.bundle.min.js"></script>
    <script src="{{ asset('assets/') }}/vendors/slimscroll/jquery.slimscroll.min.js"></script>
    <!-- END: Template JS-->

    <!-- START: APP JS-->
    <script src="{{ asset('assets/') }}/js/app.js"></script>
    <!-- END: APP JS-->

    <!-- START: Page Vendor JS-->
    <script src="{{ asset('assets/') }}/vendors/raphael/raphael.min.js"></script>
    <script src="{{ asset('assets/') }}/vendors/morris/morris.min.js"></script>
    <script src="{{ asset('assets/') }}/vendors/chartjs/Chart.min.js"></script>
    <script src="{{ asset('assets/') }}/vendors/starrr/starrr.js"></script>
    <script src="{{ asset('assets/') }}/vendors/jquery-flot/jquery.canvaswrapper.js"></script>
    <script src="{{ asset('assets/') }}/vendors/jquery-flot/jquery.colorhelpers.js"></script>
    <script src="{{ asset('assets/') }}/vendors/jquery-flot/jquery.flot.js"></script>
    <script src="{{ asset('assets/') }}/vendors/jquery-flot/jquery.flot.saturated.js"></script>
    <script src="{{ asset('assets/') }}/vendors/jquery-flot/jquery.flot.browser.js"></script>
    <script src="{{ asset('assets/') }}/vendors/jquery-flot/jquery.flot.drawSeries.js"></script>
    <script src="{{ asset('assets/') }}/vendors/jquery-flot/jquery.flot.uiConstants.js"></script>
    <script src="{{ asset('assets/') }}/vendors/jquery-flot/jquery.flot.legend.js"></script>
    <script src="{{ asset('assets/') }}/vendors/jquery-flot/jquery.flot.pie.js"></script>
    <script src="{{ asset('assets/') }}/vendors/chartjs/Chart.min.js"></script>
    <script src="{{ asset('assets/') }}/vendors/jquery-jvectormap/jquery-jvectormap-2.0.3.min.js"></script>
    <script src="{{ asset('assets/') }}/vendors/jquery-jvectormap/jquery-jvectormap-world-mill.js"></script>
    <script src="{{ asset('assets/') }}/vendors/jquery-jvectormap/jquery-jvectormap-de-merc.js"></script>
    <script src="{{ asset('assets/') }}/vendors/jquery-jvectormap/jquery-jvectormap-us-aea.js"></script>
    <script src="{{ asset('assets/') }}/vendors/apexcharts/apexcharts.min.js"></script>
    <!-- END: Page Vendor JS-->
    <!-- START: Page JS-->
    <script src="{{ asset('assets/') }}/js/home.script.js"></script>
    <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.min.js"></script>
    <!-- END: Page JS-->

    <!-- PAGE LEVEL PLUGINS-->
    <script src="{{ asset('/') }}assets/vendors/moment/min/moment.min.js" type="text/javascript"></script>
    <script src="{{ asset('/') }}assets/vendors/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js" type="text/javascript"></script>
    <!-- TOASTR JS -->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>
    {{-- Datatables --}}
    <script src="https://cdn.datatables.net/1.11.3/js/jquery.dataTables.min.js"></script>
    <script src="https://cdn.datatables.net/1.11.3/js/dataTables.bootstrap4.min.js"></script>
    <script src="https://cdn.datatables.net/responsive/2.2.9/js/dataTables.responsive.min.js"></script>
    <script src="https://cdn.datatables.net/buttons/2.2.3/js/dataTables.buttons.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/pdfmake.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/vfs_fonts.js"></script>
    <script src="https://cdn.datatables.net/buttons/2.2.3/js/buttons.html5.min.js"></script>
    <script src="https://cdn.datatables.net/buttons/2.2.3/js/buttons.print.min.js"></script>
    <script src="https://cdn.datatables.net/buttons/2.2.3/js/buttons.colVis.min.js"></script>

    <script src="{{ asset('assets/js/apexchart.js') }}"></script>
    <script src="{{ asset('assets/js/alert.js') }}"></script>
    <script src="{{ asset('assets/js/main.js') }}"></script>
    <script>

        // ajax header setup
        $.ajaxSetup({
            headers: {
                'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
            }
        });

        // token
        var _token = "{{ csrf_token() }}";

        var table;

        // toastr alert message
        function flashMessage(status, message){
            toastr.options = {
                "closeButton": false,
                "debug": false,
                "newestOnTop": false,
                "progressBar": true,
                "positionClass": "toast-top-right",
                "preventDuplicates": false,
                "onclick": null,
                "showDuration": "300",
                "hideDuration": "2000",
                "timeOut": "6000",
                "extendedTimeOut": "2000",
                "showEasing": "swing",
                "hideEasing": "linear",
                "showMethod": "fadeIn",
                "hideMethod": "fadeOut"
            }

            switch (status) {
                case 'success':
                toastr.success(message);
                break;

                case 'error':
                toastr.error(message);
                break;

                case 'warning':
                toastr.warning(message);
                break;

                case 'info':
                toastr.info(message);
                break;
            }
        }

        // form submit
        $(document).on('click','button.submit-form-btn', function(){
            document.getElementById("form").submit();
        });

        // session flash message
        @if (Session::get('success'))
            flashMessage('success',"{{ Session::get('success') }}")
        @elseif (Session::get('error'))
            flashMessage('error',"{{ Session::get('error') }}")
        @elseif (Session::get('info'))
            flashMessage('info',"{{ Session::get('info') }}")
        @elseif (Session::get('warning'))
            flashMessage('warning',"{{ Session::get('warning') }}")
        @endif

        $(document).on('click', 'button.support-btn', function(){
            $('form#support-form')[0].reset();
            $('form#support-form').find('.error-msg').remove();
            $('#support-modal').modal({
                keyboard: false,
                backdrop: 'static'
            });
        });

        $(document).on('submit','form#support-form', function(e){
            e.preventDefault();
            $.ajax({
                type: "POST",
                url: "{{ route(routeName().'.support.message') }}",
                data: new FormData(this),
                dataType: "JSON",
                processData: false,
                contentType: false,
                beforeSend: function(){
                    $('span#btn-loader').removeClass('d-none');
                },
                complete: function(){
                    $('span#btn-loader').addClass('d-none');
                },
                success: function (response) {
                    $('form#support-form').find('.error-msg').remove();
                    if (response.status == false) {
                        $.each(response.errors,function(key,value){
                            $('form#support-form #'+key).parent().append('<span class="text-danger error-msg">'+value+'</span>');
                        });
                    }else{
                        flashMessage(response.status,response.message);
                        $('#support-modal').modal('hide');
                    }
                },
                error: function(xhr){
                    console.log(xhr.statusText +'-'+ xhr.responseText);
                }
            });
        });

    </script>
    @stack('scripts')
</body>

</html>

Zerion Mini Shell 1.0