|
@@ -4,8 +4,7 @@ echo '<html>';
|
4
|
4
|
echo '<body>';
|
5
|
5
|
|
6
|
6
|
//Inline styles (only for printing)
|
7
|
|
-echo
|
8
|
|
-'<style type="text/css">
|
|
7
|
+echo '<style type="text/css">
|
9
|
8
|
body
|
10
|
9
|
{
|
11
|
10
|
font-family: "Arial", sans-serif;
|
|
@@ -93,82 +92,76 @@ echo
|
93
|
92
|
@media print{@page {size: landscape}}
|
94
|
93
|
</style>';
|
95
|
94
|
|
96
|
|
-if(!$view)
|
97
|
|
-{
|
98
|
|
- echo '<style type="text/css" media="print">
|
|
95
|
+echo '<style type="text/css" media="print">
|
99
|
96
|
@page { size: landscape; }
|
100
|
97
|
</style>';
|
101
|
|
-}
|
|
98
|
+
|
102
|
99
|
?>
|
103
|
100
|
<img class="logo" src="{{ asset('images/logo_uprrp_bw.png') }}" alt="UPRRP Logo">
|
104
|
101
|
|
105
|
|
-<div class="header"><p class="header-text">University of Puerto Rico, Río Piedras Campus</p>
|
106
|
|
-<p class="header-text">Online Learning Assessment System</p>
|
|
102
|
+<div class="header">
|
|
103
|
+ <p class="header-text">University of Puerto Rico, Río Piedras Campus</p>
|
|
104
|
+ <p class="header-text">Online Learning Assessment System</p>
|
107
|
105
|
|
108
|
|
-<h1 class="header-text">Three Year Plan for {{$program->name}} from {{$three_year_plan->year_start}} to {{$three_year_plan->year_end}}</h1></div>
|
|
106
|
+ <h1 class="header-text">Three Year Plan for {{ $program->name }} from {{ $three_year_plan->year_start }} to
|
|
107
|
+ {{ $three_year_plan->year_end }}</h1>
|
|
108
|
+</div>
|
109
|
109
|
|
110
|
110
|
|
111
|
111
|
|
112
|
|
-@foreach($typ_semesters as $semester)
|
113
|
|
- <br>
|
114
|
|
- <br>
|
115
|
|
- <h2 class ='header-text'>{{$semester->name}}</h2>
|
|
112
|
+@foreach ($typ_semesters as $semester)
|
116
|
113
|
<br>
|
117
|
|
- @foreach($typ_semester_outcome[$semester->semester_id] as $outcome)
|
118
|
|
-
|
119
|
|
- <span><h3>{{$outcome->name}}</h3></span>
|
120
|
|
- <table class="table table-striped table-condensed" style = "table-layout: fixed">
|
121
|
|
- <thead>
|
122
|
|
- <tr>
|
123
|
|
-
|
124
|
|
- <th>Objectives</th>
|
125
|
|
- <th>Courses</th>
|
126
|
|
-
|
127
|
|
- </tr>
|
128
|
|
- </thead>
|
129
|
|
- <tbody>
|
130
|
|
-
|
131
|
|
- @foreach($outcome->objectives as $index=> $objective)
|
132
|
|
- <tr>
|
133
|
|
-
|
134
|
|
- <td>
|
135
|
|
- {{ $index + 1 }}. {{$objective->text}}
|
136
|
|
- </td>
|
137
|
|
- <td>
|
138
|
|
- <ol>
|
139
|
|
- @foreach($objective->courses as $course)
|
140
|
|
-
|
141
|
|
- <li>[{{$course->code}}{{$course->number}}] {{$course->name}}</li>
|
142
|
|
-
|
143
|
|
- @endforeach
|
144
|
|
- </ol>
|
145
|
|
-
|
146
|
|
- </tr>
|
147
|
|
- @endforeach
|
148
|
|
-
|
149
|
|
- </tbody>
|
150
|
|
- </table>
|
151
|
114
|
<br>
|
|
115
|
+ <h2 class='header-text'>{{ $semester->name }}</h2>
|
152
|
116
|
<br>
|
153
|
|
-
|
154
|
|
-
|
155
|
|
-@endforeach
|
156
|
|
-
|
|
117
|
+ @foreach ($typ_semester_outcome[$semester->semester_id] as $outcome)
|
|
118
|
+ <span>
|
|
119
|
+ <h3>{{ $outcome->name }}</h3>
|
|
120
|
+ </span>
|
|
121
|
+ <table class="table table-striped table-condensed" style="table-layout: fixed">
|
|
122
|
+ <thead>
|
|
123
|
+ <tr>
|
|
124
|
+
|
|
125
|
+ <th>Objectives</th>
|
|
126
|
+ <th>Courses</th>
|
|
127
|
+
|
|
128
|
+ </tr>
|
|
129
|
+ </thead>
|
|
130
|
+ <tbody>
|
|
131
|
+
|
|
132
|
+ @foreach ($outcome->objectives as $index => $objective)
|
|
133
|
+ <tr>
|
|
134
|
+
|
|
135
|
+ <td>
|
|
136
|
+ {{ $index + 1 }}. {{ $objective->text }}
|
|
137
|
+ </td>
|
|
138
|
+ <td>
|
|
139
|
+ <ol>
|
|
140
|
+ @foreach ($objective->courses as $course)
|
|
141
|
+ <li>[{{ $course->code }}{{ $course->number }}] {{ $course->name }}</li>
|
|
142
|
+ @endforeach
|
|
143
|
+ </ol>
|
|
144
|
+
|
|
145
|
+ </tr>
|
|
146
|
+ @endforeach
|
|
147
|
+
|
|
148
|
+ </tbody>
|
|
149
|
+ </table>
|
|
150
|
+ <br>
|
|
151
|
+ <br>
|
|
152
|
+ @endforeach
|
157
|
153
|
@endforeach
|
158
|
154
|
|
159
|
155
|
<?php
|
160
|
156
|
|
161
|
157
|
echo '</body>';
|
162
|
158
|
echo '</html>';
|
163
|
|
-if(!$view)
|
164
|
|
-{
|
|
159
|
+
|
165
|
160
|
?>
|
166
|
161
|
|
167
|
162
|
<script type="text/javascript">
|
168
|
|
-
|
169
|
|
-window.print();
|
170
|
|
-
|
|
163
|
+ window.print();
|
171
|
164
|
</script>
|
172
|
165
|
<?php
|
173
|
|
-}
|
174
|
|
-?>
|
|
166
|
+
|
|
167
|
+?>
|