<header class="main-header">
  <nav class="navbar navbar-static-top">
    <div class="container-fluid">
      <!-- <div class="navbar-header">
        <img src="<?php echo e(asset('public/mystyle')); ?>/AoS_Logo.png" width="150px">
      </div> -->
      <div class="navbar-header">
        
        <a href="<?php echo e(route('sample_file')); ?>" class="navbar-brand" style="margin-top: -10px;"><b><img src="<?php echo e(asset('public/mystyle')); ?>/country.svg" width="50px"> &nbsp; AMR</b></a>
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
          <i class="fa fa-bars"></i>
        </button>
      </div>

      <!-- Collect the nav links, forms, and other content for toggling -->
      <div class="collapse navbar-collapse pull-left" id="navbar-collapse">
        <ul class="nav navbar-nav">
          <li class="<?php echo e(Request::is('/') || Request::is('home') ? 'active': null); ?>"><a href="<?php echo e(route('sample_file')); ?>">Sample File</a></li>

          <li class="<?php echo e(Request::is('irsx') ? 'active': null); ?>"><a href="<?php echo e(route('irsx')); ?>">RIS File</a></li>

          <?php if(Auth::user()->role == 'Admin'): ?>
          <li class="<?php echo e(Request::is('user/*') ? 'active': null); ?>"><a href="<?php echo e(route('register-home')); ?>">User Management</a></li>
          <?php endif; ?>
        </ul>
      </div>
      <!-- /.navbar-collapse -->
      <!-- Navbar Right Menu -->
      <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
  
          <!-- User Account Menu -->
          <li class="dropdown user user-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              
              <span class="fa fa-user"></span>
            <span class="hidden-xs"><?php echo e(Auth::user()->username); ?></span>
          </a>
            <ul class="dropdown-menu">
              <!-- The user image in the menu -->
              <li class="user-header">
                <br>
                <p> <?php echo e(Auth::user()->name); ?> </p>
                <p><small>User role: <?php echo e(Auth::user()->role); ?></small></p>
              </li>
              <!-- Menu Footer-->
              <li class="user-footer">
                <div class="pull-left">
                  <a href="<?php echo e(route('change_pass')); ?>" class="btn btn-warning btn-flat">Change password</a>
                </div>
                <div class="pull-right">
                  <a href="#" class="btn btn-danger btn-flat" data-toggle="modal" data-target="#modal-default">Sign out</a>
                </div>
              </li>
            </ul>
          </li>
          <li class="user user-menu" style="padding-top: 10px;">
            <img src="<?php echo e(asset('public/mystyle')); ?>/FIND_logo.png" width="80px">
          </li>
        </ul>
      </div>
      <!-- /.navbar-custom-menu -->
    </div>
    <!-- /.container-fluid -->
  </nav>
</header><?php /**PATH C:\xampp\htdocs\glass_report\resources\views/inc/top_nav.blade.php ENDPATH**/ ?>