<%@ control language="VB" autoeventwireup="false" inherits="RCC_Hostmatic_CC_IISPassword, MachSol.MachPanel.Web" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>

<div class="row">
    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h3><%= Resources.Content.SPT002120%></h3>
            </div>
            <div class="body">
                <div class="card">
                    <div class="body">
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    <asp:Literal ID="L_Provider" runat="server" Text="<%$ Resources:Content, DGN1110096 %>"
                                        EnableViewState="false" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <asp:DropDownList ID="DDL_Provider" runat="server" AutoPostBack="true">
                                    </asp:DropDownList>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="L_FriendlyName" runat="server" Text="<%$ Resources:Content, SPT002121 %>"
                                        EnableViewState="false" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="TxBx_FrName" runat="server" ValidationGroup="DB"></asp:TextBox>
                                        <asp:RequiredFieldValidator SetFocusOnError="true" runat="server" ID="RFV_FrName"
                                            ControlToValidate="TxBx_FrName" Display="None" ValidationGroup="DB">
                                        </asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="REV_TxBx_FrName" runat="server" ControlToValidate="TxBx_FrName"
                                            ValidationExpression="[A-Z|a-z|0-9]([a-z|A-Z|_|0-9|\-|\.| ])*" ErrorMessage="Invalid friendly name"
                                            Display="None" SetFocusOnError="true" ValidationGroup="DB"></asp:RegularExpressionValidator>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <br />
                <div class="card">
                    <div class="body">
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="L_WebServiceAddress" runat="server" Text="<%$ Resources:Content, SMI0556 %>"
                                        EnableViewState="false" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="TB_WebServiceAddress" runat="server" ValidationGroup="DB"></asp:TextBox>
                                        <asp:RequiredFieldValidator SetFocusOnError="true" runat="server" ID="RequiredFieldValidator3"
                                            ControlToValidate="TB_WebServiceAddress" Display="None" ValidationGroup="DB">
                                        </asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="L_UserName" runat="server" Text="<%$ Resources:Content, USM0061 %>"
                                        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" ValidationGroup="DB"></asp:TextBox>
                                        <asp:RequiredFieldValidator SetFocusOnError="true" runat="server" ID="RequiredFieldValidator1"
                                            ControlToValidate="TB_UserName" Display="None" ValidationGroup="DB">
                                        </asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="L_Password" runat="server" Text="<%$ Resources:Content, GN0000569 %>"
                                        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" ValidationGroup="DB"></asp:TextBox>
                                        <asp:RequiredFieldValidator SetFocusOnError="true" runat="server" ID="RequiredFieldValidator2"
                                            ControlToValidate="TB_Password" Display="None" ValidationGroup="DB">
                                        </asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12">
                                <asp:Button ID="BTN_Save" runat="server" CausesValidation="True" class="btn btn-primary waves-effect btnAction"
                                    Text="<%$ Resources:Content,GN0000281%>" ValidationGroup="DB" />
                                <asp:Button ID="BTN_Cancel" CausesValidation="False" runat="server" class="btn btn-primary waves-effect"
                                    Text="<%$ Resources:Content,GN0000572%>" />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
