I'm trying to use bootstrap 3
along with VRaptor 3
and I'm having a problem with the menu.
It happens that I have the "exit" option in this menu and I'm lost.
I need the user to click on "exit", open a window asking if this is what they want and giving "ok" to exit the system.
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Rede Olp</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="<c:url value="/inicial"/>">Home</a></li>
<li><a href="<c:url value="/logout"/>">Sair</a></li>
</ul>
<form class="navbar-form navbar-right">
<input type="text" class="form-control" placeholder="Search...">
</form>
</div>
</div>
</nav>