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

<!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 class="listAddLink" style="width:900px;" >
            <a href="javascript:history.back();">返 回</a></div>
        <div class="listTop" style="width:900px;">
            <span class="title">评卷管理</span>
        </div>
        <div>
         <asp:Repeater ID="rplTestList" runat="server" >
            <HeaderTemplate>
           
                 <table border="0" cellpadding="0" cellspacing="0" class="tableList" width="900px">
            <tr class="header">
                <td style="width: 30px; height: 20px;">
                    编号</td>
                <td style="height: 20px">
                    考试名称</td>
                <td style="height: 20px">
                   组卷方式 </td>
                <td style="width: 76px; height: 20px">
                考试时长
                    </td>
                <td style="height: 20px">
                    试卷总分</td>
                <td style="height: 20px">
                    通过分数</td>
                <td style="height: 20px">
                    创建者</td>
                <td style="height: 20px">
                    有效起始</td>
                     <td style="height: 20px">
                    有效终止</td>
                <td >
                是否过期
                </td>
                <td style="height: 20px">
                    操 作</td>
            </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr class="body">
                <td >
                    <%#Eval("TestID") %></td>
                <td>
                  <%#Eval("TestName") %></td>
                  <td>
                       <%#Eval("PaperType") %></td>
                <td style="width: 76px">
                    <%#Eval("NeededMinutes") %>分钟</td>
                <td style="height: 18px">
                    <%#Eval("TotalScores") %>分</td>
                <td style="height: 18px">
                    <%#Eval("PassScores") %>分</td>
                <td>
                    <%#Eval("Creator.Name") %></td>
                <td>
                    <%# ((DateTime)Eval("EnableDate")).ToShortDateString() %></td>
                    <td>
                    <%# ((DateTime)Eval("UnabaleDate")).ToShortDateString()%></td>
                 <td>
                  <%# (bool)Eval("HasUnable") == true ? "<span style='color:red;'>已过期</span>" : "未过期"%>
                 </td>
                <td>
                <a href='testerList.aspx?TestID=<%#Eval("TestID") %>'><%#(int)Eval("PaperType")==2 ? "查看(自动评卷)" :"评 卷" %></a> </td>
            </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
          
        <div class="listBottom" style="width: 900px">
            <asp:Label ID="lblPageUrl" runat="server" Text="" ForeColor="White"></asp:Label></div>
    
    </div>
       
    </form>
</body>
</html>
