<%@ page title="" language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="PCC_Workfolders_AddServerGroup, 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">
    <table>
        <tr>
            <td class="height-39px">
                <div class="productStepButtonContainer">
                </div>
            </td>
        </tr>
    </table>
    <div class="col-xs-12">
        <div class="card">
            <div class="body">
                <div class="products-step">
                    <span id="div_s1" runat="server" class="label label-success">
                        <asp:Literal ID="Literal48" runat="server" Text='<%$ Resources:Content, GN0000895 %>' EnableViewState="false" />

                    </span>
                    <span id="div_s2" runat="server" class="label label-default">
                        <asp:Literal ID="Div3" runat="server" Text='<%$ Resources:Content, GN0000896 %>' EnableViewState="false" />
                    </span>
                </div>

                <div class="col-xs-12"></div>

                <asp:Wizard Width="100%" ID="Wizard1" runat="server" CancelButtonType="Button" CancelDestinationPageUrl="~/PCC/Workfolders/ServerGroups.aspx"
                    DisplayCancelButton="True" DisplaySideBar="false" ActiveStepIndex="0">
                    <CancelButtonStyle CssClass="btn btn-primary waves-effect" />
                    <FinishCompleteButtonStyle CssClass="btn btn-primary waves-effect" />
                    <StepPreviousButtonStyle CssClass="btn btn-primary waves-effect" />
                    <StepNextButtonStyle CssClass="btn btn-primary waves-effect" />
                    <StartNextButtonStyle CssClass="btn btn-primary waves-effect" />
                    <FinishPreviousButtonStyle CssClass="btn btn-primary waves-effect" />
                    <WizardSteps>
                        <asp:WizardStep ID="ServerGroup" runat="server" Title="Step 1">
                            <div class="row">
                                <div class="col-xs-12">
                                    <div class="card">
                                        <div class="header">
                                            <h3>
                                                <asp:Literal ID="ad" runat="server" Text='<%$ Resources:Content,GN0000970 %>' EnableViewState="false"></asp:Literal>
                                            </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_ServerGroupName" runat="server" MaxLength="350"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator29" runat="server" ControlToValidate="TxBx_ServerGroupName"
                                                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <asp:Literal ID="LI_Provider" runat="server" Text='<%$ Resources:Content,DGN1110096 %>' EnableViewState="false" />:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <asp:DropDownList ID="DDL_Provider" runat="server"></asp:DropDownList>
                                                </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">
                                                    <asp:DropDownList ID="DDL_ADDomains" runat="server" />
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-sm-3 col-xs-12 row-label">
                                                    <asp:Literal ID="Literal11" runat="server" Text='<%$ Resources:Content,strStorageConfiguration %>' EnableViewState="false" />:
                                                </div>
                                                <div class="col-sm-4 col-xs-12">
                                                    <asp:RadioButton ID="rdbStandAlone" runat="server" Text='<%$ Resources:Content,strStandAlone %>' GroupName="StorageConfiguration" Checked="true" AutoPostBack="true" />&nbsp;&nbsp;
                                                    <asp:RadioButton ID="rdbCluster" runat="server" Text='<%$ Resources:Content,strCluster %>' GroupName="StorageConfiguration" AutoPostBack="true" />
                                                </div>
                                            </div>
                                            <div id="TR_Clustered" runat="server" visible="false">
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        *<asp:Literal ID="Literal12" runat="server" Text='<%$ Resources:Content,SMI0218 %>' EnableViewState="false" />:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_ClusterName" runat="server" MaxLength="100"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <asp:RequiredFieldValidator ID="RFV_TxBx_ClusterName" runat="server" ControlToValidate="TxBx_ClusterName"
                                                            Display="None" SetFocusOnError="True" Enabled="false"></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,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_PublicURLSG" Text="" runat="server"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <asp:RequiredFieldValidator ID="RFV_TxBx_PublicURLSG" runat="server" ControlToValidate="TxBx_PublicURLSG"
                                                            Display="None" SetFocusOnError="True" Enabled="false"></asp:RequiredFieldValidator>
                                                    </div>
                                                </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">
                                                    <asp:CheckBox ID="ChBx_IsEnabled" runat="server" Checked="True" Text=" " />
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                </div>

                                <div class="col-xs-12" id="Div_StorageLocations" runat="server">
                                    <EM:StorageLocations ID="LocationsServerGroup" runat="server" ServerGroupID="0" ServerID="0" />
                                </div>

                                <asp:ValidationSummary HeaderText='<%$ Resources:Content,EM000001 %>' ID="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False" />
                            </div>
                        </asp:WizardStep>
                        <asp:WizardStep ID="wsAddServer" runat="server" Title="Step 2">
                            <div class="row">
                                <div class="col-xs-12">
                                    <div class="card">
                                        <div class="header">
                                            <asp:Literal ID="Literal4" runat="server" Text='<%$ Resources:Content,AddServer %>' EnableViewState="false">
                                            </asp:Literal>
                                        </div>
                                        <div class="body">
                                            <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_ServerEnabled" 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_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">
                                                    *<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>
                                    </div>
                                </div>

                                <div class="col-xs-12" id="trLocationsServer" runat="server">
                                    <EM:StorageLocations ID="LocationsServer" runat="server" ServerGroupID="-1" ServerID="0" />
                                </div>
                                <asp:ValidationSummary ID="ValidationSum_1" runat="server" HeaderText='<%$ Resources:Content,EM000001 %>'
                                    ShowMessageBox="True" ShowSummary="False" />
                            </div>
                        </asp:WizardStep>
                    </WizardSteps>
                </asp:Wizard>
            </div>
        </div>
    </div>
</asp:Content>
