Ingen beskrivning

new-learning-outcome.blade.php 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. @extends('layouts.master')
  2. @section('navigation')
  3. @if(Auth::user()->role==1)
  4. @include('local.managers.admins._navigation')
  5. @elseif(Auth::user()->role==2)
  6. @include('local.managers.sCoords._new_navigation')
  7. @elseif(Auth::user()->role==3)
  8. @include('local.managers.pCoords._new_navigation')
  9. @endif
  10. @stop
  11. @section('main')
  12. <div class="row">
  13. <div class="col-md-10">
  14. <h3>Courses</h3>
  15. </div>
  16. <div class="col-md-2">
  17. <a href="{{ $report_link }}" class="btn btn-lg btn-default" role="button">Report</a>
  18. </div>
  19. </div>
  20. <div class="row">
  21. @foreach($courses as $course)
  22. <div class="col-md-2">
  23. {{-- TODO: Add href --}}
  24. <a href="{{ URL::action('CoursesController@newShow', ['id' => $course->id]) }}" 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>
  59. @stop
  60. @section('included-js')
  61. @include('global._datatables_js')
  62. @stop
  63. @section('javascript')
  64. // ------------------------------------------------------------------------
  65. // Page Load
  66. // ------------------------------------------------------------------------
  67. // ------------------------------------------------------------------------
  68. // Events
  69. // ------------------------------------------------------------------------
  70. // ------------------------------------------------------------------------
  71. // Functions
  72. // ------------------------------------------------------------------------
  73. @stop