<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestRecorderList.aspx.cs" Inherits="Tester_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 style="margin-top:10px;">
            <div class="listTop">
                <span class="title">考试记录</span>
            </div>
            <asp:Repeater ID="rptTestRecorder" runat="server">
                <HeaderTemplate>
                      <table  class="tableList" width="800px"  border="0" cellpadding="0" cellspacing="0">
                <tr class="header">
                    <td style="width: 54px; height: 20px">
                        记录编号</td>
                    <td style="height: 20px">
                        考试名称</td>
                    <td style="width: 53px; height: 20px">
                        考试时长</td>
                    <td style="height: 20px">
                        开始考试时间</td>
                    <td style="height: 20px">
                        交卷时间</td>
                    <td style="width: 82px; height: 20px">
                        实际考试用时</td>
                    <td style="width: 57px; height: 20px">
                        交卷方式</td>
                   <td style="width: 82px; height: 20px">
                        是否已参加</td>
                </HeaderTemplate>
                <ItemTemplate>
                       <tr class="body">
                    <td style="width: 20px; height: 18px">
                        <%#Eval("RecorderID") %></td>
                    <td style="height: 18px">
                        <%#Eval("Test.TestName") %></td>
                    <td style="width: 53px; height: 18px">
                        <%#Eval("Test.NeededMinutes") %>分钟</td>
                    <td style="height: 18px">
                        <%#Eval("BeginTestTime") %></td>
                    <td style="height: 18px">
                        <%#Eval("SubmitTestTime") %></td>
                    <td style="width: 82px; height: 18px">
                        <%#Eval("HasUsedMinutes") %>分钟</td>
                    <td style="width: 57px; height: 18px">
                        <%#Eval("SubmitType") %></td>
                     <td style="width: 57px; height: 18px">
                        <%# (bool)Eval("HasTested")==true ?"已参加" : "<span style='color:red'>未参加</span>" %></td>
                </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
            <div class="listBottom">
                <span class="content">总共<asp:Label ID="lblCount" runat="server" Text="0"></asp:Label>条记录</span></div>
                <div class="tip"><span class="content">交卷方式：显示“未提交”时，很可能是因为网络中断，此时交卷时间为最后一次自动保存答案的时间。</span></div>
                
        </div>
    
    </form>
</body>
</html>
