<%@include file="/WEB-INF/includeTemplate.inc" %>
<nav class="filter-bar bg-light-grey navbar navbar-default">
	<div class="container">
		<ul class="nav navbar-nav">
			<sec:authorize access="hasRole('GESTOR')">
				<li <c:if test="${!empty catalogo}">class="active"</c:if>><a href="<c:url value="/gestion/catalogoGeneral" />"><spring:message code="menu.catalogoGeneral" /></a></li>
			</sec:authorize>
			<sec:authorize access="hasRole('GESTOR')">
				<li <c:if test="${!empty gestion}">class="active"</c:if>><a href="<c:url value="/gestion/gestionStock" />"><spring:message code="menu.gestionStocks" /></a></li>
			</sec:authorize>
			<sec:authorize access="hasRole('GESTOR')">
				<li <c:if test="${!empty solicitudes}">class="active"</c:if>><a href="<c:url value="/gestion/solicitudesRecibidas" />"><spring:message code="menu.solicitudesRecibidas" /></a></li>
			</sec:authorize>
			<sec:authorize access="hasAnyRole('USUARIO','GESTOR')">
				<li <c:if test="${!empty solicitud}">class="active"</c:if>><a href="<c:url value="/usuario/solicitudFolletos" />"><spring:message code="menu.solicitudFolletos" /></a></li>
			</sec:authorize>
			<sec:authorize access="hasAnyRole('USUARIO','GESTOR')">
				<li <c:if test="${!empty misSolicitudes}">class="active"</c:if>><a href="<c:url value="/usuario/misSolicitudes" />"><spring:message code="menu.misSolicitudes" /></a></li>
			</sec:authorize>
		</ul>
		<ul class="nav navbar-nav navbar-right menuAyudaContacto">
			<li>
				<div class="btn-group">
  					<button type="button" class="btn btn-material-circle bordered-white dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    					<i class="icon material-icons" data-toggle="tooltip" data-placement="bottom" title="<spring:message code="app.configuracion" />" >settings</i>
  					</button>
  					<ul class="dropdown-menu">
    					<li><a href="<c:url value="/usuario/puntosRecepcion" />"><spring:message code="menu.puntosRecepcion" /></a></li>    
  					</ul>
				</div>
			</li>
			<li>
				<a target="_blank" class="btn btn-material-circle bordered-white" data-toggle="tooltip" data-placement="bottom" title="<spring:message code="app.ayuda" />" role="button" href="${staticsUrl}/docs/<sec:authentication property="principal.urlManual" />"><i class="icon material-icons">help</i></a>
			</li>
		</ul>
	</div>
</nav>