1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3 <%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
4 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
5 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
6 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
9 <jsp:include page="../fragments/header.jsp" />
11 <div class="container">
12 <jsp:include page="../fragments/mainmenu.jsp" />
13 <spring:url value="/stat/exectime/results?date1=${date1}&date2=${date2}&option=${option}" var="the_query" />
15 <!-- reload and CSV buttons -->
16 <ul class="nav navbar-nav navbar-right">
18 <a href="${the_query}" class="btn btn-default active">Reload</a>
20 <c:choose><c:when test="${csvfile != ''}">
22 <a id="forCSVfile" download="data.csv" href="data:application/csv;charset=utf-8,${csvfile}" class="btn btn-default active">CVS</a>
27 <!-- main data loop -->
28 <div class="panel panel-default">
29 <div class="panel-heading">
31 <c:when test="${option == 'AllDates,off'}">
32 <p style="font-weight:bold;">Time execution for the whole period (${ndays} days)</p>
35 <p style="font-weight:bold;">Time execution for the interval: ${date1} - ${date2} (${ndays} days)</p>
40 <div class="panel-body">
42 <c:when test="${result == null}">
43 <p>No jobs for this period</p>
46 <div class="table-responsive">
47 <table class="table table-striped table-hover table-bordered">
50 <th style="text-align: center; width: 150px">Date</th>
51 <th style="text-align: center; width: 150px">Total</th>
52 <th style="text-align: center; width: 150px">0 - 30 s</th>
53 <th style="text-align: center; width: 150px">30 - 60 s</th>
54 <th style="text-align: center; width: 150px">1 - 2 min</th>
55 <th style="text-align: center; width: 150px">2 - 10 min</th>
56 <th style="text-align: center; width: 150px">more then 10 min</th>
60 <tr style="font-weight: bolder;">
61 <td style="text-align: center">Total:</td>
62 <c:set var="total" value="${result.wholeTotal}"/>
63 <td style="text-align: right">${total.total}</td>
64 <td style="text-align: right">${total.total0_30s}</td>
65 <td style="text-align: right">${total.total30_60s}</td>
66 <td style="text-align: right">${total.total1_2m}</td>
67 <td style="text-align: right">${total.total2_10m}</td>
68 <td style="text-align: right">${total.total10m}</td>
71 <c:forEach items="${result.dateTotal}" var="res">
73 <td style="text-align: center">${res.key}</td>
74 <c:set var="value" value="${res.value}"/>
75 <td style="text-align: right">${value.total}</td>
76 <td style="text-align: right">${value.total0_30s}</td>
77 <td style="text-align: right">${value.total30_60s}</td>
78 <td style="text-align: right">${value.total1_2m}</td>
79 <td style="text-align: right">${value.total2_10m}</td>
80 <td style="text-align: right">${value.total10m}</td>
91 <jsp:include page="../fragments/footer.jsp" />