title = "seller/Products"
url = "/seller/products"
meta_title = "Harytlar"
layout = "seller-master"
==

<div>
    <h2 class="intro-y text-lg font-medium mt-10">
        {{'products.title'|_}}
    </h2>

    <div class="grid grid-cols-12 gap-6 mt-5"  id="products_seller">
        <div class="intro-y col-span-12 flex flex-wrap sm:flex-nowrap items-center mt-2">
            <a href="/seller/product/add" class="btn btn-primary shadow-md mr-2">{{'add.prod.title'|_}}</a>

            <div class="w-full sm:w-auto mt-3 sm:mt-0 sm:ml-auto md:ml-0">
                <div class="w-56 relative text-slate-500">
                    <input type="text" class="form-control w-56 box pr-10" placeholder="Search...">
                    <i class="w-4 h-4 absolute my-auto inset-y-0 mr-3 right-0" data-lucide="search"></i>
                </div>
            </div>
        </div>
        <!-- BEGIN: Users Layout -->
        {% partial "seller/loader" loader_id="loader_seller" %}
        <!-- END: Users Layout -->
    </div>
</div>


{% partial "sellerApi/getProducts" id="seller" limit="12" %}

<div class="grid grid-cols-12 gap-6 mt-5">
    <!-- BEGIN: Pagination -->
    <div class="intro-y col-span-12 flex flex-wrap sm:flex-row sm:flex-nowrap items-center">
        <nav class="w-full sm:w-auto sm:mr-auto">
            <ul class="pagination" id="pagination_numbers">
            </ul>
        </nav>
    </div>
    <!-- END: Pagination -->
</div>
