|
@@ -14,10 +14,48 @@
|
14
|
14
|
|
15
|
15
|
<div class="row">
|
16
|
16
|
<div class="col-md-12">
|
17
|
|
-
|
|
17
|
+ <h3>Courses</h3>
|
18
|
18
|
</div>
|
19
|
19
|
</div>
|
20
|
|
-
|
|
20
|
+ <div class="row">
|
|
21
|
+ @foreach($courses as $course)
|
|
22
|
+ <div class="col-md-2">
|
|
23
|
+{{-- TODO: Add href --}}
|
|
24
|
+ <a href="" style="text-decoration: none">
|
|
25
|
+ <div class="panel panel-default" style="height: 10rem">
|
|
26
|
+ <div class="panel-heading">
|
|
27
|
+ <h5 class="panel-title">{{ $course->code }}</h5>
|
|
28
|
+ </div>
|
|
29
|
+ <div class="panel-body">
|
|
30
|
+ <h6>{{ $course->name }}</h6>
|
|
31
|
+ </div>
|
|
32
|
+ </div>
|
|
33
|
+ </a>
|
|
34
|
+ </div>
|
|
35
|
+ @endforeach
|
|
36
|
+ </div>
|
|
37
|
+ <div class="row">
|
|
38
|
+ <div class="col-md-12">
|
|
39
|
+ <h3>Activities</h3>
|
|
40
|
+ </div>
|
|
41
|
+ </div>
|
|
42
|
+ <div class="row">
|
|
43
|
+ @foreach($activities as $activity)
|
|
44
|
+ <div class="col-md-2">
|
|
45
|
+ {{-- TODO: Add href --}}
|
|
46
|
+ <a href="" style="text-decoration: none">
|
|
47
|
+ <div class="panel panel-default" style="height: 10rem">
|
|
48
|
+ <div class="panel-heading">
|
|
49
|
+ <h5 class="panel-title">{{ $activity->name }}</h5>
|
|
50
|
+ </div>
|
|
51
|
+ <div class="panel-body">
|
|
52
|
+ <h6>{{ $activity->description }}</h6>
|
|
53
|
+ </div>
|
|
54
|
+ </div>
|
|
55
|
+ </a>
|
|
56
|
+ </div>
|
|
57
|
+ @endforeach
|
|
58
|
+ </div>
|
21
|
59
|
@stop
|
22
|
60
|
|
23
|
61
|
@section('included-js')
|