首页增加配置统计列表
This commit is contained in:
127
src/main/webapp/WEB-INF/views/index.jsp
Normal file
127
src/main/webapp/WEB-INF/views/index.jsp
Normal file
@@ -0,0 +1,127 @@
|
||||
<%@ 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">
|
||||
<tr>
|
||||
<td>
|
||||
<c:forEach items="${serviceList }" var="serviceDict" varStatus="status" step="1">
|
||||
<c:if test="${serviceDict.serviceId eq statistics.service }">
|
||||
<spring:message code="${serviceDict.serviceName }"/>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
</td>
|
||||
<td>
|
||||
${statistics.approved }
|
||||
</td>
|
||||
<td>
|
||||
${statistics.unapproved }
|
||||
</td>
|
||||
<td>
|
||||
${statistics.cancle_approved }
|
||||
</td>
|
||||
<td>
|
||||
${statistics.created }
|
||||
</td>
|
||||
<td>
|
||||
${statistics.deleted }
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user