<%@ page language="C#" autoeventwireup="true" inherits="user_Main, App_Web_main.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" />

    <link href="/control/plugin/fullcalendar/fullcalendar.css" rel="stylesheet" />
    <script src="/control/plugin/fullcalendar/lib/moment.min.js"></script>
    <script src='/control/plugin/fullcalendar/fullcalendar.js'></script>
    <script src="/control/plugin/fullcalendar/locale/zh-cn.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">
                <ul class="nav nav-tabs" >
                    <li  class="active"><a href="#home" >未审核申请</a></li>
                    <li ><a href="Calendar.aspx" >分配情况</a></li>
                </ul>
                <!-- Tab panes -->
                <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="CreateBooking.aspx" class="btn btn-default" id="move-play-list-button"><i class="glyphicon glyphicon-plus"></i>新增预约</a>
                        </div>
                        <%--      <div class="form-group pull-right">
                            <input id="t_name" name="t_name" value="<%=Request["t_name"] %>" type="text" class="form-control" placeholder="输入姓名" />
                            <button type="submit" class="btn btn-primary"><i class="glyphicon glyphicon-search"></i></button>
                        </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>

                                        </tr>
                                    </thead>
                                    <tbody>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <tr>
                                    <td>
                                        <%#Eval("rowNum") %>
                                    </td>
                                    <td>
                                        <a href="BookingDetails.aspx?id=<%#Eval("id") %>"><%#Eval("e_name")%></a>
                                    </td>
                                    <td><%#GetName((int)Eval("b_stype"))%></td>
                                    <%-- <td>
                                        <%#GetVerify((int)Eval("b_tVerify"))%>
                                    </td>--%>
                                    <td>
                                        <%#GetVerify((int)Eval("b_mVerify"))%>
                                    </td>
                                    <td>
                                        <%#Eval("b_cdate")%>
                                    </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>
                <div class="  well-sm  text-right ">
                    <asp:Literal ID="litPage" runat="server"></asp:Literal>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
