No Description

total_assessment.blade.php 5.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. @extends('layouts.master')
  2. @section('navigation')
  3. @include('local.managers.admins._navigation')
  4. @stop
  5. @section('main')
  6. <div class="row">
  7. <div class="col-md-12">
  8. <p>This report contains the Assessment for all Students for all Schools and Programs during the following semester(s):</p>
  9. <ul>
  10. @foreach (Session::get('semesters_info') as $semester_info)
  11. <li>{{ $semester_info }}</li>
  12. @endforeach
  13. </ul>
  14. <!-- <h3>Table of Contents</h3> -->
  15. <!-- <ol id="table-of-contents" class="upper-roman">
  16. </ol> -->
  17. <table class="table table-condensed table-bordered datatable">
  18. <thead>
  19. <tr class="center-text">
  20. <th>Semester</th>
  21. <th>School or College</th>
  22. <th>Program ID</th>
  23. <th>Program Code</th>
  24. <th>Outcome</th>
  25. <th>Student Number</th>
  26. <th>Student Program</th>
  27. <th>Criteria</th>
  28. <th>Courses</th>
  29. <th>Expected Result For Achievement</th>
  30. <th>Student Result</th>
  31. </tr>
  32. </thead>
  33. <tfoot>
  34. <tr class="column-search">
  35. <th><select class="column-search-select form-control"><option value=""></option></select></th>
  36. <th><select class="column-search-select form-control"><option value=""></option></select></th>
  37. <th><select class="column-search-select form-control"><option value=""></option></select></th>
  38. <th><select class="column-search-select form-control"><option value=""></option></select></th>
  39. <th><select class="column-search-select form-control"><option value=""></option></select></th>
  40. <th><select class="column-search-select form-control"><option value=""></option></select></th>
  41. <th><select class="column-search-select form-control"><option value=""></option></select></th>
  42. <th><input class="column-search-bar form-control" type="text" placeholder="Buscar"/></th>
  43. <th><select class="column-search-select form-control"><option value=""></option></select></th>
  44. <th><select class="column-search-select form-control"><option value=""></option></select></th>
  45. <th><select class="column-search-select form-control"><option value=""></option></select></th>
  46. </tr>
  47. </tfoot>
  48. <tbody>
  49. @foreach ($total_assessments as $total_assessment)
  50. <tr>
  51. <td>{{ $total_assessment->semester }}</td>
  52. <td>{{ $total_assessment->school }}</td>
  53. <td>{{ $total_assessment->program }}</td>
  54. <td>{{ $total_assessment->program_code }}</td>
  55. <td>{{ $total_assessment->outcome }}</td>
  56. <td>{{ $total_assessment->student_number }}</td>
  57. <td>{{ $total_assessment->student_conc_code }}</td>
  58. <td>{{ $total_assessment->criterion }}</td>
  59. <td>{{ $total_assessment->course }}</td>
  60. <td>{{ $total_assessment->expected_result }}</td>
  61. <td>{{ $total_assessment->result }}</td>
  62. </tr>
  63. @endforeach
  64. </tbody>
  65. </table>
  66. </div>
  67. </div>
  68. <span class="js-vars"
  69. data-pdf-url="{{ URL::action('OutcomesController@totalAssessmentReport') }}"
  70. ></span>
  71. @stop
  72. @section('included-js')
  73. @include('global._datatables_js')
  74. @stop
  75. @section('javascript')
  76. // Build table of contents
  77. var outcome = $('.outcome');
  78. var str ='';
  79. str+='<li><a href="#'+outcome.attr('id')+'">'+outcome.text()+'</a><ol class="schools upper-alpha">';
  80. /*$('[id^='+outcome.attr('id')+'-].school:visible').each(function(e){
  81. var school = $(this);
  82. str+='<li><a href="#'+school.attr('id')+'">'+school.text()+'</a><ol class="programs">';
  83. $('[id^='+school.attr('id')+'-].program:visible').each(function(e){
  84. var program = $(this);
  85. if(!program.hasClass('no-courses'))
  86. str+='<li><a href="#'+program.attr('id')+'">'+program.text()+'</a></li>';
  87. else
  88. str+='<li>'+program.text()+'</li>';
  89. });
  90. str+='</ol></li>';
  91. });*/
  92. str+='</ol></li>';
  93. //$('#table-of-contents').append(str);
  94. // ----------------------------------------------------------------------------
  95. // Events
  96. //
  97. $('.to-top').on('click', function(e) {
  98. e.preventDefault();
  99. $(this).scrollTop(0);
  100. $('html').animate({scrollTop:0}, 1);
  101. $('body').animate({scrollTop:0}, 1);
  102. })
  103. @stop