This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
k18-ntcs-web-ntc/src/main/webapp/WEB-INF/views/index.jsp
duandongmei 1a94c225bc IP/domain intercepter增加whitelist
修改配置统计界面无效的service不显示
2018-07-31 11:13:11 +08:00

132 lines
4.0 KiB
Plaintext

<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/include/taglib.jsp"%>
<html>
<head>
<style type="text/css">
.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>
</head>
<title>index</title>
</head>
<body class="page-full-width">
<!--<input id="page_load_num" type="hidden" />
<div id="alert" class="modal hide fade">
<div class="modal-header" id="modal_title">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true"></button>
<h3>
Note
</h3>
</div>
<div class="modal-body" id="modal_body">
</div>
<div class="modal-footer">
<button type="button" id="OK" class="btn red"
onclick="statisticProtocol()">
<s:text name="button.confirm"/>
</button>
<button type="button" data-dismiss="modal" class="btn">
<s:text name="button.cancel"/>
</button>
</div>
</div> -->
<div class="page-content">
<font size="4"><i class="fa fa-cogs"><spring:message code="configure_statistics_info"/></i></font> <a style="color:#333333" href="${ctx}/configure/statistics/configureStateStatistics" 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>