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/report/srcIp.jsp

35 lines
1.1 KiB
Plaintext

<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/include/taglib.jsp"%>
<table id="contentTable1" class="table table-striped table-bordered table-condensed text-nowrap xlsx">
<thead>
<tr>
<th><spring:message code="src_province"/></th>
<th><spring:message code="src_city"/></th>
<th><spring:message code="log_total"/></th>
<c:forEach items="${titles}" var="title">
<th>${title}</th>
</c:forEach>
</tr>
</thead>
<tbody>
<script type="text/javascript">
var trContent = "";
<c:forEach items="${datas}" var="data">
trContent += "<tr>";
<c:forEach items="${fn:split(data.key,splitor)}" var="location">
trContent += "<td>${location}</td>";
</c:forEach>
<c:forEach items="${data.value}" var="cloumn" varStatus="status">
trContent += "<td>${cloumn}</td>";
</c:forEach>
trContent += "</tr>";
</c:forEach>
$('tbody').remove();
$('#contentTable1').append("<tbody></tbody>");
$('tbody').html(trContent);
pagination();
</script>
</tbody>
</table>
<div class="page"></div>