No Description

rubric_list.blade.php 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. @extends('layouts.master')
  2. @section('navigation')
  3. @if ($role == 1)
  4. @include('local.managers.admins._navigation')
  5. @elseif($role == 2)
  6. @include('local.managers.sCoords._new_navigation')
  7. @elseif($role == 3)
  8. @include('local.managers.pCoords._new_navigation')
  9. @elseif($role == 4)
  10. @include('local.professors._navigation')
  11. @endif
  12. @stop
  13. @section('main')
  14. <div class="row">
  15. <table class="table table-striped datatable">
  16. <thead>
  17. <tr>
  18. <th>Name</th>
  19. <th>School</th>
  20. </tr>
  21. </thead>
  22. <tfoot>
  23. <tr class="column-search">
  24. <td><input class="column-search-bar form-control" type="text" placeholder="Buscar"
  25. aria-label="search rubric name" /></td>
  26. <td><select class="column-search-select form-control" aria-label="select associated school">
  27. <option value=""></option>
  28. </select></td>
  29. </tr>
  30. </tfoot>
  31. <tbody>
  32. @foreach ($templates as $template)
  33. <tr>
  34. <td>{{ HTML::linkAction('TemplatesController@show', $template->name, [$template->id]) }}</td>
  35. <td>
  36. @if ($template->school)
  37. {{ $template->school->name }}
  38. @else
  39. All (global)
  40. @endif
  41. </td>
  42. </tr>
  43. @endforeach
  44. </tbody>
  45. </table>
  46. </div>
  47. @stop
  48. @section('included-js')
  49. <!-- Datatables -->
  50. @include('global._datatables_js')
  51. @stop