<%@ page language="C#" autoeventwireup="true" inherits="admin_N25175_Config, ALL" enableEventValidation="false" %>
<%@ Register Src="~/admin/MyHeader.ascx" TagPrefix="uc1" TagName="MyHeader" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>高级设置</title>
    <link href="/control/plugin/bootstrap3/css/bootstrap.min.css" rel="stylesheet" />
    <script src="/control/js/jquery.js"></script>
    <link href="/user/css/style.css?v=2" rel="stylesheet" />
    <script src="/control/plugin/bootstrap3/js/bootstrap.min.js"></script>

</head>
<body>
    <uc1:MyHeader runat="server" ID="MyHeader" />
    <div class="container">
        <div class="col-md-12">
            <div class="panel">
                <div class="panel-body">
                    <h3 class="page-header">高级设置<small> 系统高级设置</small></h3>
                    <form class="form-horizontal" id="from1" runat="server">
                        <!-- Add.aspx -->
                        <div class="form-group">
                            <label class="col-sm-2 control-label">预订开始时间<span class='rd'>*</span>：</label>
                            <div class="col-sm-9">
                                <asp:DropDownList ID="txtydStart" runat="server" CssClass="form-control">
                                
                                    <asp:ListItem Value="6"> 上午6点 </asp:ListItem>
                                    <asp:ListItem Value="7"> 上午7点 </asp:ListItem>
                                    <asp:ListItem Value="8"> 上午8点 </asp:ListItem>
                                    <asp:ListItem Value="9"> 上午9点 </asp:ListItem>
                                    <asp:ListItem Value="10"> 上午10点 </asp:ListItem>

                                </asp:DropDownList>

                                <p class="help-block">
                                    <asp:RequiredFieldValidator ID="rfvydStart" runat="server" ForeColor="Red" ErrorMessage="请填写预订开始时间" Display="Dynamic" ControlToValidate="txtydStart"></asp:RequiredFieldValidator>
                                </p>

                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">预订截至时间<span class='rd'>*</span>：</label>
                            <div class="col-sm-9">
                                <asp:DropDownList ID="txtydEnd" runat="server" CssClass="form-control">
                                    <asp:ListItem Value="17"> 下午17点 </asp:ListItem>
                                    <asp:ListItem Value="18"> 下午18点 </asp:ListItem>
                                    <asp:ListItem Value="19"> 下午19点 </asp:ListItem>
                                    <asp:ListItem Value="20"> 下午20点 </asp:ListItem>
                                    <asp:ListItem Value="21"> 下午21点 </asp:ListItem>
                                    <asp:ListItem Value="22"> 下午22点 </asp:ListItem>
                                    <asp:ListItem Value="23"> 下午23点 </asp:ListItem>
                            
                                </asp:DropDownList>
                                <p class="help-block">
                                    <asp:RequiredFieldValidator ID="rfvydEnd" runat="server" ForeColor="Red" ErrorMessage="请填写预订截至时间" Display="Dynamic" ControlToValidate="txtydEnd"></asp:RequiredFieldValidator>
                                </p>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">预订时间限制<span class='rd'>*</span>：</label>
                            <div class="col-sm-9">
                                <asp:DropDownList ID="txtMaxBDate" runat="server" MaxLength="50" CssClass="form-control">

                                    <asp:ListItem Value="1">1小时</asp:ListItem>
                                    <asp:ListItem Value="2">2小时</asp:ListItem>
                                    <asp:ListItem Value="3">3小时</asp:ListItem>
                                    <asp:ListItem Value="4">4小时</asp:ListItem>
                                    <asp:ListItem Value="5">5小时</asp:ListItem>
                                    <asp:ListItem Value="6">6小时</asp:ListItem>
                                    <asp:ListItem Value="7">7小时</asp:ListItem>
                                    <asp:ListItem Value="8">8小时</asp:ListItem>
                                    <asp:ListItem Value="9">9小时</asp:ListItem>
                                    <asp:ListItem Value="10">10小时</asp:ListItem>
                                    <asp:ListItem Value="11">11小时</asp:ListItem>
                                    <asp:ListItem Value="12">12小时</asp:ListItem>

                                </asp:DropDownList>
                                <p class="help-block">
                                    <asp:RequiredFieldValidator ID="rfvMaxBDate" runat="server" ForeColor="Red" ErrorMessage="请填写预订时间限制"
                                        Display="Dynamic" ControlToValidate="txtMaxBDate">
                                    </asp:RequiredFieldValidator>
                                </p>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">
                                预订时间间隔<span class='rd'>*</span> ：
                            </label>
                            <div class="col-sm-9">
                                <asp:DropDownList ID="txtInterval" runat="server" CssClass="form-control">
                                    <asp:ListItem Value="15">15分钟</asp:ListItem>
                                    <asp:ListItem Value="30">30分钟</asp:ListItem>
                                </asp:DropDownList>

                                <p class="help-block">
                                    <asp:RequiredFieldValidator ID="rfvtxtInterval" runat="server" ErrorMessage="请填写预订时间间隔"
                                        ForeColor="Red" Display="Dynamic" ControlToValidate="txtInterval">
                                    </asp:RequiredFieldValidator>
                                </p>
                            </div>
                        </div>

                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-9 ">
                                <asp:Button ID="btnSubmit" runat="server" Text="提交设置" OnClientClick="return befSubmit()"
                                    CssClass="btn btn-primary btn-lg " OnClick="btnSubmit_Click" />
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>

    </div>
</body>
</html>
