No Description

programs.blade.php 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. <div class="col-md-12">
  14. <table class="table table-condensed table-stripedd datatable">
  15. <thead>
  16. <tr>
  17. <th>Name</th>
  18. <th>School</th>
  19. </tr>
  20. </thead>
  21. <tfoot>
  22. <tr class="column-search">
  23. <th><input class="column-search-bar form-control" type="text" placeholder="Buscar"/></th>
  24. <th><select class="column-search-select form-control"><option value=""></option></select></th>
  25. </tr>
  26. </tfoot>
  27. <tbody>
  28. @foreach($programs as $program)
  29. <tr>
  30. <td>{{ HTML::linkAction('ProgramsController@show', $program->name, array($program->id)) }}</td>
  31. <td>{{ $program->school->name }}</td>
  32. </tr>
  33. @endforeach
  34. </tbody>
  35. </table>
  36. </div>
  37. </div>
  38. @stop
  39. @section('included-js')
  40. <!-- Datatables -->
  41. @include('global._datatables_js')
  42. @stop