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

<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="System.Web.UI" TagPrefix="cc1" %>
<asp:Content ID="Content4" ContentPlaceHolderID="CPH_Content" runat="Server">

    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <div class="displayInlineBlock">
                    <h2>
                        <%= Resources.Content.GN0001231%>                                                                                                                                 
                    </h2>
                </div>
                <asp:LinkButton ID="lb_SPGoBack" runat="server" Text="<%$ Resources:Content,GoBackToServerGroups %>" CausesValidation="false"
                    CssClass="btn btn-primary waves-effect pull-right m-t--4px" />
            </div>
            <div class="body">
                <div class="row Div_OpsRow" id="Div_OpsRow" runat="server">
                    <div class="col-xs-12">
                        <div class="card">
                            <div class="header">
                                <div class="displayInlineBlock">
                                    <h2>
                                        <%= Resources.Content.GN00001320%>                                                                                                                                 
                                    </h2>
                                </div>
                            </div>
                            <div class="body">

                                <asp:Button ID="BTN_AddServer" class="btn btn-primary waves-effect btnAction" runat="server" Text='<%$ Resources:Content,AddServer %>' />

                                <asp:Button ID="btnEnable" runat="server" Text="<%$ Resources:Content,strEnable%>" class="btn btn-primary waves-effect btnAction" Custom1="Custom" Style="display: none" />
                                <asp:Button ID="btnDisable" runat="server" Text="<%$ Resources:Content,strDisable%>" class="btn btn-primary waves-effect btnAction" Custom1="Custom" Style="display: none" />

                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-12">
                        <table class="table table-bordered table-striped table-hover">
                            <tr>
                                <td width="20%" class="row-label">
                                    <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:Content,GN0000102%>"
                                        EnableViewState="false" />
                                </td>
                                <td width="30%">
                                    <asp:Label ID="LB_ServerGroupName" runat="server" Text="<%$ Resources:Content,DGN1110254%>" />
                                </td>
                                <td width="20%" class="row-label">
                                    <asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:Content,DGN1110096%>"
                                        EnableViewState="false" />
                                </td>
                                <td width="30%">
                                    <asp:Label ID="Lbl_SGProvider" runat="server" Text="<%$ Resources:Content,DGN1110254%>" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <asp:GridView ID="GV_Servers" CssClass="table table-bordered table-striped table-hover" AllowSorting="false" AllowPaging="true"
                    EmptyDataText='<%$ Resources:Content, GN00001375 %>'  runat="server" AutoGenerateColumns="False">

                    <Columns>
                        <asp:TemplateField HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1" HeaderText='<%$ Resources:Content,GN0000370 %>'>
                            <HeaderTemplate>
                                <asp:CheckBox class="option-menu" ID="ChkBx_All" runat="server" Text=" " onclick="SetCheckedHeader(this.checked, this,'All');" />
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:CheckBox class="option-menu" ID="ChkBx_Item" runat="server" Text=" " onclick="SetCheckedHeader(this.checked, this,'1');" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderStyle-CssClass="col-xs-1" HeaderText='<%$ Resources:Content, String385 %>'>
                            <ItemTemplate>
                                <asp:Label ID="LB_Status" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderStyle-CssClass="col-xs-4" HeaderText='<%$ Resources:Content, ServerFQDN %>'>
                            <ItemTemplate>
                                <asp:Label ID="LB_FQDN" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText='<%$ Resources:Content, IP %>' HeaderStyle-CssClass="col-xs-3">
                            <ItemTemplate>
                                <asp:Label ID="LB_IP" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000360 %>' HeaderStyle-CssClass="col-xs-4">
                            <ItemTemplate>

                                <asp:LinkButton CssClass="btn btn-primary waves-effect" ID="LB_TestService" CommandName="TestService"
                                    runat="server" Text="<%$ Resources:Content,String318%>" />
                                <asp:HyperLink ID="LB_Edit" SkinID="linkButtonEdit" runat="server" Text="<%$ Resources:Content,GN0000276%>" CssClass="btn btn-primary" />
                                <asp:LinkButton CssClass="btn btn-primary waves-effect btnAction" ID="LB_EnableDisable" CommandName="EnableDisable"
                                    runat="server" Text="<%$ Resources:Content,GN00001025%>" />
                                <asp:LinkButton ID="LB_Remove" SkinID="linkButtonRemove" runat="server" Text="<%$ Resources:Content,Remove%>" CssClass="btn btn-primary btnAction" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <%--PagerTemplate Start--%>
                    <PagerTemplate>
                        <EM:Pager ID="Pager1" runat="server" />
                    </PagerTemplate>
                    <%--PagerTemplate End--%>
                </asp:GridView>
            </div>
        </div>
    </div>

    <asp:Panel ID="Pnl_ServiceTest" runat="server" CssClass="row width-modal-popup-auto" Style="display: none">

        <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>
</asp:Content>
