You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
2.2 KiB
56 lines
2.2 KiB
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
|
<jsp:include page="check_logstate.jsp"></jsp:include>
|
|
<%
|
|
String path = request.getContextPath();
|
|
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
|
|
%>
|
|
<!doctype html>
|
|
<html lang="zh_CN">
|
|
<head>
|
|
<base href="<%=basePath%>" />
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>欢迎使用后台管理系统</title>
|
|
<link rel="stylesheet" href="asset/page/css/style.default.css" type="text/css" />
|
|
<link rel="stylesheet" href="asset/page/css/responsive-tables.css">
|
|
<script type="text/javascript" src="asset/page/js/jquery-1.9.1.min.js"></script>
|
|
<script type="text/javascript" src="asset/page/js/bootstrap.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class="mainwrapper">
|
|
<div class="maincontent">
|
|
<div class="maincontentinner">
|
|
<h4 class="widgettitle">宿舍评分列表</h4>
|
|
<table id="dyntable" class="table table-bordered responsive">
|
|
|
|
<thead>
|
|
<tr>
|
|
<th style="text-align: center;"> </th>
|
|
<th style="text-align: center;">宿舍</th>
|
|
<th style="text-align: center;">分数</th>
|
|
<th style="text-align: center;">内容</th>
|
|
<th style="text-align: center;">日期</th>
|
|
<th style="text-align: center;">操作</th>
|
|
</tr>
|
|
</thead>
|
|
<c:forEach items="${topicList}" var="topic">
|
|
<tr style="text-align: center;">
|
|
<td style="text-align: center;"> </td>
|
|
<td style="text-align: center;">${topic.roomsname}</td>
|
|
<td style="text-align: center;">${topic.num}</td>
|
|
<td style="text-align: center;">${topic.contents}</td>
|
|
<td style="text-align: center;">${topic.addtime}</td>
|
|
<td style="text-align: center;"><a href="topic/getTopicById.action?id=${topic.topicid}">编辑</a> <a
|
|
href="topic/deleteTopic.action?id=${topic.topicid}" onclick="{if(confirm('确定要删除吗?')){return true;}return false;}">删除</a></td>
|
|
</tr>
|
|
</c:forEach>
|
|
</tbody>
|
|
</table>
|
|
<div class="dataTables_info" id="dyntable_info" style="text-align: right;">${html }</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|