Без опису

learning-outcome.blade.php 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. @extends('layouts.master')
  2. @section('navigation')
  3. @if(Auth::user()->role==1)
  4. @include('local.managers.admins._new_navigation')
  5. @elseif(Auth::user()->role==2)
  6. @include('local.managers.sCoords._new_navigation')
  7. @elseif(Auth::user()->role==3)
  8. @include('local.managers.pCoords._new_navigation')
  9. @endif
  10. @stop
  11. @section('main')
  12. <div class="row">
  13. <div class="col-md-12">
  14. <!-- Nav tabs -->
  15. <ul class="nav nav-tabs" role="tablist">
  16. <li role="presentation" class="active"><a href="#undergraduate" aria-controls="undergraduate" role="tab" data-toggle="tab"><h4>Undergraduate Program Participation</h4></a></li>
  17. <li role="presentation"><a href="#graduate" aria-controls="graduate" role="tab" data-toggle="tab"><h4>Graduate Program Participation</h4></a></li>
  18. </ul>
  19. <!-- Tab panes -->
  20. <div class="tab-content">
  21. <div role="tabpanel" class="tab-pane active" id="undergraduate">
  22. <br>
  23. <table class="table table-striped datatable">
  24. <thead>
  25. <th>Name</th>
  26. <th>School</th>
  27. <th>Sections that attempted outcome</th>
  28. <th>Sections that achieved outcome </th>
  29. <th>Success rate</th>
  30. </thead>
  31. <tbody>
  32. @foreach($undergradResults["names"] as $id=>$undergradProgramName)
  33. <tr>
  34. <td>{{{ $undergradProgramName }}}</td>
  35. <td>{{{ $undergradResults["schools"][$id] }}}</td>
  36. <td>{{{ $undergradResults["attempted"][$id] }}}</td>
  37. <td>{{{ $undergradResults["achieved"][$id] }}}</td>
  38. <td>{{{ $undergradResults["successRate"][$id] }}}</td>
  39. </tr>
  40. @endforeach
  41. </tbody>
  42. <caption>N/M: Not Measured</caption>
  43. </table>
  44. </div>
  45. <div role="tabpanel" class="tab-pane" id="graduate">
  46. <br>
  47. <table class="table table-striped datatable">
  48. <thead>
  49. <th>Name</th>
  50. <th>School</th>
  51. <th>Sections that attempted outcome</th>
  52. <th>Sections that achieved outcome </th>
  53. <th>Success rate</th>
  54. </thead>
  55. <tbody>
  56. @foreach($gradResults["names"] as $id=>$gradProgramName)
  57. <tr>
  58. <td>{{{ $gradProgramName }}}</td>
  59. <td>{{{ $gradResults["schools"][$id] }}}</td>
  60. <td>{{{ $gradResults["attempted"][$id] }}}</td>
  61. <td>{{{ $gradResults["achieved"][$id] }}}</td>
  62. <td>{{{ $gradResults["successRate"][$id] }}}</td>
  63. </tr>
  64. @endforeach
  65. </tbody>
  66. <caption>N/M: Not Measured</caption>
  67. </table>
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. @stop
  73. @section('included-js')
  74. @include('global._datatables_js')
  75. @stop
  76. @section('javascript')
  77. // ------------------------------------------------------------------------
  78. // Page Load
  79. // ------------------------------------------------------------------------
  80. // ------------------------------------------------------------------------
  81. // Events
  82. // ------------------------------------------------------------------------
  83. // ------------------------------------------------------------------------
  84. // Functions
  85. // ------------------------------------------------------------------------
  86. @stop