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

<%@ Register Assembly="MachSol.MachPanel.Utility" Namespace="MachSol.MachPanel.Utility" TagPrefix="EM" %>

<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>
<%@ Register Src="~/PCC/DC/CC/ADOrgs.ascx" TagName="ADOrgs" TagPrefix="EM" %>
<%@ Register Src="~/RCC/RDS/CC/Policies.ascx" TagName="ucpolicies" TagPrefix="EM" %>
<%@ Register Src="~/RCC/RDS/CC/UserSettings.ascx" TagName="ucusersettings" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/AccountStatment.ascx" TagName="AccountStatment" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/CC/GetComments.ascx" TagName="GetComments" TagPrefix="EM" %>
<%@ Register Src="../CC/Notes.ascx" TagName="Notes" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/CC/GenerateInvoice.ascx" TagName="GenerateInvoice" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/CC/CancelSubscription.ascx" TagName="CancelSubscription" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/AccountAddons.ascx" TagName="AccountAddons" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/CC/FileShare.ascx" TagName="FS" TagPrefix="EM" %>
<%@ Register Src="../CC/Label.ascx" TagName="Label" TagPrefix="EM" %>
<asp:Content ID="Content4" ContentPlaceHolderID="CPH_Content" runat="Server">
    <style type="text/css">
        .ajax__tab_default .ajax__tab_header /* this makes the tabs wrap*/ {
            white-space: normal !important;
        }
    </style>

    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h2>
                    <asp:Literal ID="Ltl_SubsInfo" runat="server" Text='<%$ Resources:Content,Manage %>' /></h2>
            </div>
            <div class="body">
                <asp:Button ID="Btn_RefreshTab" CssClass="RefreshTab" runat="server" Style="display: none;" />
                <EM:TabContainer ID="TC_Manage" runat="server" OnClientActiveTabChanged="loadTabPanel">
                    <EM:TabPanel ID="Tab_GeneralSettings" runat="server" HeaderText='<%$ Resources:Content,SM400028%>'>
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab0" runat="server" Style="display: none" />
                            <asp:Panel ID="Pnl_TabContent0" runat="server">

                                <div class="row Div_OpsRow" id="Div_Operation" 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 ID="Btn_PutOnHold" runat="server" Text="<%$ Resources:Content,GN0000756%>" class="btn btn-primary waves-effect btnAction" />
                                                <asp:Button ID="Btn_CancelSub" runat="server" Text="<%$ Resources:Content,SPT002010%>" class="btn btn-primary waves-effect btnAction" />
                                                <asp:Button ID="Btn_GenerateRenewalInvoice" runat="server" Text="<%$ Resources:Content,GN00001482%>" class="btn btn-primary waves-effect btnAction" />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">

                                    <div class="col-sm-8">
                                        <div class="card">
                                            <div class="header">
                                                <h3>
                                                    <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Content,GN00001466%>" 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="Literal10" runat="server" Text="<%$ Resources:Content,String61%>"
                                                            EnableViewState="false" />:
                                                    </div>
                                                    <div class="col-sm-9 col-xs-12">
                                                        <asp:Label ID="LB_SubscriptionID" runat="server"></asp:Label>
                                                    </div>
                                                </div>

                                                <div class="row" id="Div_Account" runat="server">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,GN0000850%>"
                                                            EnableViewState="false" />:
                                                    </div>
                                                    <div class="col-sm-9 col-xs-12">
                                                        <asp:HyperLink ID="LB_Account" runat="server"></asp:HyperLink>
                                                    </div>
                                                </div>
                                                <div class="row" id="Div_SubResellerInfo" runat="server" visible="false">
                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                        <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,strSubReseller%>"
                                                            EnableViewState="false" />:
                                                    </div>
                                                    <div class="col-sm-8 col-xs-12">
                                                        <asp:LinkButton ID="LB_SubResellerInfo" runat="server"></asp:LinkButton>
                                                        <EM:ConfirmButtonExtender ID="CBE_LB_SubResellerInfo" ConfirmText="<%$ Resources:Content,LoginAsSubReseller%>" TargetControlID="LB_SubResellerInfo" runat="server">
                                                        </EM:ConfirmButtonExtender>
                                                    </div>
                                                </div>
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,GN000135%>"
                                                            EnableViewState="false" />:
                                                    </div>
                                                    <div class="col-sm-9 col-xs-12" id="Lbl_ServiceType" runat="server">
                                                    </div>
                                                </div>

                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:Content,GN000141%>"
                                                            EnableViewState="false" />:
                                                    </div>
                                                    <div class="col-sm-9 col-xs-12" id="Lbl_Package" runat="server">
                                                    </div>
                                                </div>

                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <asp:Literal ID="Literal181" runat="server" Text='<%$ Resources:Content,Dev336%>' />:
                                                    </div>
                                                    <div class="col-sm-9 col-xs-12">
                                                        <asp:Literal runat="server" ID="Lbl_PackageComments"></asp:Literal>
                                                    </div>
                                                </div>

                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:Content,GN00001474%>"
                                                            EnableViewState="false" />:
                                                    </div>
                                                    <div class="col-sm-9 col-xs-12" id="Lbl_SignUpDate" runat="server">
                                                    </div>
                                                </div>

                                                <div class="row" id="Div_LastRenewal" runat="server">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <asp:Literal ID="Literal12" runat="server" Text="<%$ Resources:Content,GN000136%>"
                                                            EnableViewState="false" />:
                                                    </div>
                                                    <div class="col-sm-9 col-xs-12" id="Lbl_LastRenewal" runat="server">
                                                    </div>
                                                </div>

                                                <div class="row" id="Div_NextRenewal" runat="server">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:Content,GN000137%>"
                                                            EnableViewState="false" />:
                                                    </div>
                                                    <div class="col-sm-9 col-xs-12" id="Lbl_NextRenewal" runat="server">
                                                    </div>
                                                </div>

                                                <div class="row" id="Div_Label" runat="server">
                                                    <EM:Label ID="Label" runat="server" />
                                                </div>

                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-sm-4">
                                        <div class="card">
                                            <div class="header">
                                                <h3>
                                                    <asp:Label ID="Label1" runat="server" Text="<%$ Resources:Content,SPT002098%>" EnableViewState="false"></asp:Label></h3>
                                            </div>
                                            <div class="body">
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,String385%>" EnableViewState="false" />:
                                                    </div>
                                                    <div class="col-sm-9 col-xs-12">
                                                        <asp:Label ID="lbl_Status" runat="server" data-toggle="tooltip" data-placement="top" title="" data-original-title="" />
                                                    </div>
                                                </div>

                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <asp:Literal ID="Literal15" runat="server" Text="<%$ Resources:Content,DGN1110096%>" EnableViewState="false" />:
                                                    </div>
                                                    <div class="col-sm-9 col-xs-12">
                                                        <asp:Label ID="Lbl_Provider" runat="server"></asp:Label>
                                                    </div>
                                                </div>

                                                <div class="row" id="Div_Server" runat="server">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <asp:Literal ID="Literal8" runat="server" Text='<%$ Resources:Content,DGN1110254%>' />:
                                                    </div>
                                                    <div class="col-sm-9 col-xs-12">
                                                        <asp:HyperLink ID="LB_Server" Text="" runat="server"></asp:HyperLink>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <EM:Notes ID="Notes_RDSAccount" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_Addons" runat="server" HeaderText="<%$ Resources:Content,GN00001489%>">
                        <ContentTemplate>
                            <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab1" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">
                                <EM:AccountAddons ID="AA_Hosting" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_Billing" runat="server" HeaderText="<%$ Resources:Content,GN00001490%>">
                        <ContentTemplate>
                            <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab2" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent2" runat="server" Visible="false">
                                <EM:AccountStatment ID="RDS_Hosting" runat="server"></EM:AccountStatment>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_Organizations" runat="server" HeaderText="<%$ Resources:Content,RDSOrganization%>">
                        <ContentTemplate>
                            <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab3" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent3" runat="server" Visible="false">
                                <EM:ADOrgs ID="ADOrgs1" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_Policies" runat="server" HeaderText='<%$ Resources:Content,Policies%>'>
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab4" runat="server" Style="display: none" />
                            <asp:Panel ID="Pnl_TabContent4" runat="server" Visible="false">
                                <EM:ucpolicies ID="UCPolicies" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_UserSettings" runat="server" HeaderText='<%$ Resources:Content,UserSettings%>'>
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab5" runat="server" Style="display: none" />
                            <asp:Panel ID="Pnl_TabContent5" runat="server">
                                <EM:ucusersettings ID="UCUserSettings" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_FileShare" runat="server" HeaderText="<%$ Resources:Content,strFileShare%>">
                        <ContentTemplate>
                            <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab6" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent6" runat="server" Visible="false">
                                <EM:FS ID="FS" runat="server" />
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                </EM:TabContainer>
            </div>
        </div>
    </div>

    <ajax:UpdatePanel ID="UP_Inter" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Button CssClass="btn btn-primary waves-effect" ID="Button1" Style="display: none" runat="server" />

            <asp:Panel ID="Panel3" runat="server" Style="display: none" CssClass="width-modal-popup-auto">
                <EM:GetComments ID="GetComments" runat="server" />
            </asp:Panel>
            <EM:ModalPopupExtender runat="server" ID="MPE_GetReason" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Panel3" TargetControlID="Button1">
            </EM:ModalPopupExtender>
        </ContentTemplate>
    </ajax:UpdatePanel>

    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Dummy2" Style="display: none" runat="server" />
    <asp:Panel ID="Panel2" runat="server" Style="display: none" CssClass="width-modal-popup-auto">
        <EM:GenerateInvoice ID="GenerateInvoice" runat="server" />
    </asp:Panel>
    <EM:ModalPopupExtender runat="server" ID="MPE_Invoice" BackgroundCssClass="modalBackground"
        DropShadow="false" PopupControlID="Panel2" TargetControlID="Btn_Dummy2">
    </EM:ModalPopupExtender>

    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Dummy123" runat="server" Text="<%$ Resources:Content,SMI0007%>"
        Style="display: none;" />
    <asp:Panel ID="Panel1" runat="server" Style="display: none;" CssClass="width-modal-popup-auto">
        <EM:CancelSubscription ID="UCCancelSubscription" runat="server" />
    </asp:Panel>
    <EM:ModalPopupExtender runat="server" ID="MP1" BackgroundCssClass="modalBackground"
        DropShadow="false" PopupControlID="Panel1" TargetControlID="Btn_Dummy123">
    </EM:ModalPopupExtender>
</asp:Content>



