The Navbar at the top of the page can be easily customized by providing a replacement JSP Fragment.
Assuming you are building your Tobar Segais web application using the technique described in Chapter 2 all you need do is create the file src/main/webapp/WEB-INF/custom-navbar.jspf
containing the custom navbar. For example, the default Navbar has the following custom-navbar.jspf
:
<%@ page contentType="text/html;charset=UTF-8" language="java" %> <div class="navbar navbar-fixed-top no-print"> <div class="navbar-inner"> <div class="container-fluid"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a class="brand" href="http://www.tobarsegais.org/"> <img src="/img/header-logo.png" border="0"/> Tobar Segais </a> <div class="nav-collapse"> <ul class="nav"> <li class="active"><a href="${pageContext.request.contextPath}/docs/">Home</a></li> </ul> </div> </div> </div> </div>