<%@ page language="C#" autoeventwireup="true" inherits="sysadmin_BookingDetails, App_Web_bookingdetails.aspx.ddba9769" enableEventValidation="false" %>

<%@ Register Src="~/sadmin/NewHeader.ascx" TagPrefix="uc2" TagName="MyHeader" %>
<%@ Register Src="~/sadmin/NewFooter.ascx" TagPrefix="uc2" TagName="NewFooter" %>

<!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>

    <!-- ionicons -->
    <link href="/lib/ionicons/ionicons.min.css" rel="stylesheet" />
    <!-- Animate -->
    <link href="/lib/animate/animate.min.css" rel="stylesheet" />
    <!-- base -->
    <link href="/css/base.css" rel="stylesheet" />
    <!--[if lt IE 9]>
      <script src="/js/html5shiv.min.js"></script>
      <script src="/js/respond.min.js"></script>
    <![endif]-->
</head>
<body>
    <div class="wrapper">
        <uc2:MyHeader runat="server" ID="MyHeader" />
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <h3 class="page-header">预约详细<small> 预约申请详细信息 </small></h3>
                </div>
            </div>
            <div class="row">
                <div class="col-lg-12">

              
                    <div class="panel panel-default">
                        <div class="panel-body">
                            <!-- Add.aspx -->

                            <div class="form-group">
                                <label class=" control-label">
                                    预约用户：</label>
                                <div>
                                    <asp:Label ID="labUser" runat="server" Font-Size="15px"></asp:Label>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class=" control-label">
                                    预约设备：</label>
                                <div>
                                    <asp:Label ID="ddlb_eid" runat="server" Font-Size="15px"></asp:Label>
                                </div>
                                <div>
                                    <asp:Label ID="txt_info" runat="server" Font-Size="15px"></asp:Label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class=" control-label">
                                    设备管理员：</label>
                                <div>
                                    <asp:Label ID="txt_admin" runat="server" Font-Size="15px">
                                    </asp:Label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class=" control-label">
                                    分配方式：</label>
                                <div>
                                    <asp:Label ID="txtb_stype" runat="server" Font-Size="15px"></asp:Label>
                                </div>
                            </div>

                            <asp:Panel runat="server" ID="Panel_Time" class="form-group">
                                <label class=" control-label">
                                    用户指定预约时间：</label>

                                <div>
                                    <asp:Label ID="txtb_start" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})"></asp:Label>至
                                    <asp:Label ID="txtb_end" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})"></asp:Label>
                                </div>
                                 <asp:Repeater ID="rpt_btime" runat="server">
                                    <ItemTemplate>
                                        <div>
                                            <span><%#Eval("bt_start","{0:yyyy-MM-dd HH:mm}")%></span>至
                                            <span><%#Eval("bt_end","{0:yyyy-MM-dd HH:mm}")%></span>
                                        </div>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </asp:Panel>
                             <div class="form-group">
                                <label class=" control-label">
                                    课题名称：</label>
                                <div>
                                    <asp:Label ID="txt_pname" runat="server" MaxLength="4"></asp:Label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class=" control-label">
                                    实验内容：</label>
                                <div>
                                    <asp:Label ID="txt_pcontent" runat="server" MaxLength="4"></asp:Label>                         
                                </div>
                            </div>
                   
                            <asp:Panel ID="PaneltVerifyNot" runat="server" CssClass="form-group">
                                <label class=" control-label">
                                    导师审核未通过信息：</label>
                                <div>
                                    <asp:Label ID="txtb_tVerifyNote" runat="server" MaxLength="255"></asp:Label>
                                </div>
                            </asp:Panel>

                            <div class="form-group">
                                <label class=" control-label">
                                    管理员审核：</label>
                                <div>
                                    <asp:Literal ID="txtb_mVerify" runat="server"></asp:Literal>
                                </div>
                            </div>

                            <div class="form-group  has-feedback ">
                                <label for="exampleInputEmail1">分配时间：</label>

                                <div id="bulist">
                                    <asp:Repeater ID="rptBU" runat="server">
                                        <HeaderTemplate>
                                            <table class="table table-striped">
                                               <thead>
                                                   <tr>
                                                       <td>起始日期</td>
                                                       <td>截止日期</td>
                                                   </tr>
                                               </thead>
                                                <tbody>
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                                <tr> 
                                                    <td >
                                                        <%#((DateTime)Eval("eu_start")).ToString("yyyy-MM-dd HH:mm") %>
                                                    </td>
                                                    <td>
                                                        <%#((DateTime)Eval("eu_end")).ToString("yyyy-MM-dd HH:mm") %>
                                                    </td>
                                                </tr>
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            </tbody>
                                            </table>
                                            <div class="alert alert-warning" style="display: <%#bool.Parse((rptBU.Items.Count==0).ToString())?"block":"none"%>">
                                                <strong>暂无分配</strong>
                                            </div>

                                        </FooterTemplate>

                                    </asp:Repeater>
                                </div>
                            </div>

                            <asp:Panel ID="PanelmVerify" runat="server" CssClass="form-group">
                                <label class=" control-label">
                                    失败信息：</label>
                                <div>
                                    <asp:Label ID="txtb_mVerifyNote" runat="server" MaxLength="255"></asp:Label>
                                </div>
                            </asp:Panel>

                            <div class="form-group">
                                <label class=" control-label">
                                    预约说明：</label>
                                <div>
                                    <asp:Label ID="txtb_note" runat="server" Style="min-height: 100px"></asp:Label>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </div>
        <uc2:NewFooter runat="server" ID="NewFooter" />
    </div>
</body>
</html>
