暫無描述

new-learning-outcomes.blade.php 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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._navigation')
  7. @elseif(Auth::user()->role==3)
  8. @include('local.managers.pCoords._navigation')
  9. @endif
  10. @stop
  11. @section('main')
  12. <div class="row">
  13. <div class="col-md-6">
  14. <a href="{{ URL::action('OutcomesController@newShowAll') }}" class="btn btn-lg btn-default">Show all domains</a>
  15. </div>
  16. </div>
  17. <br>
  18. <div class="row">
  19. <div class="col-md-12">
  20. @foreach($outcomes as $outcome)
  21. <div class="col-md-3">
  22. <a href="{{ URL::action('OutcomesController@newShow', ['id' => $outcome->id]) }}" style="text-decoration: none">
  23. <div class="panel panel-default" style="height: 20rem">
  24. <div class="panel-heading">
  25. <h5 class="panel-title">{{ $outcome->name }}</h5>
  26. </div>
  27. <div class="panel-body">
  28. <h6>{{ $outcome->definition }}</h6>
  29. </div>
  30. </div>
  31. </a>
  32. </div>
  33. @endforeach
  34. </div>
  35. </div>
  36. @stop
  37. @section('included-js')
  38. {{-- @include('global._datatables_js')--}}
  39. @stop
  40. @section('javascript')
  41. // ------------------------------------------------------------------------
  42. // Page Load
  43. // ------------------------------------------------------------------------
  44. // ------------------------------------------------------------------------
  45. // Events
  46. // ------------------------------------------------------------------------
  47. // ------------------------------------------------------------------------
  48. // Functions
  49. // ------------------------------------------------------------------------
  50. @stop