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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>

<asp:Content ID="Content5" ContentPlaceHolderID="CPH_Content" runat="Server">
    <asp:UpdatePanel ID='UP01' runat='server'>
        <ContentTemplate>

            <div class="col-xs-12">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="card">
                            <div class="body">

                                <EM:TabContainer ID="TabCntr_Groups" runat="server" OnClientActiveTabChanged="loadTabPanel">
                                    <EM:TabPanel ID="Tab_SGListing" runat="server" HeaderText="<%$Resources:Content,M0095%>">
                                        <ContentTemplate>
                                            <asp:Button ID="Btn_Tab0" runat="server" Style="display: none" />
                                            <asp:Panel ID="Panel_TabContent0" runat="server" Visible="true">
                                                <asp:Panel ID="Pnl_Operatios" runat="server">

                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <div class="card">
                                                                <div class="header" role="button" data-toggle="collapse" data-parent="#AS_SearchFilter" href="#<%= CSB_SearchFilter.ClientID%>" aria-expanded="true" aria-controls="SH_SearchFilter">
                                                                    <h3>
                                                                        <%= Resources.Content.GN0000395%>
                                                                    </h3>
                                                                </div>
                                                                <div id="CSB_SearchFilter" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_SearchFilter" aria-expanded="false">
                                                                    <div class="row">

                                                                        <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="td_Owner">
                                                                            <div class="form-group form-float">
                                                                                <asp:DropDownList ID="DDL_Status" runat="server">
                                                                                    <asp:ListItem Selected="True" Text='<%$ Resources:Content,GN0000934 %>' Value="-1"></asp:ListItem>
                                                                                    <asp:ListItem Text='<%$ Resources:Content,GN00001309 %>' Value="1"></asp:ListItem>
                                                                                    <asp:ListItem Text='<%$ Resources:Content,GN00001310 %>' Value="0"></asp:ListItem>
                                                                                </asp:DropDownList>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-md-3 col-sm-6 col-xs-12">
                                                                            <asp:Button ID="Btn_Filter" CssClass="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,GN0000395 %>' />
                                                                        </div>
                                                                    </div>

                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>


                                                    <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%>                                                                                                                                 
                                                                    </h3>
                                                                </div>
                                                                <div class="body">
                                                                    <div class="clearfix">
                                                                        <asp:Button ID="Btn_Add" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$Resources:Content,GN0000970%>" PostBackUrl="~/PCC/CRM/AddServerGroup.aspx" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                </asp:Panel>

                                                <div class="row">
                                                    <div class="col-xs-12">
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Panel ID="Pnl_Listing" runat="server">
                                                                    <asp:GridView ID="GV_Listing" runat="server" CssClass="table table-bordered table-striped table-hover" EmptyDataText="<%$Resources:Content,GN00001375%>"
                                                                        AutoGenerateColumns="false">

                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText='<%$ Resources:Content, String385 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="lblStatus" runat="server" />
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="<%$Resources:Content,GN0000971%>" HeaderStyle-CssClass="col-xs-4" ItemStyle-CssClass="col-xs-4">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="lb_GroupName" runat="server"></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="<%$Resources:Content,DGN1110096%>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="lbl_Provider" runat="server"></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="<%$Resources:Content,GN0000360%>" HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                                <ItemTemplate>
                                                                                    <asp:HyperLink ID="Lb_Edit" runat="server" CssClass="btn btn-primary waves-effect " Text="<%$Resources:Content,GN0000276%>"></asp:HyperLink>
                                                                                    <asp:LinkButton ID="Lb_Delete" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$Resources:Content,GN0000278%>"></asp:LinkButton>
                                                                                    <EM:ConfirmButtonExtender TargetControlID="Lb_Delete" ID="CBE_Delete" runat="server" ConfirmText="<%$Resources:Content,DGN1110094%>">
                                                                                    </EM:ConfirmButtonExtender>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                    </asp:GridView>
                                                                </asp:Panel>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

                                            </asp:Panel>
                                        </ContentTemplate>
                                    </EM:TabPanel>
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <EM:TabPanel ID="Tab_SGMemberListing" runat="server" HeaderText="<%$Resources:Content,DEV1026%>"
                                                Enabled="false">
                                                <ContentTemplate>
                                                    <asp:Button ID="Btn_Tab1" runat="server" Style="display: none" />
                                                    <asp:Panel ID="Panel_TabContent1" runat="server" Visible="false">
                                                        
                                                        <asp:Panel ID="Pnl_SGMemberListing" runat="server">
                                                            <asp:GridView ID="GV_SGMemberListing" runat="server" CssClass="table table-bordered table-striped table-hover" EmptyDataText="<%$Resources:Content,GN00001375%>"
                                                                AutoGenerateColumns="false">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="<%$Resources:Content,String385%>" HeaderStyle-CssClass="col-xs-1">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lblStatus" runat="server"></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="<%$Resources:Content,GN0000980%>" HeaderStyle-CssClass="col-xs-3">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lbl_ServerName" runat="server"></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="<%$Resources:Content,DEV1018%>" HeaderStyle-CssClass="col-xs-3">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="lbl_ReportServer" runat="server" Text='<%# DataBinder.Eval(Container,"DataItem.SQLReportServer")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="<%$Resources:Content,GN0000360%>" HeaderStyle-CssClass="col-xs-5">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="Lb_Test" runat="server" CssClass="btn btn-primary waves-effect" Text='<%$Resources:Content,String318%>'></asp:LinkButton>
                                                                            
                                                                            <asp:LinkButton ID="Lb_EDable" runat="server" CssClass="btn btn-primary waves-effect btnAction"></asp:LinkButton>
                                                                            <asp:HyperLink ID="Lb_Edit" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$Resources:Content,GN0000276%>"></asp:HyperLink>
                                                                            <asp:LinkButton ID="Lb_Delete" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$Resources:Content,GN0000278%>"></asp:LinkButton>
                                                                            <EM:ConfirmButtonExtender TargetControlID="Lb_Delete" ID="CBE_Delete" runat="server"
                                                                                ConfirmText="<%$Resources:Content,DEV1027%>">
                                                                            </EM:ConfirmButtonExtender>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </asp:Panel>
                                                    </asp:Panel>

                                                </ContentTemplate>
                                            </EM:TabPanel>
                                        </div>
                                    </div>
                                </EM:TabContainer>

                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <asp:Panel ID="Pnl_ServiceTest" runat="server" Style="display: none" CssClass="row width-modal-popup-auto">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header">
                            <h2>
                                <%= Resources.Content.L0096%>
                            </h2>
                        </div>
                        <div class="body">
                            <div class="row">
                                <div class="col-xs-12">
                                    <asp:Label ID="Lbl_ServicesStaus" runat="server" ForeColor="Green" Font-Bold="true"
                                        EnableViewState="false"></asp:Label>
                                </div>

                            </div>
                            <div class="row">
                                <div class="col-xs-12">
                                    <asp:Button ID="Btn_OK" runat="server" Text="<%$Resources:Content,GN0000858%>" CssClass="btn btn-primary waves-effect" />
                                    <asp:Button ID="Btn_Display" runat="server" Style="display: none;" />
                                </div>

                            </div>
                        </div>
                    </div>
                </div>

            </asp:Panel>
            <EM:ModalPopupExtender runat="server" ID="MPE_ServicesTest" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Pnl_ServiceTest" TargetControlID="Btn_Display"
                OkControlID="Btn_OK">
            </EM:ModalPopupExtender>


        </ContentTemplate>
    </asp:UpdatePanel>

</asp:Content>
