<%@ page language="C#" autoeventwireup="true" inherits="user_MyTestAnswer, App_Web_mytestanswer.aspx.6cc23264" enableEventValidation="false" %>

<%@ Register Src="~/user/MyHeader.ascx" TagPrefix="uc1" TagName="MyHeader" %>

<!DOCTYPE html >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>网上预约系统</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <link href="/control/plugin/bootstrap3/css/bootstrap.min.css" rel="stylesheet" />
    <script src="/control/js/jquery.js"></script>
    <script src="/control/plugin/bootstrap3/js/bootstrap.min.js"></script>
    <link href="/user/css/user.css" rel="stylesheet" />
    <script src="/control/plugin/My97DatePicker/WdatePicker.js"></script>
    <link href="/control/css/msgbox.css" rel="stylesheet" />
    <script src="/control/js/msgbox.js"></script>
   
    <!--[if lt IE 9]>
      <script src="/js/html5shiv.min.js"></script>
      <script src="/js/respond.min.js"></script>
    <![endif]-->
</head>
<body>
    <uc1:MyHeader runat="server" ID="MyHeader" />
    <div class="container">
        <div class="row">
            <div class="col-lg-12">

                <h3 class="page-header"><i class="glyphicon glyphicon-envelope"></i>
                    我的答卷<small> 历史答卷 </small>
                </h3>

<%--            <div class=" well well-sm  ">
                    <form class="form-inline" action="Teacher.aspx" method="post">
                        <div class="form-group  ">
                            <a href="TestPaper.aspx" class="btn btn-default" id="move-play-list-button"><i class="glyphicon glyphicon-plus"></i>新增测试</a>
                        </div>
                    </form>
                </div>--%>

                <div class="panel panel-default">
                    <div class="panel-body">
                        <asp:Repeater ID="rptData" runat="server">
                            <HeaderTemplate>
                                <table id="dataView" class="table table-hover ">
                                    <thead>
                                        <tr class='table-heading'>
                                     
                                  
                                            <th>项目问卷</th>
                                            <th>测试开始</th>
                                            <th>测试结束</th>
                                            <th>答对数</th>
                                            <th>答错数</th>
                                            <th>创建日期</th>
                                            <th></th>
                                        </tr>
                                    </thead>
                                    <tbody>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <tr>
                                    
                                    <td>
                                        <%#Eval("pq_name")%>
                                    </td>
                                    <td>
                                        <%#((DateTime)Eval("aq_answerStart")).ToString("yyyy-MM-dd HH:mm")%>
                                    </td>
                                    <td>
                                        <%#((DateTime)Eval("aq_answerEnd")).ToString("yyyy-MM-dd HH:mm")%>
                                    </td>
                                    <td>
                                        <%#Eval("aq_correct")%>
                                    </td>
                                    <td>
                                        <%#Eval("aq_error")%>
                                    </td>
                                    <td>
                                 
                                         <%#((DateTime)Eval("aq_cdate")).ToString("yyyy-MM-dd HH:mm")%>
                                    </td>
                                 
                                    <td>
                                        <a href="TestAnswerDetails.aspx?id=<%#Eval("id") %>" class="btn btn-default "  target="_blank" >
                                            详细 
                                        </a>
                                    </td>
                                </tr>
                            </ItemTemplate>
                            <FooterTemplate>
                                </tbody> 
                                </table>
                
                                 <div class="alert alert-warning" style="display: <%#bool.Parse((rptData.Items.Count==0).ToString())?"block":"none"%>">

                                     <strong>暂无信息</strong>

                                 </div>

                            </FooterTemplate>
                        </asp:Repeater>
                    </div>
                </div>
                <asp:Literal ID="litPage" runat="server"></asp:Literal>
            </div>
        </div>

    </div>
</body>

</html>
