No Description

new-report.blade.php 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. <p>Click on the values you want to change. Invalid values will be rejected automatically. To save your changes,
  15. click the 'Save' button at the bottom of the page.</p>
  16. <table class="table table-striped table-condensed editable-table">
  17. <thead>
  18. <tr class="center-text">
  19. <th class="col-md-4">Learning Objectives</th>
  20. <th class="col-md-6">Transformative Actions</th>
  21. <th class="col-md-2">Expected Metric</th>
  22. </thead>
  23. <tbody>
  24. @foreach ($objectives as $objective)
  25. <tr data-id="{{ $objective->id }}">
  26. <td contenteditable="true" class="name col-md-4">{{ $objective->text }}</td>
  27. {{-- TODO: Use correct data --}}
  28. <td contenteditable="true" data-type="textarea" class="definition col-md-6">{{ 'TODO' }}
  29. </td>
  30. <td contenteditable="true" class="expected-outcome col-md-1">{{ $outcome->expected_outcome }}
  31. </td>
  32. </tr>
  33. @endforeach
  34. </tbody>
  35. </table>
  36. </div>
  37. </div>
  38. @stop
  39. @section('included-js')
  40. @include('global._datatables_js')
  41. @stop
  42. @section('javascript')
  43. // ------------------------------------------------------------------------
  44. // Page Load
  45. // ------------------------------------------------------------------------
  46. // ------------------------------------------------------------------------
  47. // Events
  48. // ------------------------------------------------------------------------
  49. // ------------------------------------------------------------------------
  50. // Functions
  51. // ------------------------------------------------------------------------
  52. @stop