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

<asp:Content ID="Content5" ContentPlaceHolderID="CPH_Content" runat="Server">
    <div class="col-xs-12">
        <div class="row">
            <div class="col-xs-12">
                <div class="card">
                    <div class="body">
                        <div class="row">
                            <asp:UpdatePanel ID='UP01' runat='server'>
                                <ContentTemplate>
                                    <asp:Panel ID="Pnl_Step0" runat="server" DefaultButton='btn_save'>

                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3>
                                                        <asp:Literal ID="lbl_title" runat="server" Text='<%$ Resources:Content,DEV1025 %>' EnableViewState="false"></asp:Literal>
                                                    </h3>
                                                </div>
                                                <div class="body">
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            *
                                                <asp:Label ID="lbl_GroupName" runat="server" Text='<%$Resources:Content,GN0000971%>' EnableViewState="false"></asp:Label>:
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_GroupName" runat="server" MaxLength="250"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                            <asp:RequiredFieldValidator ID="RFV_GroupName" runat="server" Display="None" SetFocusOnError="true"
                                                                ControlToValidate="TxBx_GroupName"></asp:RequiredFieldValidator>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Label ID="Lbl_Provider" runat="server" Text='<%$Resources:Content,DGN1110096%>' EnableViewState="false"></asp:Label>:
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <asp:DropDownList ID="DDL_Provider" runat="server"></asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Label ID="Lbl_ADDomain" runat="server" Text="<%$Resources:Content,DGN1110433%>" EnableViewState="false"></asp:Label>:
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <asp:DropDownList ID="DDL_ADDomain" runat="server"></asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            *
                                                    <asp:Label ID="Label1" runat="server" Text="<%$Resources:Content,DGN1110437%>" EnableViewState="false"></asp:Label>:
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LDAPUrl" runat="server" MaxLength="255" Text="<%$Resources:Content,L0092%>"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                            <asp:RequiredFieldValidator ID="RFV_LDAPUrl" runat="server" ControlToValidate="TxBx_LDAPUrl"
                                                                SetFocusOnError="true" Display="None"></asp:RequiredFieldValidator>
                                                            <asp:RegularExpressionValidator ID="REV_LDAP" runat="server" Display="None" ControlToValidate="TxBx_LDAPUrl"
                                                                SetFocusOnError="true" Enabled="false" ValidationExpression="<%$Resources:Content,LDAPValidationExpression%>"
                                                                ErrorMessage="<%$Resources:Content,DEV1054%>"></asp:RegularExpressionValidator>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Label ID="Lbl_FillStyle" runat="server" Text='<%$Resources:Content,GN0000973%>' EnableViewState="false"></asp:Label>:
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <asp:DropDownList ID="DDL_FillStyle" runat="server">
                                                                <asp:ListItem Text='<%$ Resources:Content,GN0000974%>' Value="1" Selected="True"></asp:ListItem>
                                                                <asp:ListItem Text='<%$ Resources:Content,GN0000975%>' Value="2"></asp:ListItem>
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="row" id="TR_AutoProvisioning" runat="server">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Label ID="Lbl_AutoProvisioning" runat="server" Text='<%$Resources:Content,GN0000978%>' EnableViewState="false"></asp:Label>:
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <asp:CheckBox ID="CB_AutoProvisioning" runat="server" Checked="false" />
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Label ID="Label5" runat="server" Text='<%$Resources:Content,GN000195%>' EnableViewState="false"></asp:Label>:
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <asp:CheckBox ID="CB_Enabled" Text=" " runat="server" Checked="false" />
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal18" runat="server" Text='<%$ Resources:Content,String0001 %>' EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-9 col-xs-12">
                                                            <asp:CheckBox ID="CB_OverRideCredentials" Text=" " AutoPostBack="true" runat="server" Checked="False" />
                                                            <asp:Literal ID="Literal1800" runat="server" Text='<%$ Resources:Content,String0002 %>' EnableViewState="false" />

                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                        </div>

                                        <div class="col-xs-12" id="Tbl_Credentials" runat="server" visible="false">
                                            <div class="card">
                                                <div class="header">
                                                    <h3>
                                                        <asp:Literal ID="Literal19" runat="server" Text='<%$Resources:Content,String12%>' EnableViewState="false"></asp:Literal>
                                                    </h3>
                                                </div>
                                                <div class="body">
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal15" runat="server" Text='<%$Resources:Content,DGN1110434%>' 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_DomainAdminlogin" runat="server" MaxLength="100"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                            <asp:RequiredFieldValidator ID="RFV_DomainAdminlogin" runat="server" ControlToValidate="TxBx_DomainAdminlogin"
                                                                Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                            <asp:RegularExpressionValidator ID="REV_DomainAdminLogin" runat="server" ControlToValidate="TxBx_DomainAdminlogin"
                                                                Display="None" ErrorMessage="Enter admin name only without domain" ValidationExpression="^_?[a-zA-Z][a-zA-Z0-9-._]+$"></asp:RegularExpressionValidator>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal16" runat="server" Text='<%$Resources:Content,DGN1110435%>' 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_DomAdminpassword" TextMode="Password" runat="server" MaxLength="100"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <%--<div class="col-sm-3 col-xs-12">
                                                            <asp:CheckBox ID="CB_Show" runat="server" Text="<%$ Resources:Content,FAM0049 %>" />
                                                        </div>--%>
                                                        <div class="col-sm-5 col-xs-12">
                                                            <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,GN00001530%>" EnableViewState="false"></asp:Literal>
                                                        </div>
                                                    </div>

                                                    <%--<div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal17" runat="server" Text='<%$Resources:Content,GN0001196%>' 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_CPass" TextMode="Password" runat="server" MaxLength="100"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                            <asp:CompareValidator ID="CompareValidator3" runat="server" ControlToCompare="TxBx_DomAdminpassword"
                                                                ErrorMessage="<%$ Resources:Content,DGN1110005 %>" ControlToValidate="TxBx_CPass"
                                                                Display="None"></asp:CompareValidator>
                                                        </div>
                                                    </div>--%>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="col-xs-12">
                                            <asp:Button ID="btn_save" runat="server" Text="<%$Resources:Content,GN0000281%>" class="btn btn-primary waves-effect btnAction" />
                                            <asp:Button ID="Btn_Cancel" runat="server" Text="<%$Resources:Content,GN0000572 %>" class="btn btn-primary waves-effect" PostBackUrl="~/PCC/CRM/ServerGroups.aspx" CausesValidation="false" />

                                        </div>

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


                                    </asp:Panel>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
