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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>

<asp:Content ID="Content7" ContentPlaceHolderID="CPH_Content" runat="Server">

    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h3>
                    <%= Resources.Content.GN0000012%>
                </h3>
            </div>
            <div class="body">
                <asp:Panel ID="Pnl_Search" runat="server" DefaultButton="Btn_Search">
                    <div class="row">
                        <div class="panel-group search-panel" id="AS_SHListing" role="tablist" aria-multiselectable="true">
                            <div class="col-xs-12" role="tab" id="SH_SHListing">
                                <div class="card">
                                    <div class="header" role="button" data-toggle="collapse" data-parent="#AS_SHListing" href="#<%= CSB_SHListing.ClientID%>" aria-expanded="true" aria-controls="SH_SHListing">
                                        <h3>
                                            <%= Resources.Content.GN0000395%>
                                        </h3>
                                    </div>
                                    <div id="CSB_SHListing" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_SHListing" 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_Owner" runat="server" onchange="setOwnerCookie(this)"></asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_Id" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,SPT002807%>" class="form-label"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-md-3 col-sm-6 col-xs-12" id="TD_ClientId" runat="server">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_ClientId" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000715%>" class="form-label"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-md-3 col-sm-6 col-xs-12" id="TD_ClientName" runat="server">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_ClientName" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label7" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000268%>" class="form-label"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_DomainName" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label15" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN000125%>" class="form-label"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_DBName" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,SPT002073%>" class="form-label"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_UserName" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label8" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000567%>" class="form-label"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-md-3 col-sm-6 col-xs-12" id="TD_CompanyName" runat="server">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_CompanyName" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001077%>" class="form-label"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <asp:DropDownList ID="DDL_Status" runat="server"></asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_LabelSrch" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label22" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strLabel%>" class="form-label"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="col-xs-12">
                                                <div class="form-group form-float">
                                                    <asp:Button ID="Btn_Search" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                    <asp:Button ID="Btn_Clear" Visible="false" class="btn btn-primary waves-effect" runat="server"
                                                        Text="<%$ Resources:Content,String289 %>" />
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </asp:Panel>

                <div class="row">
                    <div class="col-xs-12">
                        <asp:GridView ID="GV_DBAccounts" runat="server" AllowSorting="true" CssClass="table table-bordered table-striped table-hover"
                            AutoGenerateColumns="false" EmptyDataText="<%$ Resources:Content,GN00001375%>">
                            <Columns>
                                <asp:TemplateField HeaderText='<%$ Resources:Content, String385 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                    <ItemTemplate>
                                        <asp:Label ID="img_Status" runat="server" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField SortExpression="Id" HeaderText='<%$ Resources:Content,DGN1119987%>' HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                    <ItemTemplate>
                                        <table class="table small">
                                            <tbody>
                                                <tr>
                                                    <td class="col-xs-5 row-label">
                                                        <asp:Label ID="Label5" runat="server" Text="<%$ Resources:Content,SPT002807%>" EnableViewState="false"></asp:Label>:                                                            
                                                    </td>
                                                    <td class="col-xs-8">
                                                        <asp:HyperLink ID="LB_Id" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.Id")%>'></asp:HyperLink>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="col-xs-5 row-label">
                                                        <asp:Label ID="Label6" runat="server" Text="<%$ Resources:Content,GN000141%>" EnableViewState="false"></asp:Label>:                                                          
                                                    </td>
                                                    <td class="col-xs-8">
                                                        <asp:Label ID="LB_PackageName" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.Package")%>'></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr id="trLabel" runat="server">
                                                    <td class="col-xs-5 row-label">
                                                        <asp:Label ID="Label10" runat="server" Text="<%$ Resources:Content,StrLabelColon%>" EnableViewState="false"></asp:Label>
                                                    </td>
                                                    <td class="col-xs-8">
                                                        <asp:Label ID="Label11" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.Label")%>'></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr id="trOrgName" runat="server">
                                                    <td class="col-xs-5 row-label">
                                                        <asp:Label ID="Label12" runat="server" Text="<%$ Resources:Content,strOrg%>" EnableViewState="false"></asp:Label>:
                                                    </td>
                                                    <td class="col-xs-8">
                                                        <asp:HyperLink ID="LB_OrgName" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.OrganizationName")%>'></asp:HyperLink>
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField SortExpression="CustomerId" HeaderText='<%$ Resources:Content,GN0000715%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                    <ItemTemplate>
                                        <asp:HyperLink ID="LB_ClientID" runat="server"></asp:HyperLink>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField SortExpression="DomainName" HeaderText='<%$ Resources:Content,GN000125%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                    <ItemTemplate>
                                        <asp:Label ID="LB_DomainName" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.DomainName")%>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField SortExpression="DBName" HeaderText='<%$ Resources:Content,SPT002073%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                    <ItemTemplate>
                                        <asp:Label ID="LB_DBName" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.DBName")%>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText='<%$ Resources:Content,USM0025%>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                    <ItemTemplate>
                                        <asp:HyperLink ID="Lbl_Users" runat="server" data-toggle="tooltip" data-placement="top" title="" data-original-title="" data-html="true"></asp:HyperLink>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000360%>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                    <ItemTemplate>
                                        <%--<asp:HyperLink ID="Btn_Manage" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,L0086%>" />
                                        <asp:HyperLink ID="LB_ManageDB" runat="server" Text="<%$ Resources:Content,manageDatabases%>" class="btn btn-primary waves-effect" />
                                        <asp:HyperLink ID="LB_ManageODBCDSN" runat="server" Text="<%$ Resources:Content,manageODBCDSN%>" class="btn btn-primary waves-effect" />--%>

                                        <ul class="option-menu pull-left" style="width: 50% !important;">
                                            <li class="dropdown">
                                                <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                                    <i class="material-icons">menu</i>
                                                </a>
                                                <ul class="dropdown-menu pull-right">
                                                    <li>
                                                        <asp:HyperLink ID="Btn_Manage" runat="server" class="btnAction" Text="<%$ Resources:Content,L0086%>" /></li>
                                                    <li>
                                                        <asp:HyperLink ID="LB_ManageDB" runat="server" Text="<%$ Resources:Content,manageDatabases%>" class="btnAction" /></li>
                                                    <li>
                                                        <asp:HyperLink ID="LB_ManageODBCDSN" runat="server" Text="<%$ Resources:Content,manageODBCDSN%>" class="btnAction" /></li>
                                                </ul>
                                            </li>
                                        </ul>

                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                            <%--PagerTemplate Start--%>
                            <PagerTemplate>
                                <EM:Pager ID="Pager1" runat="server" />
                            </PagerTemplate>
                            <%--PagerTemplate End--%>
                        </asp:GridView>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>


