<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
    <title></title>

    <link rel="canonical" href="https://getbootstrap.com/docs/4.5/examples/navbar-static/">

    <!-- Bootstrap core CSS -->
	<link href="css/bootstrap.min.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="css/navbar-top.css" rel="stylesheet">
  </head>
  <body>
  <nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4">
  <a class="navbar-brand" href="#">AGENDA</a>
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <div class="collapse navbar-collapse" id="navbarCollapse">
    <ul class="navbar-nav mr-auto">
      <li class="nav-item active">
        <a class="nav-link" href="personadb">Inicio <span class="sr-only">(current)</span></a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="personadb?opcion=registrar">Nuevo Contacto</a>
      </li>
    </ul>
    <form class="form-inline mt-2 mt-md-0">
    <ul class="navbar-nav mr-auto">
      <li class="nav-item active">
    <a class="nav-link">${usuario.nombres.toUpperCase().charAt(0)}${usuario.nombres.substring(1, usuario.nombres.length())} ${usuario.apellidos.toUpperCase()}</a>
     </li>
    </ul>
      <!-- <input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search"> -->
      <a class="btn btn-outline-danger my-2 my-sm-0" href="login?opcion=salir">Cerrar Sesión</a>
    </form>
  </div>
  </nav>
</body>

</html>