No Description

new-learning-outcome.blade.php 2.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. @extends('layouts.master')
  2. @section('navigation')
  3. @if (Auth::user()->role == 1)
  4. @include('local.managers.admins._new_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]) }}"
  25. style="text-decoration: none">
  26. <div class="panel panel-default" style="height: 10rem">
  27. <div class="panel-heading">
  28. <h5 class="panel-title">{{ $course->code }}</h5>
  29. </div>
  30. <div class="panel-body">
  31. <h6>{{ $course->name }}</h6>
  32. </div>
  33. </div>
  34. </a>
  35. </div>
  36. @endforeach
  37. </div>
  38. <div class="row">
  39. <div class="col-md-12">
  40. <h3>Activities</h3>
  41. </div>
  42. </div>
  43. <div class="row">
  44. @foreach ($activities as $activity)
  45. <div class="col-md-2">
  46. {{-- TODO: Add href --}}
  47. <a href="" style="text-decoration: none">
  48. <div class="panel panel-default" style="height: 10rem">
  49. <div class="panel-heading">
  50. <h5 class="panel-title">{{ $activity->name }}</h5>
  51. </div>
  52. <div class="panel-body">
  53. <h6>{{ $activity->description }}</h6>
  54. </div>
  55. </div>
  56. </a>
  57. </div>
  58. @endforeach
  59. </div>
  60. @stop
  61. @section('included-js')
  62. @include('global._datatables_js')
  63. @stop
  64. @section('javascript')
  65. // ------------------------------------------------------------------------
  66. // Page Load
  67. // ------------------------------------------------------------------------
  68. // ------------------------------------------------------------------------
  69. // Events
  70. // ------------------------------------------------------------------------
  71. // ------------------------------------------------------------------------
  72. // Functions
  73. // ------------------------------------------------------------------------
  74. @stop