No Description

rubric_list.blade.php 1.6KB

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