<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>私塾家</title>
<script th:include="sys/common/metaCSS" th:remove="tag"></script> 
<script th:include="sys/common/metaJS" th:remove="tag"></script> 
<script src="sys/js/My97DatePicker/WdatePicker.js" th:src="@{/static/sys/js/My97DatePicker/WdatePicker.js}"></script>
</head>
<style>
	.tablelink{margin-right:10px;}
	.stylecss{
	      color: red;
	}
	.select_width{
	     width: 220px;
	}
	.date_width{
	     width: 150px;
	}
</style>
<body>
<div class="place">
	<span>位置：</span>
	<ul class="placeul">
		<li><a th:href="@{/sys/imuser/school/list}">导入老师/学生</a></li>
		<li><a href="#">班级列表</a></li>
	</ul>
</div>
<div class="rightinfo">
	<form id="seachform" th:action="${sysUrl+'/sys/imuser/school/list/'+tbLibJoin.id}" method="post">
	  <input type="hidden" name="reportType" id="reportType" />
		<ul class="seachform">
			<li>
			  <input style="width: 250px;" name="className" placeholder="输入班级名称" type="text" class="scinput" th:value="${search.get('className')}"/>
		    </li>
		    <li>
			  <input type="button" class="scbtn" value="查询" />
		    </li>
		    
		      <li style="line-height: 35px;">
		    	<span style="font-size: 15px;color: red" th:text="${tbLibJoin.leagueName} "></span> 
		    </li>
		      <li style="line-height: 35px;">
		    	<a th:href="${sysUrl+'/sys/imlibuser/school/list'}">返回上一级</a> 
		    </li>
		    
		</ul>
	</form>
	

	<table class="tablelist">
		<thead>
		    <tr>
		    	<th>年级</th>
		    	<th>班级</th>
		    	<th>学生人数</th>
		        <th>老师人数 </th>
		        <th>操作</th>
		    </tr> 
		</thead>
		<tbody>
			<tr th:each="item:${list}" >
				<td th:text="${item.grade}"></td>
				<td th:text="${item.class_name}"></td>
				<td th:text="${item.student_num}"></td>
				<td th:text="${item.teacher_num}"></td>
				<td>
					<a th:href="${sysUrl+'/sys/imuser/student/list/'+item.id}"  class="tablelink">学生详情</a>
					<a th:href="${sysUrl+'/sys/imuser/teacher/list/'+item.id}" class="tablelink">老师详情</a>
				</td>
			</tr>
		</tbody>
	</table>


	<!-- 分页 -->
	<div class="pagin">
    	<div class="message">共<i class="blue">[[${page.rowCnt}]]</i>条记录，当前显示第&nbsp;<i class="blue">[[${page.pageNo }]]&nbsp;</i>页</div>
    	<div th:utext='${listNavigatHtml}' th:remove="tag" ></div>
   	</div>
</div>
</body>

<script type="text/javascript">

</script>


</html>