April 9 update

This commit is contained in:
George Frederick "Buzz" Beurling
2020-04-09 17:20:03 -04:00
parent 94509caf3c
commit 50abb9d909
57 changed files with 2635 additions and 854 deletions

View File

@@ -58,6 +58,7 @@
<th>Date</th>
<th>Instructeur</th>
<th>Niveau</th>
<th style="width: 8rem">Plan de cours</th>
</tr>
</thead>
<tbody>
@@ -67,6 +68,23 @@
<td>{{$course->event->date_begin}}</td>
<td>{{$course->instructor()}}</td>
<td>{{$course->level}}</td>
<td class="text-center">
@if($course->lessonPlan)
<a href="/file/get?d={{urlencode(\App\GoogleDriveFile::findByPath('.Systeme/.Fichier/.PlanDeCours')->id)}}&f={{urlencode($course->lessonPlan->file)}}">
@if($course->lessonPlan->approved == 1)
<i class="fas fa-check-circle text-success fa-2x" data-toggle="tooltip"
data-placement="top" title="Plan de cours remis et vérifié"></i>
@else
<i class="fas fa-exclamation-circle text-warning fa-2x"
data-toggle="tooltip" data-placement="top"
title="Plan de cours remis mais non vérifié"></i>
@endif
</a>
@else
<i class="fas fa-times-circle text-danger fa-2x" data-toggle="tooltip"
data-placement="top" title="Plan de cours non remis"></i>
@endif
</td>
</tr>
@endforeach
</tbody>
@@ -90,7 +108,6 @@
$('.tooltip').tooltip('enable')
$(document).ready(function() {
$('#table').DataTable({
"lengthMenu": [[25, 50, -1], [25, 50, "All"]],
"ordering" : true,
"order": [[1, "asc"]]
});