163 lines
5.1 KiB
Plaintext
163 lines
5.1 KiB
Plaintext
<%@ page contentType="text/html;charset=UTF-8"%>
|
|
<%@ include file="/WEB-INF/include/taglib.jsp"%>
|
|
<html>
|
|
<head>
|
|
<style type="text/css">
|
|
.statisticsRequest{
|
|
padding:10px 0px 0px 10px;
|
|
width:99%
|
|
}
|
|
.statisticsStatus{
|
|
padding:10px 0px 0px 10px;
|
|
width:99%
|
|
}
|
|
.page{
|
|
padding:8px 0px 5px 0px;
|
|
}
|
|
.tableDiv{
|
|
width:100%;
|
|
overflow-x:auto;
|
|
}
|
|
.table {
|
|
margin-bottom: 0px;
|
|
margin-top: 0px;
|
|
max-width: 100%;
|
|
width: 100%;
|
|
}
|
|
.table > thead > tr > th {
|
|
vertical-align: bottom;
|
|
border-bottom: 2px solid #e7ecf1; }
|
|
.table > caption + thead > tr:first-child > th,
|
|
.table > caption + thead > tr:first-child > td,
|
|
.table > colgroup + thead > tr:first-child > th,
|
|
.table > colgroup + thead > tr:first-child > td,
|
|
.table > thead:first-child > tr:first-child > th,
|
|
.table > thead:first-child > tr:first-child > td {
|
|
border-top: 0;
|
|
background-color: #E9E9E9;
|
|
color: #333333;
|
|
height: 38px;
|
|
line-height: 38px;
|
|
padding-top: 0px;
|
|
padding-right: 10px;
|
|
padding-bottom: 0px;
|
|
padding-left: 10px;
|
|
}
|
|
.table > tbody + tbody {
|
|
border-top: 2px solid #D9D9D9; }
|
|
.table .table {
|
|
background-color: #fff; }
|
|
|
|
.table-condensed > thead > tr > th,
|
|
.table-condensed > thead > tr > td,
|
|
.table-condensed > tbody > tr > th,
|
|
.table-condensed > tbody > tr > td,
|
|
.table-condensed > tfoot > tr > th,
|
|
.table-condensed > tfoot > tr > td {
|
|
padding-left:10px; }
|
|
|
|
.table-bordered {
|
|
border: 1px solid #D9D9D9; }
|
|
.table-bordered > thead > tr > th,
|
|
.table-bordered > thead > tr > td,
|
|
.table-bordered > tbody > tr > th,
|
|
.table-bordered > tbody > tr > td,
|
|
.table-bordered > tfoot > tr > th,
|
|
.table-bordered > tfoot > tr > td {
|
|
border: 1px solid #D9D9D9; }
|
|
.table-bordered > thead > tr > th,
|
|
.table-bordered > thead > tr > td {
|
|
border-bottom-width: 2px; }
|
|
</style>
|
|
<script type="text/javascript">
|
|
$(function(){
|
|
closeTip();
|
|
});
|
|
</script>
|
|
</head>
|
|
<title>index</title>
|
|
</head>
|
|
|
|
<body class="page-full-width">
|
|
<div class="statisticsRequest">
|
|
<form id="searchForm" action="${ctx}/configure/statistics/configureStateStatistics" >
|
|
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
|
|
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
|
|
<font size="4"><i class="fa fa-cogs"> <spring:message code="letter_statistics_info"/></i></font> <a style="color:#333333" href="javascript:page(${page.pageNo},${page.pageSize});" class="icon-refresh pull-right"> </a>
|
|
<h5 class="page-header"></h5>
|
|
<div class="tableDiv">
|
|
<table id="contentTable" class="table table-striped table-bordered table-condensed text-nowrap">
|
|
<thead>
|
|
<tr>
|
|
<th><spring:message code="letter"/></th>
|
|
<c:forEach items="${serviceList }" var="serviceDict" varStatus="status" step="1">
|
|
<th><spring:message code="${serviceDict.serviceName }"/></th>
|
|
</c:forEach>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<c:forEach items="${page.list }" var="requestStatistics" varStatus="statusRequest" step="1">
|
|
<tr>
|
|
<td>${requestStatistics['request']}</td>
|
|
<c:forEach items="${serviceList }" var="serviceDict" varStatus="status" step="1">
|
|
<td>${requestStatistics[serviceDict.serviceName]}</td>
|
|
</c:forEach>
|
|
</tr>
|
|
</c:forEach>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</form>
|
|
<div class="page">${page}</div>
|
|
</div>
|
|
<div class="statisticsStatus">
|
|
<font size="4"><i class="fa fa-cogs"> <spring:message code="configure_statistics_info"/></i></font> <a style="color:#333333" href="javascript:page(${page.pageNo},${page.pageSize});" class="icon-refresh pull-right"> </a>
|
|
<h5 class="page-header"></h5>
|
|
<table id="contentTable" class="table table-striped table-bordered table-condensed text-nowrap">
|
|
<thead>
|
|
<tr>
|
|
<th><spring:message code="service_name"/></th>
|
|
<th><spring:message code="approved"/></th>
|
|
<th><spring:message code="unapproved"/></th>
|
|
<th><spring:message code="cancel_approved"/></th>
|
|
<th><spring:message code="created"/></th>
|
|
<th><spring:message code="deleted"/></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<c:forEach items="${configStatistics }" var="statistics" varStatus="status" step="1">
|
|
<c:set var="serviceName" value=""></c:set>
|
|
<c:forEach items="${serviceList }" var="serviceDict" varStatus="status" step="1">
|
|
<c:if test="${serviceDict.serviceId eq statistics.service }">
|
|
<c:set var="serviceName" value="${serviceDict.serviceName }"></c:set>
|
|
</c:if>
|
|
</c:forEach>
|
|
<c:if test="${!empty serviceName }">
|
|
<tr>
|
|
<td>
|
|
<spring:message code="${serviceName }"/>
|
|
</td>
|
|
<td>
|
|
${statistics.approved }
|
|
</td>
|
|
<td>
|
|
${statistics.unapproved }
|
|
</td>
|
|
<td>
|
|
${statistics.cancle_approved }
|
|
</td>
|
|
<td>
|
|
${statistics.created }
|
|
</td>
|
|
<td>
|
|
${statistics.deleted }
|
|
</td>
|
|
</tr>
|
|
</c:if>
|
|
</c:forEach>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</body>
|
|
</html>
|