Examination_system/Examination_system-1/.svn/pristine/58/5880627be420a155062d0c633fa...

66 lines
2.2 KiB
Plaintext

<%@page import="com.bonus.core.DateTimeHelper"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html >
<html lang="en">
<meta name="renderer" content="webkit">
<head>
<%@include file="../baseset.jsp" %>
<%@include file="../systemset.jsp" %>
</head>
<style type="text/css">
.widget-toolbar a{
vertical-align:middle;
}
</style>
<body>
<div class="page-content" >
<div class="row-fluid">
<div class="col-xs-12">
<table id="baseTable">
<thead>
<tr>
<th style="width:10%"class="center">考试人员</th>
<th style="width:10%"class="center">身份证号</th>
<th style="width:10%" class="center">考试场次</th>
<th style="width:10%" class="center">是否到场</th>
<th style="width:10%" class="center">考试成绩</th>
</tr>
</thead>
<tbody>
<c:choose>
<c:when test="${yLists.size() > 0 || nLists.size() > 0}">
<c:forEach items="${yLists}" var="user" varStatus="idx">
<tr style="background-color: #8fc48f">
<td valign="middle" class="center">${user.name}</td>
<td valign="middle" class="center">${user.idcard}</td>
<td valign="middle" class="center">${user.times}</td>
<td valign="middle" class="center">
</td>
<td valign="middle" class="center">${user.grade}</td>
</tr>
</c:forEach>
<c:forEach items="${nLists}" var="user" varStatus="idx">
<tr style="background-color: #c0c0c0">
<td valign="middle" class="center">${user.name}</td>
<td valign="middle" class="center">${user.idcard}</td>
<td valign="middle" class="center">${user.times}</td>
<td valign="middle" class="center">
未到
</td>
<td valign="middle" class="center">${user.grade}</td>
</tr>
</c:forEach>
</c:when>
<c:otherwise>
<tr><td colspan='6' class='center'>暂无人员</td></tr>
</c:otherwise>
</c:choose>
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>