@extends('layout.app')


@section('content')
    <div class="card">
        <div class="card-body">
            <div class="table-responsive">
                <table id="dataTable" class="display">
                    <thead class="bg-gray-50">
                        <tr>
                            <th scope="col">Id</th>
                            <th scope="col">
                                User name
                            </th>
                            <th scope="col">
                               Password
                            </th>


                            <th scope="col">
                                Action
                            </th>
                        </tr>
                    </thead>
                    <tbody>

                        @foreach ($client_lists as $item)
                            <tr>
                                <td>{{$item->id}}</td>
                                <td>
                                    {{ $item->username }}
                                </td>
                                <td>
                                    {{ $item->password }}
                                </td>

                                <td>
                                    <a href="#" class="btn btn-primary pull-right">Edit</a>
                                </td>
                            </tr>
                        @endforeach

                        <!-- More items... -->
                    </tbody>
                </table>
            </div>
        </div>
        <div class="card-footer">
            {{ $client_lists->links() }}

        </div>
    </div>
@endsection
