<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/taglib/c.tld" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>网上阅卷系统</title>
<link rel="stylesheet" type="text/css" href="${ctx}/static/subjecthead/style/subjectheader_login.css" />
</head>

<body>
	<div id="login">
		<div class="grid-946 header-wrap">网上阅卷系统</div>
		<div class="grid-946 banner">
		<form action="${ctx }/subjectheader/login" method="post">
		<div class="login-bgcolor">
		<div class="banner-img">
		<div class="login-box">
			<div class="login-title">
				<h1>网上阅卷系统</h1>
			</div>
			<div class=" field field-username">
		      <label class="field-lable">考试：</label>
		      <select class="span3 label-span" name="examId" id="examId">
		      	<c:forEach items="${list }" var="exam">
		      		<option value="${exam.id }">${exam.name }</option>
		      	</c:forEach>
		      </select>
		    </div>
			<div class=" field field-username">
				<label class="field-lable">用户名：</label> 
				<input id="code" name="code" type="text" class="field-input" value="" />
			</div>
			<div class=" field field-password" style="margin-bottom:8px;">
				<label class="field-lable">登录密码：</label> 
				<input id="password" name="password" type="password" class="field-input" />
			</div>
			<div class="control-group">
				<div class="controls">
				<c:if test="${message !=null }">
					<p class="message"><i class="icon-exclamation-sign icon-red" style="margin:4px;"></i>${message }</p>
				</c:if>
					<button type="submit" class="button button-font">登录</button>
				</div>
			</div>
		</div>
		</div>
		</div>
		</form>
		</div>
		<div class="grid-946 footer">
			<p class="footer-font">Copyright © 2011 启明泰和服务有限公司</p>
		</div>
	</div>
</body>
</html>
