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

<%@ Register Src="~/RCC/Clients/CC/DH.ascx" TagName="DH" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" 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="Ltl_SubsInfo" runat="server" /></h2>
            </div>
            <div class="body">
                <EM:TabContainer ID="TC_DH" runat="server" OnClientActiveTabChanged="loadTabPanel" ActiveTabIndex="0">
                    <EM:TabPanel ID="Tab_General" runat="server" HeaderText='<%$ Resources:Content,GN00001466%>'>
                        <ContentTemplate>
                            <%--<ajax:UpdatePanel ID="UP_Account" runat="server">
                                <ContentTemplate>--%>
                                    <asp:Button ID="Btn_Tab0" runat="server" CssClass="btn-dummy" />
                                    <asp:Panel ID="Pnl_TabContent0" runat="server">
                                        <div class="row Div_OpsRow" id="Div_OpsRow" runat="server">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <%= Resources.Content.GN00001320%>      <%--Operations--%>                                                                                                                             
                                                        </h3>
                                                    </div>
                                                    <div class="body">
                                                        <asp:Button class="btn btn-primary waves-effect" ID="Btn_Edit" runat="server" Text='<%$ Resources:Content,DGN1110289%>' />
                                                        <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_Suspend" runat="server" Text='<%$ Resources:Content,DGN1110276%>' />
                                                        <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_ControlServer" runat="server" Text='<%$ Resources:Content,M0051%>' />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <EM:DH ID="DH" runat="server" />
                                    </asp:Panel>
                                <%--</ContentTemplate>
                            </ajax:UpdatePanel>--%>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_IP" runat="server" HeaderText='<%$ Resources:Content,GN000174%>'>
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab1" runat="server" CssClass="btn-dummy" />
                            <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">
                                <div class="row">
                                    <div class="col-xs-12">
                                        <asp:SqlDataSource ID="DS_IPs" runat="server"></asp:SqlDataSource>
                                        <asp:GridView AllowPaging="false" ID="GV_IPs" runat="server" DataSourceID="DS_IPs" 
                                            CssClass="table table-bordered table-striped table-hover" AutoGenerateColumns="false" 
                                            EmptyDataText="<%$ Resources:Content,GN00001375%>">

                                            <Columns>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content,GN000196%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:LinkButton ID="LB_PoolId" runat="server" CommandName="Pool"></asp:LinkButton>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content,GN000174%>' HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                    <ItemTemplate>
                                                        <div id="Div_IP" runat="server">
                                                        </div>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content,GN000189%>' HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                    <ItemTemplate>
                                                        <div id="Div_Subnet" runat="server">
                                                        </div>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content,String385%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <div id="Div_Status" runat="server">
                                                        </div>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000360%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:LinkButton class="btn btn-primary waves-effect btnAction" ID="LB_AddIP" runat="server" Text='<%$ Resources:Content,DGN1110278%>' CommandName="AddIP"></asp:LinkButton>
                                                        <asp:LinkButton class="btn btn-primary waves-effect btnAction" ID="LB_RemoveIP" runat="server" Text='<%$ Resources:Content,GN0000278%>' CommandName="Remove"></asp:LinkButton>
                                                        <EM:ConfirmButtonExtender ID="CFE_Remove" TargetControlID="LB_RemoveIP" runat="server" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <%--PagerTemplate Start--%>
                                            <PagerTemplate>
                                                <EM:Pager ID="Pager1" runat="server" />

                                            </PagerTemplate>
                                            <%--PagerTemplate End--%>
                                        </asp:GridView>
                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_Advanced" runat="server" HeaderText='<%$ Resources:Content,DGN1110279%>'>
                        <ContentTemplate>
                            <%--<ajax:UpdatePanel ID="UpdatePanel1" runat="server">
                                <ContentTemplate>--%>
                                    <asp:Button ID="Btn_Tab2" runat="server" CssClass="btn-dummy" />
                                    <asp:Panel ID="Pnl_TabContent2" runat="server" Visible="false">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <asp:Label ID="Label2" runat="server" Text='<%$ Resources:Content,DGN1110280%>' EnableViewState="false"></asp:Label></h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal9" runat="server" EnableViewState="false" Text='<%$ Resources:Content,GN0000981%>'></asp:Literal>:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_RemoteURL" runat="server"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal12" runat="server" EnableViewState="false" Text='<%$ Resources:Content,GN0001248%>'></asp:Literal>:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_RemoteLogin" runat="server"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal13" runat="server" EnableViewState="false" Text='<%$ Resources:Content,GN0000569%>'></asp:Literal>:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_RemotePass" runat="server" TextMode="Password"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button ID="Btn_RemoteSave" class="btn btn-primary waves-effect btnAction" runat="server" Text='<%$ Resources:Content,GN0000281%>' />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <br />
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <asp:Label ID="Label3" runat="server" Text='<%$ Resources:Content,DGN1110281%>' EnableViewState="false"></asp:Label></h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal14" runat="server" EnableViewState="false" Text='<%$ Resources:Content,GN000174%>'></asp:Literal>:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_IP" runat="server" MaxLength="25"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RFV_IP" runat="server" ControlToValidate="TxBx_IP" Display="None" SetFocusOnError="True" ValidationGroup="addInfo" />
                                                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" ControlToValidate="TxBx_IP" ValidationGroup="addInfo"
                                                                            Display="None" SetFocusOnError="true" ErrorMessage="<%$ Resources:Content,String176 %>"
                                                                            ValidationExpression="<%$ Resources:Content,ValidateIP%>" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal15" runat="server" EnableViewState="false" Text='<%$ Resources:Content,GN00001114%>'></asp:Literal>:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_AdminUserName" runat="server" MaxLength="25"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxBx_AdminUserName" Display="None" SetFocusOnError="True" ValidationGroup="addInfo" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-2 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal16" runat="server" EnableViewState="false" Text='<%$ Resources:Content,DGN1110022%>'></asp:Literal>:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_APassword" runat="server" MaxLength="25" TextMode="Password"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TxBx_APassword" Display="None" SetFocusOnError="True" ValidationGroup="addInfo" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:ValidationSummary HeaderText='<%$ Resources:Content, EM000001 %>' ID="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False" ValidationGroup="addInfo" />
                                                                <asp:Button ID="Btn_AdminSave" class="btn btn-primary waves-effect btnAction" runat="server" Text='<%$ Resources:Content,GN0000281%>' ValidationGroup="addInfo" />
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12 row-label">
                                                                <asp:Literal ID="Literal1" runat="server" EnableViewState="false" Text='<%$ Resources:Content,DGN1110282%>'></asp:Literal>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                               <%-- </ContentTemplate>
                            </ajax:UpdatePanel>--%>
                        </ContentTemplate>
                    </EM:TabPanel>
                </EM:TabContainer>
            </div>
        </div>
    </div>

    <%--'Suspend notes modal window--%>
    <asp:Panel ID="Pnl_Reason" runat="server" Style="display: none;" CssClass="width-modal-popup-auto">
        <div class="col-xs-12">
            <div class="card">
                <div class="body">
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *<asp:Literal ID="Literal2" runat="server" EnableViewState="false" Text='<%$ Resources:Content,DGN1110283%>'></asp:Literal>:</label>
                        </div>
                        <div class="col-sm-9 col-xs-12">
                            <div class="form-group">
                                <asp:TextBox ID="TxBx_Reason" MaxLength="500" TextMode="MultiLine" Height="150px" Width="100%" runat="server"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xs-12">
                            <asp:CheckBox ID="CB_Email" Text='<%$ Resources:Content,DGN1110223%>' runat="server" />
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xs-12">
                            <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_SuspendNow" runat="server" Text='<%$ Resources:Content,DGN1110276%>' />
                            <asp:Button class="btn btn-primary waves-effect" ID="Btn_Cancel" runat="server" Text='<%$ Resources:Content,GN0000572%>' />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </asp:Panel>
    <asp:Button ID="Btn_MessageDummy" runat="server" Style="display: none" Text="<%$ Resources:Content,GN0000575%>" />
    <EM:ModalPopupExtender runat="server" ID="MPE_Message" BackgroundCssClass="modalBackground" DropShadow="false"
        OkControlID="Btn_Cancel" PopupControlID="Pnl_Reason" TargetControlID="Btn_MessageDummy">
    </EM:ModalPopupExtender>
    <%--Edit identification modal window--%>
    <asp:Panel ID="Pnl_Edit" CssClass="width-modal-popup-auto" runat="server" Style="display: none">
        <div class="col-xs-12">
            <div class="card">
                <div class="body">
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *<asp:Literal ID="Literal3" runat="server" EnableViewState="false" Text='<%$ Resources:Content,DGN1110019%>'></asp:Literal>:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="TxBx_ReferenceId" runat="server"></asp:TextBox>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                <asp:Literal ID="Literal6" runat="server" EnableViewState="false" Text='<%$ Resources:Content,GN0001234%>'></asp:Literal>:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:DropDownList ID="DDL_DataCenter" AutoPostBack="true" runat="server">
                                </asp:DropDownList>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                <asp:Literal ID="Literal7" runat="server" EnableViewState="false" Text='<%$ Resources:Content,GN0001229%>'></asp:Literal>:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:DropDownList ID="DDL_Rack" AutoPostBack="true" runat="server">
                                </asp:DropDownList>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                <asp:Literal ID="Literal8" runat="server" EnableViewState="false" Text='<%$ Resources:Content,GN0001245%>'></asp:Literal>:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:DropDownList ID="DDL_Switch" runat="server">
                                </asp:DropDownList>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *<asp:Literal ID="Literal17" runat="server" EnableViewState="false" Text='<%$ Resources:Content,GN0000805%>'></asp:Literal>:</label>
                        </div>
                        <div class="col-sm-9 col-xs-12">
                            <div class="form-group">
                                <asp:TextBox ID="TxBx_EditReason" MaxLength="500" TextMode="MultiLine" Height="150px" Width="100%" runat="server"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xs-12">
                            <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_EditNode" runat="server" Text='<%$ Resources:Content,GN0000281%>' />
                            <asp:Button class="btn btn-primary waves-effect" ID="Btn_CancelEdit" runat="server" Text='<%$ Resources:Content,GN0000572%>' />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </asp:Panel>
    <asp:Button ID="Btn_DummyEdit" runat="server" Style="display: none" Text="<%$ Resources:Content,GN0000575%>" />
    <EM:ModalPopupExtender runat="server" ID="MPE_Edit" BackgroundCssClass="modalBackground" DropShadow="false"
        OkControlID="Btn_CancelEdit" PopupControlID="Pnl_Edit" TargetControlID="Btn_DummyEdit">
    </EM:ModalPopupExtender>

</asp:Content>
