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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>

<asp:Content ID="Content4" ContentPlaceHolderID="CPH_Content" runat="server">
    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h3><%= Resources.Content.AddRDSServerGroup%></h3>
            </div>
            <div class="body">
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        *
                            <asp:Literal ID="Div6" runat="server" Text='<%$ Resources:Content,GN0000971 %>' EnableViewState="false" />:
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TxBx_Name" runat="server" MaxLength="350"></asp:TextBox>
                            </div>
                        </div>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TxBx_Name"
                            Display="None" ValidationGroup="AddServerGroup" SetFocusOnError="True" ErrorMessage="<%$ Resources:Content,GroupNameRequired %>"></asp:RequiredFieldValidator>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <asp:Literal ID="Div1" runat="server" Text='<%$ Resources:Content,DGN1110096 %>'
                            EnableViewState="false" />:
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_Provider" runat="server">
                            </asp:DropDownList>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <asp:Literal ID="Literal9" runat="server" Text='<%$ Resources:Content,M0105%>' EnableViewState="false" />:
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_ADDomains" AutoPostBack="true" runat="server">
                            </asp:DropDownList>
                        </div>
                    </div>
                </div>
                <div class="row" runat="server" visible="false">
                    <div class="col-sm-3 col-xs-12 row-label">
                        *
                            <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:Content,DGN1110437%> "
                                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_ParentLDAP" MaxLength="150" runat="server"
                                    Text="<%$ Resources:Content,L0092%> "></asp:TextBox>
                            </div>
                        </div>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TxBx_ParentLDAP"
                            Display="None" SetFocusOnError="True" ErrorMessage="<%$Resources:Content,LDAPURLRequired%>"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="REV_LDAP" runat="server" ControlToValidate="TxBx_ParentLDAP"
                            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:Literal ID="Div5" runat="server" Text='<%$ Resources:Content,GN000195 %>' EnableViewState="false" />:
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group checkbox">
                            <asp:CheckBox ID="ChBx_IsEnabled" runat="server" Checked="True" Text=" " />
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <asp:Literal ID="Literal29" runat="server" Text='<%$ Resources:Content,OverrideDomainCredentials %>'
                            EnableViewState="false" />:
                    </div>
                    <div class="col-sm-9 col-xs-12">
                        <div class="form-group checkbox">
                            <asp:CheckBox ID="CB_OverRideCredentials" AutoPostBack="true" runat="server" Checked="False" Text=" " />
                            <asp:Literal ID="Literal1800" runat="server" Text='<%$ Resources:Content,String0002 %>'
                                EnableViewState="false" />
                        </div>
                    </div>
                </div>
                <div id="Div_OverrideCredentials" runat="server" visible="false">
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            *
                            <asp:Literal ID="Literal1" runat="server" Text='<%$ Resources:Content,USM0061 %>' EnableViewState="false" />:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="TxBx_UserName" runat="server" MaxLength="350"></asp:TextBox>
                                </div>
                            </div>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxBx_UserName"
                                Display="None" ValidationGroup="AddServerGroup" SetFocusOnError="True" ErrorMessage="<%$ Resources: Content,USM0067 %>"></asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            *
                            <asp:Literal ID="Literal2" runat="server" Text='<%$ Resources:Content,GN0000569 %>' EnableViewState="false" />:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="TxBx_UserPassword" runat="server" TextMode="Password" MaxLength="350"></asp:TextBox>
                                </div>
                            </div>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TxBx_UserPassword"
                                Display="None" ValidationGroup="AddServerGroup" SetFocusOnError="True" ErrorMessage="<%$ Resources: Content,GN00008028 %>"></asp:RequiredFieldValidator>
                            <%--<br />
                            <asp:CheckBox ID="CB_Show" runat="server" Text="<%$ Resources:Content,FAM0049 %>" />--%>
                        </div>
                    </div>
                    <%--<div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            *&nbsp;<asp:Literal ID="Literal34" runat="server" Text="<%$ Resources:Content,ConfirmPassword %>"
                                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:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="TxBx_CPass"
                                Display="None" ValidationGroup="AddServerGroup" SetFocusOnError="True" ErrorMessage="<%$ Resources: Content,USM0195 %>"></asp:RequiredFieldValidator>
                            <asp:CompareValidator ID="CompareValidator3" runat="server" ControlToCompare="TxBx_UserPassword"
                                ErrorMessage="<%$ Resources:Content,DGN1110005 %>" ControlToValidate="TxBx_CPass" ValidationGroup="AddServerGroup"></asp:CompareValidator>
                        </div>
                    </div>--%>
                </div>
                <div class="row">
                    <div class="col-xs-12">
                        <asp:Button ID="Btn_Save" class="btn btn-primary waves-effect btnAction" ValidationGroup="AddServerGroup" CausesValidation="true" runat="server" Text='<%$ Resources:Content,GN0000281 %>' />
                        <asp:Button ID="Btn_Cancel" CausesValidation="false" runat="server" Text='<%$ Resources:Content,GN0000572 %>' class="btn btn-primary waves-effect" />
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
