<style>
    table,th{
        text-align: center;
    }

</style>
<div class="box col-sm-6">
    <div class="box-header">
        <h3 class="box-title">{{$data['name']}}  排班人次数统计</h3>
    </div>
    <div class="box-body">
        <div id="example2_wrapper" class="dataTables_wrapper form-inline dt-bootstrap">
            <div class="row">
                <div class="col-sm-6"></div>
                <div class="col-sm-6"></div>
            </div>
            <div class="row">
                <div class="col-sm-12">
                    <table id="example2" class="table table-bordered table-hover dataTable" role="grid" aria-describedby="example2_info">
                        <thead>
                            <tr role="row">
                                <th  tabindex="0"  rowspan="1" colspan="1" >时间</th>
                                <th  tabindex="0"  rowspan="1" colspan="1" >星期一</th>
                                <th class="sorting_desc" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Browser: activate to sort column ascending" aria-sort="descending">星期二</th>
                                <th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Platform(s): activate to sort column ascending">星期三</th>
                                <th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Engine version: activate to sort column ascending">星期四</th>
                                <th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="CSS grade: activate to sort column ascending">星期五</th>
                                <th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="CSS grade: activate to sort column ascending">星期六</th>
                                <th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="CSS grade: activate to sort column ascending">星期天</th>
                            </tr>
                        </thead>
                        <tbody>
                        @for($i=0;$i<=2;$i++)
                        <tr role="row" class="even">
                            <td class="">{{$data['timeType'][$i]}}</td>
                        @foreach($data['week'] as $k=>$v)
                                <td class="">（{{$v[$i]}}人次）</td>
                            @endforeach
                        </tr>
                        @endfor
                    </table>

{{--                    <table class="table table-condensed">--}}
{{--                        <tr>--}}
{{--                            <th>星期一</th>--}}
{{--                            <th>星期二</th>--}}
{{--                            <th>星期三</th>--}}
{{--                            <th>星期四</th>--}}
{{--                            <th>星期五</th>--}}
{{--                            <th>星期六</th>--}}
{{--                            <th>星期天</th>--}}
{{--                        </tr>--}}

{{--                        <tr>--}}
{{--                            <td class="active">...</td>--}}
{{--                            <td class="success">...</td>--}}
{{--                            <td class="warning">...</td>--}}
{{--                            <td class="danger">...</td>--}}
{{--                            <td class="info">...</td>--}}
{{--                            <td class="info">...</td>--}}
{{--                            <td class="info">...</td>--}}
{{--                        </tr>--}}
{{--                    </table>--}}
                </div>
            </div>
        </div>
    </div>
</div>
