totalSchedule.blade.php 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <style>
  2. table,th{
  3. text-align: center;
  4. }
  5. </style>
  6. <div class="box col-sm-6">
  7. <div class="box-header">
  8. <h3 class="box-title">{{$data['name']}} 排班人次数统计</h3>
  9. </div>
  10. <div class="box-body">
  11. <div id="example2_wrapper" class="dataTables_wrapper form-inline dt-bootstrap">
  12. <div class="row">
  13. <div class="col-sm-6"></div>
  14. <div class="col-sm-6"></div>
  15. </div>
  16. <div class="row">
  17. <div class="col-sm-12">
  18. <table id="example2" class="table table-bordered table-hover dataTable" role="grid" aria-describedby="example2_info">
  19. <thead>
  20. <tr role="row">
  21. <th tabindex="0" rowspan="1" colspan="1" >时间</th>
  22. <th tabindex="0" rowspan="1" colspan="1" >星期一</th>
  23. <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>
  24. <th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Platform(s): activate to sort column ascending">星期三</th>
  25. <th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Engine version: activate to sort column ascending">星期四</th>
  26. <th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="CSS grade: activate to sort column ascending">星期五</th>
  27. <th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="CSS grade: activate to sort column ascending">星期六</th>
  28. <th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="CSS grade: activate to sort column ascending">星期天</th>
  29. </tr>
  30. </thead>
  31. <tbody>
  32. @for($i=0;$i<=2;$i++)
  33. <tr role="row" class="even">
  34. <td class="">{{$data['timeType'][$i]}}</td>
  35. @foreach($data['week'] as $k=>$v)
  36. <td class="">({{$v[$i]}}人次)</td>
  37. @endforeach
  38. </tr>
  39. @endfor
  40. </table>
  41. {{-- <table class="table table-condensed">--}}
  42. {{-- <tr>--}}
  43. {{-- <th>星期一</th>--}}
  44. {{-- <th>星期二</th>--}}
  45. {{-- <th>星期三</th>--}}
  46. {{-- <th>星期四</th>--}}
  47. {{-- <th>星期五</th>--}}
  48. {{-- <th>星期六</th>--}}
  49. {{-- <th>星期天</th>--}}
  50. {{-- </tr>--}}
  51. {{-- <tr>--}}
  52. {{-- <td class="active">...</td>--}}
  53. {{-- <td class="success">...</td>--}}
  54. {{-- <td class="warning">...</td>--}}
  55. {{-- <td class="danger">...</td>--}}
  56. {{-- <td class="info">...</td>--}}
  57. {{-- <td class="info">...</td>--}}
  58. {{-- <td class="info">...</td>--}}
  59. {{-- </tr>--}}
  60. {{-- </table>--}}
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. </div>