<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
-<%@page import="java.util.ArrayList"%>
+<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
<html>
<jsp:include page="../fragments/header.jsp" />
<p style="font-weight:bold;">IP Statistics</p>
</div>
<div class="panel-body">
-
+<sec:authorize access="hasRole('ROLE_ADMIN')">
+ <p>Servlet execution time: ${timeExecution} milliseconds</p>
+</sec:authorize>
<c:choose>
<c:when test="${njobs == 0}">
<p>No IP with at least ${counter} jobs ever launched found</p>
</c:when>
<c:otherwise>
- <p>${njobs} IP with at least ${counter} jobs ever launched</p>
+ <p>${njobs} IPs with at least ${counter} jobs ever launched</p>
<div class="table-responsive">
<table class="table table-striped table-hover table-bordered" id="counts">
<thead>