Keine Beschreibung

_navigation.blade.php 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <div class="navbar navbar-inverse navbar-static-top">
  2. <div class="container-fluid">
  3. <!--<div class="navbar-header">
  4. {{ HTML::linkAction('SchoolCoordinatorsController@overview', 'Online Learning Assessment System · Administrator', array(), array('class'=>'navbar-brand')) }}
  5. </div>-->
  6. <ul class="nav navbar-nav navbar-right">
  7. <li>{{ HTML::linkAction('SchoolCoordinatorsController@overview', 'Overview') }}</li>
  8. <li>{{ HTML::linkAction('TemplatesController@newTemplate', 'Rubrics') }}</li>
  9. <li class="dropdown">
  10. <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Learning and Criterias<span class="caret"></span></a>
  11. <ul class="dropdown-menu" role="menu">
  12. <li>{{ HTML::linkAction('CriteriaController@index', 'Outcomes and Criteria') }}</li>
  13. <li>{{ HTML::linkAction('CriteriaController@objectivesIndex', 'Objectives and Criteria') }}</li>
  14. </ul>
  15. </li>
  16. <li>{{ HTML::linkAction('Objective2Controller@editSchool', 'Objectives')}}</li>
  17. <li>{{ HTML::linkAction('CriteriaController@editSchool', 'Criteria') }}</li>
  18. @if(count(Auth::user()->courses))
  19. <li> {{ HTML::linkAction('ProfessorsController@overview', 'My Courses', NULL) }}</li>
  20. <li class="dropdown">
  21. <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Sections<span class="caret"></span></a>
  22. <ul class="dropdown-menu" role="menu">
  23. @foreach ($courses as $course)
  24. <li> {{ HTML::linkAction('CoursesController@show', $course->code.$course->number.'-'.$course->section.' ('.$course->semester->code.')', array('id'=>$course->id)) }}</li>
  25. @endforeach
  26. </ul>
  27. </li>
  28. @endif
  29. <li class="dropdown">
  30. <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Reports<span class="caret"></span></a>
  31. <ul class="dropdown-menu" role="menu">
  32. <li>{{ HTML::linkAction('OutcomesController@managerAssessmentReports', 'School Reports') }}</li>
  33. @if(count(Auth::user()->courses))
  34. <li>{{ HTML::linkAction('OutcomesController@professorAssessmentReports', 'My Courses\' Reports') }}</li>
  35. @endif
  36. </ul>
  37. </li>
  38. <li class='dropdown'>
  39. <a href ='#' class ='dropdown-toggle' data-toggle='dropdown' role='button' aria-expanded="false"> Annual Plans<span class="caret"></span></a>
  40. <ul class ='dropdown-menu' role='menu'>
  41. @foreach (Auth::user()->school->programs as $program)
  42. <li><a href ="{{ URL::action('AnnualPlansController@showPlan', array($program->id))}}" >{{$program->name}}</a></li>
  43. @endforeach
  44. </ul></li>
  45. <li class='dropdown'>
  46. <a href ='#' class ='dropdown-toggle' data-toggle='dropdown' role='button' aria-expanded="false"> Three year Plans<span class="caret"></span></a>
  47. <ul class ='dropdown-menu' role='menu'>
  48. @foreach (Auth::user()->school->programs as $program)
  49. <li><a href ="{{ URL::action('ThreeYearPlanController@threeYearsReport', array($program->id))}}" >{{$program->name}}</a></li>
  50. @endforeach
  51. </ul></li>
  52. <li class="dropdown">
  53. <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Help<span class="caret"></span></a>
  54. <ul class="dropdown-menu" role="menu">
  55. <li>{{ HTML::linkAction('FeedbackController@create', 'Feedback') }}</li>
  56. <!-- <li><a href="{{ asset('files/OLAS-intro.pdf') }}">Introduction to OLAS</a></li> -->
  57. <li><a href="{{ asset('files/intro-avaluo.pdf') }}">Introduction to Assessment</a></li>
  58. <!-- <li><a href="{{ asset('files/OLAS-coords.pdf') }}">OLAS for Coordinators</a></li> -->
  59. <li><a href="http://oeae.uprrp.edu/wp-content/uploads/2019/01/Brochure-de-OLAS-rev.-agosto-2018.pdf">Brochure</a></li>
  60. </ul>
  61. </li>
  62. <li class="dropdown">
  63. <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Account<span class="caret"></span></a>
  64. <ul class="dropdown-menu" role="menu">
  65. <li>{{ HTML::linkAction('UsersController@edit', 'Profile') }}</li>
  66. <li>{{ HTML::linkAction('AuthController@logout', 'Log out ('.Auth::user()->email.')') }}</li>
  67. </ul>
  68. </li>
  69. </ul>
  70. </div>
  71. </div>