Current File : //home/tradevaly/public_html/resources/views/user/ayaan/master.blade.php
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">

<head>
    <meta charset="utf-8" />
    <title> @yield('title') |B2B Listing Admin</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta content="Tradevaly Best Business Two Business Platform" name="description" />
    <meta content="ayaantec" name="author" />
    <!-- App favicon -->
    <link rel="shortcut icon" href="{{asset('storage/images/admin/logo/'.$logo->image)}}">
    <link rel="stylesheet" href="//cdn.bootcss.com/toastr.js/latest/css/toastr.min.css">
    
    @include('user.ayaan.head-css')
    
    <link href="{{asset('assets/backend/css/extra.css')}}" rel="stylesheet"/>
    @stack('style')
    <style>
        .imageThumb {
  max-height: 100px;
  display: inline-block;
    margin-bottom: 5px;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
    padding: 4px;
    line-height: 1.42857;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    
}
.pip {
  display: inline-block;
    margin-bottom: 9px;
}
.remove {
  display: block;
  background: #444;
  border: 1px solid black;
  color: white;
  text-align: center;
  cursor: pointer;
}
.remove:hover {
  background: white;
  color: black;
}
    </style>
</head>

@section('body')
    <body data-sidebar="dark">
@show
    <!-- Begin page -->
    <div id="layout-wrapper">
        @include('user.ayaan.topbar')
        @include('user.ayaan.sidebar')
        <!-- ============================================================== -->
        <!-- Start right Content here -->
        <!-- ============================================================== -->
        <div class="main-content">
            <div class="page-content">
                <div class="container-fluid">
                    @yield('content')
                </div>
                <!-- container-fluid -->
            </div>
            <!-- End Page-content -->
            @include('user.ayaan.footer')
        </div>
        <!-- end main content-->
    </div>
    <!-- END layout-wrapper -->

    <!-- Right Sidebar -->
    @include('user.ayaan.right-sidebar')
    <!-- /Right-bar -->

    <!-- JAVASCRIPT -->
    @include('user.ayaan.vendor-scripts')
    @stack('script-lib')
    @stack('script')
    <script>
       $(document).ready(function() {
  if (window.File && window.FileList && window.FileReader) {
    $("#files").on("change", function(e) {
      var files = e.target.files,
        filesLength = files.length;
      
        var f = files[0]
        var fileReader = new FileReader();
        fileReader.onload = (function(e) {
          var file = e.target;
          $("<span class=\"pip\">" +
            "<img class=\"imageThumb\" src=\"" + e.target.result + "\" title=\"" + file.name + "\"/>" +
            "<br/><span class=\"remove\">Remove image</span>" +
            "</span>").insertAfter("#files");
          $(".remove").click(function(){
            $(this).parent(".pip").remove();
          });
          
          // Old code here
          /*$("<img></img>", {
            class: "imageThumb",
            src: e.target.result,
            title: file.name + " | Click to remove"
          }).insertAfter("#files").click(function(){$(this).remove();});*/
          
        });
        fileReader.readAsDataURL(f);
      
      console.log(files);
    });
  } else {
    alert("Your browser doesn't support to File API")
  }
});
    </script>
    <script type="text/javascript">
var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
(function(){
var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
s1.async=true;
s1.src='https://embed.tawk.to/62832d137b967b11798fb0fd/1g386g5s0';
s1.charset='UTF-8';
s1.setAttribute('crossorigin','*');
s0.parentNode.insertBefore(s1,s0);
})();
</script>
<script>
      
      $(document).ready(function() {
            var isshow = localStorage.getItem('isshow');
            if (isshow== null) {
                localStorage.setItem('isshow', 1);
        
                // Show popup here
                $('#exampleModalCenter').show();
            }
        });
    
</script>
<script type="text/javascript">$('.tawk__to__popup').on('click',function(e){javascript:void(Tawk_API.toggle());});</script>
     <script src="//cdn.bootcss.com/toastr.js/latest/js/toastr.min.js"></script>
        {!! Toastr::message() !!}
        <script>
    @foreach ($errors->all() as $error)
        toastr.error("{{ $error }}")
    @endforeach
</script>
</body>

</html>