No Description

new-report-all.blade.php 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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-12">
  14. <table class="table table-striped table-condensed editable-table">
  15. <thead>
  16. <tr class="center-text">
  17. <th class="col-md-2">Outcomes</th>
  18. <th class="col-md-4">Learning Objectives</th>
  19. <th class="col-md-4">Transformative Actions</th>
  20. <th class="col-md-2">Expected Metric</th>
  21. </thead>
  22. <tbody>
  23. @foreach ($outcomes as $outcome)
  24. @foreach ($outcome->objectives as $i => $objective)
  25. <tr data-id="{{ $outcome->id }}">
  26. @if ($i == 0)
  27. <td contenteditable="true" class="name col-md-2"
  28. rowspan="{{ $outcome->objectives->count() }}">{{ $outcome->name }}</td>
  29. @endif
  30. <td contenteditable="true" class="name col-md-4">{{ $objective->text }}</td>
  31. {{-- TODO: Use correct data --}}
  32. <td contenteditable="true" data-type="textarea" class="definition col-md-6">
  33. {{ 'TODO' }}</td>
  34. <td contenteditable="true" class="expected-outcome col-md-1">
  35. {{ $outcome->expected_outcome }}</td>
  36. </tr>
  37. @endforeach
  38. @endforeach
  39. </tbody>
  40. </table>
  41. </div>
  42. </div>
  43. @stop
  44. @section('included-js')
  45. @include('global._datatables_js')
  46. @stop
  47. @section('javascript')
  48. // ------------------------------------------------------------------------
  49. // Page Load
  50. // ------------------------------------------------------------------------
  51. // ------------------------------------------------------------------------
  52. // Events
  53. // ------------------------------------------------------------------------
  54. // ------------------------------------------------------------------------
  55. // Functions
  56. // ------------------------------------------------------------------------
  57. @stop