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