<%@ control language="VB" autoeventwireup="false" inherits="RCC_Hostmatic_CC_StatsService, 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="Literal12" 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">
                                    </asp:DropDownList>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *
                        <asp:Literal ID="Literal15" runat="server" Text="<%$ Resources:Content, SPT002121 %>" EnableViewState="false" />:</label>
                            </div>
                            <div id="Td_Name" runat="server" class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="TxBx_FrName" runat="server" ValidationGroup="Stats"></asp:TextBox>
                                        <asp:RequiredFieldValidator SetFocusOnError="true" runat="server" ID="RFV_FrName"
                                            ControlToValidate="TxBx_FrName" Display="None" ValidationGroup="Stats">
                                        </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="Stats"></asp:RegularExpressionValidator>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <br />
                <div class="card">
                    <div class="body">
                        <div class="header">
                            <h3><%= Resources.Content.SMI0590%></h3>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content, SMI0591 %>" EnableViewState="false" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="TxBx_StatsService" Text="http://127.0.0.1:9999/services/" runat="server"
                                            ValidationGroup="Stats"></asp:TextBox>
                                        <asp:RequiredFieldValidator SetFocusOnError="true" runat="server" ID="RFV_MSService"
                                            ControlToValidate="TxBx_StatsService" Display="None" ValidationGroup="Stats">
                                        </asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="REV_StatService" runat="server" SetFocusOnError="true"
                                            ValidationGroup="Stats" Display="None" ControlToValidate="TxBx_StatsService"
                                            ValidationExpression="https?://([a-z|A-Z|0-9]|\:|\.|_)+/([a-z|A-Z|0-9]|_)+/?" ErrorMessage="Invalid Web service Url"></asp:RegularExpressionValidator>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content, SMI0592 %>" EnableViewState="false" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="Txt_LogWildCard" runat="server" Text="<%$ Resources:Content,SMI0593%>" ValidationGroup="Stats"></asp:TextBox>
                                        <asp:RequiredFieldValidator SetFocusOnError="true" runat="server" ID="RequiredFieldValidator1"
                                            ControlToValidate="Txt_LogWildCard" Display="None" ValidationGroup="Stats"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content, SMI0594 %>" EnableViewState="false" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <asp:DropDownList ID="DDL_LogFormat" runat="server">
                                        <asp:ListItem Text="IIS" Value="1"></asp:ListItem>
                                        <asp:ListItem Text="NSCA" Value="2"></asp:ListItem>
                                        <asp:ListItem Text="W3Cex" Value="3"></asp:ListItem>
                                    </asp:DropDownList>
                                </div>
                            </div>
                        </div>
                        <div class="row" id="Tr_UserName" runat="server">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Ltl_UserName" runat="server" Text="<%$ Resources:Content, SMI0595 %>" EnableViewState="false" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="Txt_UserName" runat="server" ValidationGroup="Stats"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="REV_Txt_UserName" runat="server" ControlToValidate="Txt_UserName"
                                            ValidationExpression="[A-Z|a-z|0-9]([a-z|A-Z|_|0-9|\-|\.| ])*" ErrorMessage="Invalid username name"
                                            Display="None" SetFocusOnError="true" ValidationGroup="Stats"></asp:RegularExpressionValidator>
                                        <asp:RequiredFieldValidator SetFocusOnError="true" runat="server" ID="RFV_UserName"
                                            ControlToValidate="Txt_UserName" Display="None" ValidationGroup="Stats"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row" id="Tr_Password" runat="server">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Ltl_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="Txt_Password" TextMode="Password" runat="server" ValidationGroup="Stats"></asp:TextBox>
                                        <%--<asp:RequiredFieldValidator SetFocusOnError="true" runat="server" ID="RFV_Password"
                                            ControlToValidate="Txt_Password" Display="None" ValidationGroup="Stats"></asp:RequiredFieldValidator>--%>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-5 col-xs-12">
                                <asp:Literal ID="Literal46" runat="server" Text="<%$ Resources:Content,GN00001530%>"
                                    EnableViewState="false"></asp:Literal>
                            </div>
                        </div>
                        <div class="row" style="display: none;">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal17" runat="server" Text="<%$ Resources:Content, SMI0596 %>" EnableViewState="false" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="Txt_SmarterLogPath" runat="server" Text="C:\SmarterLogs" ValidationGroup="Stats"></asp:TextBox>
                                        <asp:RequiredFieldValidator SetFocusOnError="true" runat="server" ID="RequiredFieldValidator2"
                                            ControlToValidate="Txt_SmarterLogPath" Display="None" ValidationGroup="Stats"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="REV_Txt_SmarterLogPath" runat="server" ErrorMessage='<%$ Resources:Content,String310%>'
                                            ControlToValidate="Txt_SmarterLogPath" Display="None" SetFocusOnError="True"
                                            ValidationExpression="^([a-zA-Z]:(\\\w+)*)$" ValidationGroup="Stats"></asp:RegularExpressionValidator>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal18" runat="server" Text="<%$ Resources:Content, Lync179 %>" EnableViewState="false" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <asp:DropDownList ID="DDL_TimeZone" runat="server" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <br />
                <div class="card" style="display: none;">
                    <div class="header">
                        <h3><%= Resources.Content. GN0000997%></h3>
                    </div>
                    <div class="body">
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:Content,SMI0597%>" EnableViewState="false" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="TxBx_MaxLoad" runat="server"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="REV_TxBx_MaxLoad" runat="server" ControlToValidate="TxBx_MaxLoad"
                                            ValidationExpression="([0-9])*" ErrorMessage="Invalid maximum number Of Stats sites"
                                            Display="None" SetFocusOnError="true" ValidationGroup="Stats"></asp:RegularExpressionValidator>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    *<asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,SMI0598%>" EnableViewState="false" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <div class="form-line">
                                        <asp:TextBox ID="TxBx_CurrLoad" runat="server" Text="0" ValidationGroup="Stats"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="REV_TxBx_CurrLoad" runat="server" ControlToValidate="TxBx_CurrLoad"
                                            ValidationExpression="([0-9])*" ErrorMessage="Invalid current number Of Stats sites"
                                            Display="None" SetFocusOnError="true" ValidationGroup="Stats"></asp:RegularExpressionValidator>
                                        <asp:RequiredFieldValidator ControlToValidate="TxBx_CurrLoad" ID="RFV_CurrLoad" runat="server"
                                            ValidationGroup="Stats"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="card" style="display: none;">
                    <div class="header">
                        <h3><%= Resources.Content. SPT002159 %></h3>
                    </div>
                    <div class="body">
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Content, SPT002165 %>" EnableViewState="false" />:
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:DropDownList ID="DDL_ADNSTemplate" runat="server" />
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-12">
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="true"
                            ShowSummary="false" HeaderText="<%$ Resources:Content,EM000001%>" ValidationGroup="Stats" />
                        <asp:Button ID="BtnSave" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281%>"
                            ValidationGroup="Stats" />
                        <asp:Button ID="BtnCancel" CausesValidation="False" runat="server" class="btn btn-primary waves-effect"
                            Text="<%$ Resources:Content,GN0000572%>" />
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
