@extends('layouts.master')
@section('navigation')
@if($role==1)
@include('local.managers.admins._new_navigation')
@elseif($role==2)
@include('local.managers.sCoords._new_navigation')
@elseif($role==3)
@include('local.managers.pCoords._new_navigation')
@endif
@stop
@section('main')
@if($course->program->expected_outcome_target== null)
This Goal Bar is the default score. If you wish to change it, change it on the selected Semesters Annual Plan
@else
This Goal is from {{$course->program->name}} on the semester {{$course->program->expected_outcome_target->semester_name}}
@endif
Section Information
Professor |
{{{ $course->user->surnames }}}, {{{ $course->user->first_name }}} |
School |
{{{ $course->program->school->name }}} |
Program |
{{{ $course->program->name }}} |
Activities |
{{{ $course->activities->count() }}} |
Students |
{{{ $course->students->count() }}} |
Students
@if(!$students->isEmpty())
|
Name |
Number |
School |
Major |
@foreach ($students as $i => $student)
number, 0, 3).'-'.substr($student->number, 3, -4).'-'.substr($student->number, 5, 8); ?>
{{$i+1}} |
{{ $student->name }} |
{{ $formatted_student_number }} |
{{ $student->school_code }} |
{{ $student->conc_code }} |
@endforeach
@else
@endif
Activities
@if($course->activities->count())
Name |
Date |
Rubric |
Transformative Action |
@foreach($course->activities as $activity)
rubric);
$bool = empty($activity->rubric);
Log::info($bool);
?>
{{{ $activity->name }}} |
{{{ date('m/d/y', strtotime($activity->updated_at)) }}} |
@if(isset($activity->rubric[0]))
{{ HTML::linkAction('RubricsController@show_limited', $activity->rubric[0]->name, array($activity->rubric[0]->id)) }}
@endif
|
@if(isset($activity->transforming_action))
{{ $activity->transforming_action->at_text }}: {{$activity->transforming_action->description}} |
@else
|
@endif
@endforeach
@else
None
@endif
@stop
@section('included-js')
@stop
@section('javascript')
$(function () {
$('#graph').highcharts({
chart: {
type: 'bar'
},
title: {
text: 'Performance by Learning Outcome Criteria in {{ $title }}'
},
xAxis: {
categories: [
@foreach($outcomes as $outcome)
"{{{ $outcome->name }}}
(N = {{$outcomes_attempted[$outcome->id]}}, {{$outcomes_achieved[$outcome->id]}})",
@endforeach
],
labels: {
style: {
fontSize:'11px'
},
step:1,
useHTML:true,
formatter: function() {
return '
'+this.value+'
';
},
}
},
yAxis: {
min: 0,
max: 100,
title: {
text: 'Percentage'
},
@if($course->program->expected_outcome_target == null)
plotLines:[{
value:70.00,
color: '#000',
width:3,
zIndex:4,
label:{
text: 'Goal (70.00%)',
style: {
color: '#000',
fontSize: '14px',
}
}
}]
@else
plotLines:[{
value: {{$course->program->expected_outcome_target->expected_target }},
color: '#000',
width:3,
zIndex:4,
label:{
text: 'Goal ({{$course->program->expected_outcome_target->expected_target}}%)',
style: {
color: '#000',
fontSize: '14px',
}
}
}]
@endif
},
tooltip: {
headerFormat: '
{point.key}',
pointFormat: '{series.name}: | ' +
'{point.y:.2f} |
',
footerFormat: '
',
shared: true,
useHTML: true
},
plotOptions: {
bar: {
//grouping: false,
shadow: false,
borderWidth: 0,
},
series: {
pointPadding: 0,
groupPadding: 0.075
},
},
series: [{
name: 'Obtained Value',
color: '#e70033',
dataLabels: {
enabled: true,
fontSize: 8,
color: '#fff',
align: 'right',
format: '{y:.1f}%',
style: {
//fontWeight: 'bold'
},
y:-1
},
data:[
@foreach($outcomes as $index => $outcome)
@if(
is_array($outcomes_attempted)
&& array_key_exists($outcome->id, $outcomes_attempted)
&& $outcomes_attempted[$outcome->id]!=0)
{{{ ($outcomes_achieved[$outcome->id]/$outcomes_attempted[$outcome->id])*100 }}},
@else
0,
@endif
@endforeach
]
}/*, {
name: 'Expected Value',
color: '#555555',
dataLabels: {
enabled: true,
fontSize: 8,
color: '#fff',
align: 'right',
format: '{y:.1f}%',
style: {
//fontWeight: 'bold'
},
y:-1
},
data: [
@foreach($outcomes as $index => $outcome)
@if(
is_array($outcomes_attempted)
&& array_key_exists($outcome->id, $outcomes_attempted)
&& $outcomes_attempted[$outcome->id]!=0)
{{{ $outcome->expected_outcome }}},
@else
0,
@endif
@endforeach
]
}*/]
});
});
// Include dummy graph for outcomes
@include('global.dummy-outcomes')
@stop