<div class="navbar navbar-inverse navbar-static-top">
    <div class="container-fluid">
        <!--<div class="navbar-header">
      {{ HTML::linkAction('ProgramCoordinatorsController@overview', 'Online Learning Assessment System · Program Coordinator', [], ['class' => 'navbar-brand']) }}
    </div>-->
        <ul class="nav navbar-nav navbar-right ml-auto">
       <!--      <li>{{ HTML::linkAction('AdministratorsController@overview', 'Overview') }}</li>-->
            <li>{{ HTML::linkAction('AdministratorsController@overview2', 'Overview') }}</li>

            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
                    aria-expanded="false">Objectives<span class="caret"></span></a>
                <ul class="dropdown-menu dropdown-menu-left" role="menu">
                    <li>{{ HTML::linkAction('Objective2Controller@edit', 'Create/Edit Objectives') }}</li>
                    <li>{{ HTML::linkAction('Objective2Controller@viewObjectives', 'View Objectives and Criteria') }}
                    </li>
                </ul>
            </li>
            <li class='dropdown'>
                <a href='#' class='dropdown-toggle' data-toggle='dropdown' role='button' aria-expanded="false">
                    Criteria<span class="caret"></span></a>
                <ul class='dropdown-menu dropdown-menu-left' role='menu'>

                    <li>{{ HTML::linkAction('CriteriaController@edit', 'Create/Edit Criteria') }}</li>
                    <li>{{ HTML::linkAction('CriteriaController@index', 'View Criteria') }}</li>

                </ul>
            </li>




            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
                    aria-expanded="false">Rubrics<span class="caret"></span></a>
                <ul class="dropdown-menu dropdown-menu-left" role="menu">
                    <li>{{ HTML::linkAction('TemplatesController@newTemplate_new', 'Create/Edit Rubrics') }}</li>
                    <li>{{ HTML::linkAction('TemplatesController@index', 'View Rubric List') }}</li>
                </ul>
            </li>


            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Colleges
                    and Schools<span class="caret"></span></a>
                <ul class="dropdown-menu dropdown-menu-left" role="menu">
                    @foreach ($schools as $school)
                        <li>{{ HTML::linkAction('SchoolsController@show', $school->name, [$school->id]) }}</li>
                    @endforeach
                </ul>
            </li>
            <li>{{ HTML::linkAction('ProgramsController@index', 'Programs') }}</li>
            <li class='dropdown'>
                <a href='#' class='dropdown-toggle' data-toggle='dropdown' role='button' aria-expanded="false">
                    Assessment Cycle<span class="caret"></span></a>
                <ul class='dropdown-menu dropdown-menu-left' role='menu'>

                    <li>{{ HTML::linkAction('ThreeYearPlanController@adminIndex', 'View Three Year Plan') }}</li>
                    <li>{{ HTML::linkAction('AnnualPlansController@adminIndex', 'View Annual Plan') }}</li>
                    <li>{{ HTML::linkAction('AnnualPlansController@adminReportIndex', 'View Annual Report') }}</li>
                    <li>{{ HTML::linkAction('OutcomesController@adminProgramIndex', 'View Program Courses Results') }}
                    </li>
                    <li>{{ HTML::linkAction('TransformativeActionsController@viewTransformativeActions', 'View Transformative Actions') }}
                    </li>

                    <li>{{ HTML::linkAction('TransformativeActionsController@viewFormativeActions', 'View Formative Actions') }}

                </ul>
            </li>

            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
                    aria-expanded="false">Management<span class="caret"></span></a>
                <ul class="dropdown-menu dropdown-menu-left" role="menu">
                    <li>{{ HTML::linkAction('CoursesController@editView','Create Courses')}}</li>
                    <li>{{ HTML::linkAction('CoursesController@reassign', 'Reassign Courses') }}</li>
                    <li>{{ HTML::linkAction('ProgramsController@assignOtherProgramIndex', 'Manage Program Courses Permissions')}}

                    <li>{{ HTML::linkAction('OutcomesController@index', 'Learning Outcomes') }}</li>

                    <li>{{ HTML::linkAction('SemestersController@edit', 'Semesters') }}</li>
                    <li>{{ HTML::linkAction('ThreeYearPlanController@manageSemesterCycle', 'Schedule Assessment Cycle') }}
                    </li>

                    <li>{{ HTML::linkAction('UsersController@index', 'Users') }}</li>
                </ul>
            </li>


            @if (count(Auth::user()->courses))
                <li> {{ HTML::linkAction('ProfessorsController@overview', 'My Courses', null) }}</li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
                        aria-expanded="false">Sections<span class="caret"></span></a>
                    <ul class="dropdown-menu" role="menu">
                        @foreach ($courses as $course)
                            <li> {{ HTML::linkAction('CoursesController@show', $course->code . $course->number . '-' . $course->section . ' (' . $course->semester->code . ')', ['id' => $course->id]) }}
                            </li>
                        @endforeach
                    </ul>
                </li>

            @endif








            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Help<span
                        class="caret"></span></a>
                <ul class="dropdown-menu dropdown-menu-left" role="menu">
                    <li>{{ HTML::linkAction('FeedbackController@create', 'Feedback') }}</li>
                    <!-- <li><a href="{{ asset('files/OLAS-intro.pdf') }}">Introduction to OLAS</a></li> -->
                    <li><a href="{{ asset('files/intro-avaluo.pdf') }}">Introduction to Assessment</a></li>
                    <!-- <li><a href="{{ asset('files/OLAS-coords.pdf') }}">OLAS for Coordinators</a></li> -->
                    <li><a
                            href="http://oeae.uprrp.edu/wp-content/uploads/2019/01/Brochure-de-OLAS-rev.-agosto-2018.pdf">Brochure</a>
                    </li>
                </ul>
            </li>
            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
                    aria-expanded="false">Account<span class="caret"></span></a>
                <ul class="dropdown-menu dropdown-menu-left" role="menu">
                    <li>{{ HTML::linkAction('UsersController@edit', 'Profile') }}</li>
                    <li>{{ HTML::linkAction('AuthController@logout', 'Log out (' . Auth::user()->email . ')') }}</li>
                </ul>
            </li>
            <li>
        </ul>
    </div>
</div>
