No Description

new-report.blade.php 2.2KB

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