@extends('layouts.admin')
@section('content')

<!-- start page title -->
<!-- start page title -->
<div class="row">
    <div class="col-12">
        <div class="page-title-box d-sm-flex align-items-center justify-content-between bg-galaxy-transparent">
            <h4 class="mb-sm-0">User Chat</h4>

            <div class="page-title-right">
                <ol class="breadcrumb m-0">
                    <li class="breadcrumb-item"><a href="javascript: void(0);">Chat</a></li>
                    <li class="breadcrumb-item active">User Chat</li>
                </ol>
            </div>
        </div>
    </div>
</div>
<!-- end page title -->

<div class="row">
    <div class="col-lg-12">
        <div class="card" id="orderList">
            <div class="card-header border-0">
                <div class="row align-items-center gy-3">
                    <div class="col-sm">
                        <h5 class="card-title mb-0">User Chat</h5>
                    </div>
                </div>
            </div>
            <div class="card-body">
                <div class="table-responsive">
                    <table id="UserReportTable" class="table table-bordered nowrap align-middle" style="width: 100%;">
                        <thead class="">
                            <tr class="text-uppercase">
                                <th>Sl No</th>
                                <th>Person Chatted With</th>
                                <th>Profile Picture</th>
                                <th>Mobile Number</th>
                                <th>Message Count</th>
                                <th>View Chat</th>
                            </tr>
                        </thead>
                        <tbody class="list form-check-all">
                            <tr>
                                <td>1</td>
                                <td>John Doe</td>
                                <td><img class="rounded-circle avatar-xs" src="https://cdn.pixabay.com/photo/2015/10/05/22/37/blank-profile-picture-973460_640.png"></td>
                                <td>+971-98765432</td></td>
                                <td>08 messages</td>
                                <td><a href="{{ route('admin.users.chat') }}"><i class="ri-eye-line me-1"></i> View</a></td>
                            </tr>
                            <tr>
                                <td>2</td>
                                <td>Sam Doe</td>
                                <td><img class="rounded-circle avatar-xs" src="https://cdn.pixabay.com/photo/2015/10/05/22/37/blank-profile-picture-973460_640.png"></td>
                                <td>+971-23456789</td></td>
                                <td>12 messages</td>
                                <td><a href="{{ route('admin.users.chat') }}"><i class="ri-eye-line me-1"></i> View</a></td>
                            </tr>
                            <!--<tr>-->
                            <!--    <td>3</td>-->
                            <!--    <td>John Doe</td>-->
                            <!--    <td><img class="rounded-circle avatar-xs" src="https://cdn.pixabay.com/photo/2015/10/05/22/37/blank-profile-picture-973460_640.png"></td>-->
                            <!--    <td>+971-xxxx-xxxxxxx</td></td>-->
                            <!--    <td>12 messages</td>-->
                            <!--    <td><a href="{{ route('admin.users.chat') }}"><i class='bx bx-search mr-2'></i> View</a></td>-->
                            <!--</tr>-->
                            <!--<tr>-->
                            <!--    <td>4</td>-->
                            <!--    <td>John Doe</td>-->
                            <!--    <td><img class="rounded-circle avatar-xs" src="https://cdn.pixabay.com/photo/2015/10/05/22/37/blank-profile-picture-973460_640.png"></td>-->
                            <!--    <td>+971-xxxx-xxxxxxx</td></td>-->
                            <!--    <td>12 messages</td>-->
                            <!--    <td><a href="{{ route('admin.users.chat') }}"><i class='bx bx-search mr-2'></i> View</a></td>-->
                            <!--</tr>-->
                            <!--<tr>-->
                            <!--    <td>5</td>-->
                            <!--    <td>John Doe</td>-->
                            <!--    <td><img class="rounded-circle avatar-xs" src="https://cdn.pixabay.com/photo/2015/10/05/22/37/blank-profile-picture-973460_640.png"></td>-->
                            <!--    <td>+971-xxxx-xxxxxxx</td></td>-->
                            <!--    <td>12 messages</td>-->
                            <!--    <td><a href="{{ route('admin.users.chat') }}"><i class='bx bx-search mr-2'></i> View</a></td>-->
                            <!--</tr>-->
                            <!--<tr>-->
                            <!--    <td>6</td>-->
                            <!--    <td>John Doe</td>-->
                            <!--    <td><img class="rounded-circle avatar-xs" src="https://cdn.pixabay.com/photo/2015/10/05/22/37/blank-profile-picture-973460_640.png"></td>-->
                            <!--    <td>+971-xxxx-xxxxxxx</td></td>-->
                            <!--    <td>12 messages</td>-->
                            <!--    <td><a href="{{ route('admin.users.chat') }}"><i class='bx bx-search mr-2'></i> View</a></td>-->
                            <!--</tr>-->
                            <!--<tr>-->
                            <!--    <td>7</td>-->
                            <!--    <td>John Doe</td>-->
                            <!--    <td><img class="rounded-circle avatar-xs" src="https://cdn.pixabay.com/photo/2015/10/05/22/37/blank-profile-picture-973460_640.png"></td>-->
                            <!--    <td>+971-xxxx-xxxxxxx</td></td>-->
                            <!--    <td>12 messages</td>-->
                            <!--    <td><a href="{{ route('admin.users.chat') }}"><i class='bx bx-search mr-2'></i> View</a></td>-->
                            <!--</tr>-->
                        </tbody>
                    </table>
                </div>
                <div class="hstack gap-2 justify-content-between mt-3">
                    <a href="{{ route('admin.ads') }}" class="btn btn-success">Back</a>
                </div>
            </div>
        </div>
    </div>
    <!--end col-->
</div>
<!--end row-->
<!--end row-->
@endsection
@section('script')


@endsection
