<%@ page language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="Network_NetworkEye_AddNewServer, 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">
                <h2>
                    <asp:Literal ID="Literal7" Text="<%$ Resources:Content,GN0001177%>" runat="server" EnableViewState="false" /></h2>
            </div>
            <div class="body">
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            *<asp:Literal ID="Literal8" Text="<%$ Resources:Content,GN0000980%>" runat="server" EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TB_NSAlias" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ValidationGroup="Save" runat="server" ControlToValidate="TB_NSAlias"
                                    Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            *<asp:Literal ID="Literal2" Text="<%$ Resources:Content,GN000174%>" runat="server" EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TB_NSIPAddress" runat="server"></asp:TextBox>
                                <EM:FilteredTextBoxExtender ID="FT1" FilterType="Custom" ValidChars="0123456789."
                                    TargetControlID="TB_NSIPAddress" runat="server" />
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator5" ValidationGroup="Save" runat="server" ControlToValidate="TB_NSIPAddress"
                                    Display="None" SetFocusOnError="true" ErrorMessage="<%$ Resources:Content,String176 %>"
                                    ValidationExpression="\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b">
                                </asp:RegularExpressionValidator>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            *<asp:Literal ID="Literal3" Text="<%$ Resources:Content,GN00001114%>" runat="server" EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TB_UserName" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ValidationGroup="Save" runat="server" ControlToValidate="TB_UserName"
                                    Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            *<asp:Literal ID="Literal4" Text="<%$ Resources:Content,GN0000569%>" runat="server" EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TB_PassWord" runat="server" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" ValidationGroup="Save" runat="server" ControlToValidate="TB_PassWord"
                                    Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                <asp:CompareValidator ID="CompareValidator1" ErrorMessage='<%$ Resources:Content,DGN1110005 %>'
                                    runat="server" ControlToCompare="TB_PassWord" ControlToValidate="TB_ConfirmPassword" ValidationGroup="Save"
                                    Display="None"></asp:CompareValidator>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            *<asp:Literal ID="Literal5" Text="<%$ Resources:Content,GN0001196%>" runat="server" EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TB_ConfirmPassword" runat="server" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" ValidationGroup="Save" runat="server" ControlToValidate="TB_ConfirmPassword"
                                    Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-12 row-label">
                        <asp:Literal ID="Literal6" Text="<%$ Resources:Content,strOnlyWindowsServersAndMachinescanbeaddedformonitoring%>" runat="server" EnableViewState="false" />
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-12">
                        <asp:ValidationSummary HeaderText='<%$ Resources:Content,EM000001%>' ValidationGroup="Save" ID="ValidationSummary1"
                            runat="server" ShowMessageBox="True" ShowSummary="False" />
                        <asp:Button ID="Btn_AddNewServer" ValidationGroup="Save" class="btn btn-primary waves-effect btnAction" runat="server"
                            Text="<%$ Resources:Content,GN0000281%>" />
                        <asp:Button ID="Btn_Cancel" class="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,GN0000572%>" CausesValidation="false" />
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script lang="javascript">
        AllowArrowKeysInFilteredTextBoxExtender('<%=FT1.ClientID%>');
    </script>
</asp:Content>
