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

<!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">
            <a href="javascript:history.back();">返 回</a></div>
            <div class="listTop">
                <span class="title">考试成绩</span></div>
                <asp:Repeater ID="rptMarkList" runat="server">
                    <HeaderTemplate>
                     <table class="tableList" width="800"  border="0" cellpadding="0" cellspacing="0">
                     <tr class="header">
                     <td>考生姓名</td>
                     <td>考生账号</td>
                      <td style="width: 63px; height: 20px">
                      成绩编号</td>
                    <td style="width: 63px; 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 style="height: 20px">
                        备注</td>
                         <td style="height: 20px">
                        是否已参加</td>
                     </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                   <tr class="body">
                   <td>
                    <%#Eval("TestRecorder.Tester.Name")%>
                   </td>
                  <td>
                  <%#Eval("TestRecorder.Tester.UserID")%>
                  </td>
                  <td style="width: 63px; height: 18px">
                        <%#Eval("MarkID")%></td>
                    <td style="width: 63px; height: 18px">
                        <%#Eval("TestRecorder.RecorderID")%></td>
                    <td style="height: 18px">
                        <%#Eval("TestRecorder.Test.TestName")%>
                    </td>
                    <td style="height: 18px">
                        <%#Eval("TestRecorder.Test.TotalScores")%>分</td>
                    <td style="height: 18px">
                        <%#Eval("TestRecorder.Test.PassScores")%>分</td>
                    <td style="height: 18px">
                    <span style="color:Blue;"><%# (bool)Eval("TestRecorder.Marked") ? ((bool)Eval("HasPassed") ? Eval("TotalScore") : ("<span style='color:red'>" + Eval("TotalScore").ToString() + "(不及格)</span>")) : "未评卷"%></span>
                    </td>
                     <td style="height: 18px">
                        <%#Eval("Marker.Name")%>&nbsp;</td>
                         <td style="height: 18px">
                        <%#Eval("Remark")%>&nbsp;</td>
                        <td>
                    <%#(bool)Eval("TestRecorder.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>
    </form>
</body>
</html>
