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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/PCC/Workfolders/CC/StorageLocations.ascx" TagName="StorageLocations" TagPrefix="EM" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CPH_Content" runat="Server">
    <div class="col-xs-12">

        <div class="card">
            <div class="header">
                <h3>
                    <asp:Literal ID="Literal4" runat="server" Text='<%$ Resources:Content,SPT002707 %>' EnableViewState="false">
                    </asp:Literal></h3>
            </div>
            <div class="body">
                <asp:Panel ID="Pnl_add" runat="server" DefaultButton="Btn_Save">

                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <asp:Literal ID="Literal39" runat="server" Text='<%$ Resources:Content,GN000195 %>' EnableViewState="false"></asp:Literal>:
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <asp:CheckBox ID="ChBx_IsEnabled" runat="server" Text=" " Checked="true" />
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            *<asp:Literal ID="Literal7" runat="server" Text='<%$ Resources:Content,ServerFQDN %>' 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_ServerFQDN" runat="server"></asp:TextBox>
                                </div>
                            </div>
                            <asp:RequiredFieldValidator ID="RFV_TxBx_ServerFQDN" runat="server" ControlToValidate="TxBx_ServerFQDN"
                                Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-sm-3 col-xs-12  row-label">
                            *&nbsp;<asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:Content,SPT002376%>"
                                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_IPAddress" Text="" runat="server" MaxLength="50"></asp:TextBox>
                                </div>
                            </div>
                            <asp:RequiredFieldValidator ID="RFV_IPAddress" runat="server" ControlToValidate="TxBx_IPAddress"
                                Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" ControlToValidate="TxBx_IPAddress"
                                Display="None" SetFocusOnError="true" ErrorMessage="<%$ Resources:Content,String176 %>"
                                ValidationExpression="<%$ Resources:Content,ValidateIP%>" />
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            *<asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,GN0000422%>" 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_PublicURL" Text="" runat="server"></asp:TextBox>
                                </div>
                            </div>
                            <asp:RequiredFieldValidator ID="RFV_TxBx_PublicURL" runat="server" ControlToValidate="TxBx_PublicURL"
                                Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-xs-12" id="trLocationsControl" runat="server">
                            <EM:StorageLocations ID="LocationsServer" runat="server" />
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-xs-12">
                            <asp:Button ID="Btn_Save" CssClass="btn btn-primary waves-effect btnAction" runat="server" Text='<%$ Resources:Content,GN0000281 %>' />
                            <asp:Button ID="Btn_Cancel" CssClass="btn btn-primary waves-effect" CausesValidation="false" runat="server" Text='<%$ Resources:Content,GN0000572 %>' />

                        </div>
                    </div>

                    <asp:ValidationSummary ID="ValidationSum_1" runat="server" HeaderText='<%$ Resources:Content,EM000001 %>'
                        ShowMessageBox="True" ShowSummary="False" />
                </asp:Panel>
            </div>
        </div>
    </div>
</asp:Content>

