    <div class="content-wrapper">
        <div class="row">
            <div class="col-lg-12 grid-margin stretch-card">
                <div class="card">
                    <form action="#" id="filter-form">
                        <div class="card-header" >
                            <div style="display:flex; align-items:end; justify-content: space-between;">
                                <div>
                                    <a class="btn btn-success" id="btn-create-lead" href="{{ route('products.create') }}"> New </a>
                                </div>
                                <div class="d-flex flex-end" style="width:140px;justify-content:space-around;align-items:center;">
                                    <button type="button" class="btn btn-outline-light btn-sm" onclick="showGrid(this)">
                                        Grid
                                    </button>
                                    <button type="button" class="btn btn-outline-light btn-sm btn-active" onclick="showList(this)">
                                        List
                                    </button>
                                </div>
                            </div>
                        </div>
                    </form>
                    <div class="card-body">
                        <div class="table-responsive">
                        <table class="table table-hover">
                                <thead class="cols-here">
                                </thead>
                                <tbody id="products">
                                    <tr>
                                        <td colspan="8" class="text-center">
                                            <h3><i class="fa fa-spin fa-spinner"></i> </h3> <p class="text-secondary">Loading </p>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                            <table class="table grid-view">
                                <thead>
                                    <tr class="d-none">
                                        <th>Grid 1</th>
                                        <th>Grid 2</th>
                                        <th>Grid 3</th>
                                    </tr>
                                </thead>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
