<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ page isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%
    String basePath = request.getContextPath();
%>
<div class="table-responsive">
    <table class="table table-striped table-bordered table-hover " >
        <thead>
        <tr>
            <th>序号</th>
            <th>目录类型</th>
            <th>数据资源分类</th>
            <th>信息资源代码</th>
            <th>信息资源名称</th>
            <th>信息资源摘要</th>
            <th>信息资源格式</th>
            <th>信息资源提供方</th>
            <th>信息项</th>
</tr>
</thead>
<tbody>
<c:choose>
    <c:when test="${list!=null}">
        <c:forEach items="${list}" var="item" varStatus="status">
            <tr style="" >
                <td>${(pager.pageNo-1)*pager.pageSize+status.count}</td>
                <td style="max-width:150px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="${item.catelogType}">${item.catelogType}</td>
                <td style="max-width:150px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="${item.catelogName}">${item.catelogName}</td>
                <td>${item.dataCode}</td>
                <td>${item.dataName}</td>
                <td>${item.dataSummary}</td>
                <td>${item.dataSourceTypeString}</td>
                <td>${item.sectorName}</td>
                <td>${item.itemName}</td>
            </tr>
        </c:forEach>
    </c:when>
    <c:otherwise>
        <tr>
            <td colspan="4">无数据</td>
        </tr>
    </c:otherwise>
</c:choose>
</tbody>
</table>
</div>
<jsp:include page="../../../common/admin/pager.jsp">
    <jsp:param name="pageNo" value="${pager.pageNo}"/>
    <jsp:param name="pageSize" value="${pager.pageSize}"/>
    <jsp:param name="total" value="${pager.total}"/>
    <jsp:param name="pagerId" value="pagerResourceList"/>
    <jsp:param name="searchFunction" value="searchResourceList();"/>
    <jsp:param name="pageHidenId" value="pageNoResourceList"/>
</jsp:include>

