<%@ page language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="HelpDesk_AddNewRule, MachSol.MachPanel.Web" %>


<asp:Content ID="Content7" ContentPlaceHolderID="CPH_Content" runat="Server">

    <ajax:UpdatePanel ID="UP" runat="server">
        <ContentTemplate>
            <div class="col-xs-12">

                <div class="card">
                    <div class="header">
                        <h3>
                            <asp:Literal ID="Ltl_Heading" runat="server" Text='<%$ Resources:Content,AddIMAPRule %>'></asp:Literal>                                                                                                                                
                        </h3>
                    </div>
                    <div class="body">

                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                *
                        <asp:Literal ID="Div1" runat="server" Text='<%$ Resources:Content,DGN1110008 %>' EnableViewState="false"></asp:Literal>:
                            </div>

                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="TxBx_RuleName" runat="server" MaxLength="255"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RFV_RN" ValidationGroup="newrule" ControlToValidate="TxBx_RuleName"
                                            Display="none" runat="server" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row">

                            <div class="col-xs-12 row-label">
                                <%= Resources.Content.DGN1110603%>
                            </div>
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label class="pull-right">
                                    <%= Resources.Content.GN0000540%>:
                                </label>
                            </div>

                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <asp:DropDownList ID="DDL_Where" runat="server">
                                        <asp:ListItem Selected="True" Text='<%$ Resources:Content,GN0000371 %>' Value="1"></asp:ListItem>
                                        <asp:ListItem Text='<%$ Resources:Content,GN0000541 %>' Value="2"></asp:ListItem>
                                        <asp:ListItem Text='<%$ Resources:Content,GN0000542 %>' Value="3"></asp:ListItem>
                                        <asp:ListItem Text='<%$ Resources:Content,GN0000543 %>' Value="4"></asp:ListItem>
                                    </asp:DropDownList>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label class="pull-right">
                                    *<%= Resources.Content.GN0000544%>
                                </label>
                            </div>

                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="TxBx_Contains" runat="server"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RFV_Contains" runat="server" ControlToValidate="TxBx_Contains"
                                            Display="none" ValidationGroup="newrule" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>

                        </div>


                        <div class="row">
                            <div class="col-xs-12 row-label">
                                <%= Resources.Content.DGN1110604%>
                            </div>

                            <div class="col-sm-3 col-xs-12 row-label">
                                <label class="pull-right">
                                    *<%= Resources.Content.DGN1110009%>:
                                </label>
                            </div>

                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <asp:DropDownList ID="DDL_Forward" runat="server" AutoPostBack="true">
                                    </asp:DropDownList>
                                    <asp:RequiredFieldValidator ID="RFV_FTD" ValidationGroup="newrule" InitialValue="-1"
                                        ControlToValidate="DDL_Forward" Display="none" runat="server" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label class="pull-right">
                                    <%= Resources.Content.GN0000547%>:
                                </label>
                            </div>

                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <asp:DropDownList ID="DDL_AssignTo" runat="server">
                                    </asp:DropDownList>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label class="pull-right">
                                    <%= Resources.Content.GN0000549%>:
                                </label>
                            </div>

                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <asp:DropDownList ID="DDL_SetStatus" runat="server">
                                    </asp:DropDownList>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label class="pull-right">
                                    <%= Resources.Content.GN0000551%>:
                                </label>
                            </div>

                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <asp:DropDownList ID="DDL_OverridePriority" runat="server">
                                    </asp:DropDownList>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label class="pull-right">
                                    <%= Resources.Content.GN0000662%>:
                                </label>
                            </div>

                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <asp:CheckBox ID="ChkBx_DelMessage" AutoPostBack="true" runat="server" Text=" " />
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12">



                                <asp:ValidationSummary HeaderText="<%$ Resources:Content,EM000001 %>" ID="ValidationSummary1"
                                    ValidationGroup="newrule" ShowMessageBox="true" ShowSummary="false" runat="server" />

                                <asp:Button ID="Create_Btn" SkinID="saveButton" ValidationGroup="newrule" runat="server"
                                    Text='<%$ Resources:Content,GN0000281 %>' CssClass="btn btn-primary btnAction" />
                                <asp:Button ID="btn_Cancel" runat="server" SkinID="cancelButton" Text='<%$ Resources:Content,GN0000572 %>' CssClass="btn btn-primary" />
                            </div>
                        </div>
                    </div>
                </div>

            </div>


        </ContentTemplate>
    </ajax:UpdatePanel>
</asp:Content>
