114 lines
4.4 KiB
Plaintext
114 lines
4.4 KiB
Plaintext
|
<%@ page contentType="text/html;charset=UTF-8" %>
|
||
|
<%@ include file="/webpage/include/taglib.jsp"%>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>分类文件</title>
|
||
|
<meta name="decorator" content="default"/>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(function() {
|
||
|
});
|
||
|
</script>
|
||
|
</head>
|
||
|
<body class="gray-bg">
|
||
|
<div class="wrapper wrapper-list-content">
|
||
|
<div class="ibox">
|
||
|
<%--<div class="ibox-title">
|
||
|
<h5>课程列表 </h5>
|
||
|
<div class="ibox-tools">
|
||
|
<a class="collapse-link">
|
||
|
<i class="fa fa-chevron-up"></i>
|
||
|
</a>
|
||
|
<a class="dropdown-toggle" data-toggle="dropdown" href="javascript:void(0);">
|
||
|
<i class="fa fa-wrench"></i>
|
||
|
</a>
|
||
|
<ul class="dropdown-menu dropdown-user">
|
||
|
<li><a href="javascript:void(0);">选项1</a>
|
||
|
</li>
|
||
|
<li><a href="javascript:void(0);">选项2</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a class="close-link">
|
||
|
<i class="fa fa-times"></i>
|
||
|
</a>
|
||
|
</div>
|
||
|
</div>--%>
|
||
|
|
||
|
<div class="ibox-content ibox-content-list">
|
||
|
<sys:message content="${message}"/>
|
||
|
<div class="pane-query-circle">
|
||
|
<!--查询条件-->
|
||
|
<div class="row">
|
||
|
<div class="col-sm-12">
|
||
|
<form:form id="searchForm" modelAttribute="article" action="${ctx}/article/article" method="post" class="form-inline">
|
||
|
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
|
||
|
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
|
||
|
<table:sortColumn id="orderBy" name="orderBy" value="${page.orderBy}" callback="sortOrRefresh();"/><!-- 支持排序 -->
|
||
|
</form:form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="pane-query-circle-list">
|
||
|
<!-- 表格 -->
|
||
|
<table id="contentTable" class="table table-striped table-bordered table-hover table-condensed dataTables-example dataTable">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th><nobr>序号</nobr></th>
|
||
|
<th class="sort-column title" style="width:40%"><nobr>文章标题</nobr></th>
|
||
|
<th class="sort-column titles" style="width:10%"><nobr>发布分类</nobr></th>
|
||
|
<th class="sort-column sort" style="width:10%"><nobr>排序</nobr></th>
|
||
|
<th class="sort-column createName" style="width:10%"><nobr>创建人</nobr></th>
|
||
|
<th class="sort-column createDate" style="width:10%"><nobr>创建时间</nobr></th>
|
||
|
<th class="sort-column updateDate" style="width:10%"><nobr>更新时间</nobr></th>
|
||
|
<th style="width:10%"><nobr>操作</nobr></th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<c:forEach items="${page.list}" var="article" varStatus="i">
|
||
|
<tr>
|
||
|
<td class="query-datatable-nowrap">${i.index+1}</td>
|
||
|
<td class="query-datatable-nowrap"><a href=""javascript:void(0);"" onclick="openDialogView('查看文章', '${ctx}/article/article/form?id=${article.id}','800px', '500px')">
|
||
|
<label class="query-datatable-nowrap td-fixed-width-350" title="${article.title}">
|
||
|
${article.title}
|
||
|
</label>
|
||
|
</a></td>
|
||
|
<td class="query-datatable-nowrap">
|
||
|
<label class="query-datatable-nowrap td-fixed-width-200" title="${article.titles}">
|
||
|
${article.titles}
|
||
|
</label>
|
||
|
</td>
|
||
|
<td class="query-datatable-nowrap">
|
||
|
${article.sort}
|
||
|
</td>
|
||
|
<td class="query-datatable-nowrap">
|
||
|
${article.createName}
|
||
|
</td>
|
||
|
<td class="query-datatable-nowrap">
|
||
|
<fmt:formatDate value="${article.createDate}" pattern="yyyy-MM-dd"/>
|
||
|
</td>
|
||
|
<td class="query-datatable-nowrap">
|
||
|
<fmt:formatDate value="${article.updateDate}" pattern="yyyy-MM-dd"/>
|
||
|
</td>
|
||
|
<td class="query-datatable-nowrap">
|
||
|
<shiro:hasPermission name="article:articel:view">
|
||
|
<a href="javascript:void(0);" onclick="openDialogView('查看文文章信息', '${ctx}/article/article/form?id=${article.id}','800px', '500px')" class="btn btn-info btn-xs" title="查看" ><i class="fa fa-search-plus"></i> </a>
|
||
|
</shiro:hasPermission>
|
||
|
<shiro:hasPermission name="article:articel:edit">
|
||
|
<a href="javascript:void(0);" onclick="openDialog('修改文章信息', '${ctx}/article/article/form?id=${article.id}','800px', '500px')" class="btn btn-success btn-xs" title="修改" ><i class="fa fa-edit"></i> </a>
|
||
|
</shiro:hasPermission>
|
||
|
<shiro:hasPermission name="article:articel:del">
|
||
|
<a href="${ctx}/article/article/delete?id=${article.id}" onclick="return confirmx('确认要删除该文章信息吗?', this.href)" class="btn btn-danger btn-xs" title="删除"><i class="fa fa-trash"></i> </a>
|
||
|
</shiro:hasPermission>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</c:forEach>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
|
||
|
<!-- 分页代码 -->
|
||
|
<table:page page="${page}"></table:page>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|