<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TesterList.aspx.cs" Inherits="Admin_Test_TesterList" %>

<!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 runat="server">
    <title>考试人员列表</title>
    <link href="../../StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div class="listAddLink">
            <a href="javascript:history.back();">返 回</a></div>
         <div class="listTop">
        <span class="title">评 卷</span>
            </div>
        <asp:Repeater ID="Repeater1" runat="server" >
        <HeaderTemplate>
       
            <table border="0" cellpadding="0" cellspacing="0" class="tableList" width="800">
            <tr class="header">
               <td>
               考试名称
               </td>
                <td>
                    考试人员</td>
                <td>
                    所在部门</td>
                <td>
                    开始考试时间</td>
                <td>
                    交卷时间</td>
                <td>
                    已用时</td>
                <td>
                    交卷方式</td>
                <td>
                    已参加考试
                </td>
                <td>
                    得分
                </td>
                <td>
                    已评卷
                </td>
                <td>
                    操 作</td>
            </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr class="body">
                <td>
                    <%#Eval("Test.TestName") %>
                </td>
                <td>
                    <%#Eval("Tester.Name") %></td>
                <td>
                    <%#Eval("Tester.Department.DeptName") %></td>
                <td>
                   <%#Eval("BeginTestTime") %></td>
                <td>
                   <%#Eval("SubmitTestTime") %></td>
                <td>
                    <%#Eval("HasUsedMinutes") %>分钟</td>
                <td>
                    <%#Eval("SubmitType") %></td>
                <td>
                    <%# (bool)Eval("HasTested")==true?"已参加":"<span style='color:red'>未参加</span>" %>
                </td>
                    <td>
                    <%# Eval("TotalScore") %>
                    </td>
                   <td>
                   <%# (bool)Eval("Marked") == true ? "已评卷" : "<span style='color:red'>未评卷</span>"%>
                   </td>
                <td>
               <asp:HyperLink ID="HyperLink1" runat="server"  NavigateUrl='<%#  ((int)Eval("Test.PaperType")==3 ? "MarkPaper.aspx" : ((int)Eval("Test.PaperType")==1 ? "MarkPaper2.aspx" :"MarkPaper3.aspx"))+"?testID="+Eval("Test.testID")+"&paperID="+Eval("Test.Paper.paperID")+"&recorderID="+Eval("recorderID")%>' Text='<%# (int)Eval("Test.PaperType")==2 ? "查看(自动评卷)" : "人工评卷"%>'></asp:HyperLink>
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
        </asp:Repeater>
        <div class="listBottom">
          <asp:Label ID="lblPageUrl" runat="server" ForeColor="White" Text=""></asp:Label></div>
        <div class="tip"><span class="content">交卷方式：显示“未提交”时，很可能是因为网络中断，此时交卷时间为最后一次自动保存答案的时间。</span></div>
    </div>
       
    </form>
</body>
</html>
