@extends('layout.app')
@section('content')

<div class="card">
    <div class="card-body">
        <div class="table-responsive">
        <table id="dataTable"  class="table table-bordered table-striped">
            <thead class="bg-gray-50">
                <tr>
                    <th scope="col">
                        User ID
                    </th>

                    <th scope="col">
                        Last Login Time
                    </th>

                    <th scope="col">
                       Last Logout Time
                    </th>
                    
                </tr>
            </thead>
            <tbody class="bg-white divide-y divide-gray-200">

                @foreach ($list as $r)
                {{-- {{dd($r)}} --}}
                <tr>
                    <td>
                        {{ $r->username}}
                    </td>
                    <td>
                        {{ $r->acctstarttime}}
                    </td>

                    <td>
                        {{ $r->acctstoptime}}
                    </td>  
                </tr>

                @endforeach

                <!-- More items... -->
            </tbody>
        </table>
        </div>
    </div>

    <div class="card-footer float-right">
        {{ $list->links() }}
    </div>
</div>





@endsection