<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="FinIQ_LogViewer.aspx.vb" Inherits="FinIQWebApp.FinIQ_LogViewer" MasterPageFile="~/FiniqAppMasterPage.Master" MaintainScrollPositionOnPostback="True" %>

<%@ Register Src="../FinIQ_User_Controls/FinIQ_SyntaxHighlighter/FinIQ_SyntaxHighlighter.ascx" TagName="FinIQ_SyntaxHighlighter" TagPrefix="uc2" %>


<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <style>
        .tbl {
            overflow: auto;
        }

            .tbl tr td a {
                color: #0284e0
            }

            .tbl tr td {
                padding: 2px;
                vertical-align: top;
                font-size: 8pt;
            }

        .GridItem tr {
            white-space: nowrap;
            padding: 10px !important;
            border: none;
            border: none !important;
        }


        .GridItem td, .Grid td, .Grid td, .AlternatItemStyle td, .GridItemSelect td {
            white-space: nowrap;
            padding: 10px !important;
            border: none !important;
        }



        .Grid tr td {
            border: none !important;
        }

        .Grid tr {
            border: none !important;
        }


        .Grid {
            border: none !important;
        }

        .fieldSetBorder {
            border: 1px solid #dcdcdc;
        }

        .fieldsetlegend {
            font-size: 14px;
        }

 

        .Grid td:hover {
            background-color: #f5f5f5;
        }
    </style>

    <link href="../App_Themes/UCPCTL.css" rel="stylesheet" type="text/css" />

    <asp:UpdateProgress ID="UProcessFunctionDef" runat="server" AssociatedUpdatePanelID="UpdatePanel1"
        DisplayAfter="0">
        <ProgressTemplate>
            <div style="position: absolute; z-index: 9999;">
                <img alt="Loading" src="../App_Resources/loading.gif" class="loader" /><span class="lbl">Loading...&nbsp;&nbsp;
                </span>
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>



    <asp:UpdatePanel ID="UpdatePanel1" runat="server">

        <ContentTemplate>


            <table cellspadding="3" cellspacing="3">
                <tr>
                    <td class="lblBlotterPaddingRight">
                        <asp:Label ID="lblUserGroup" CssClass="lbl" runat="server">Login</asp:Label>

                    </td>
                    <td class="lblBlotterPaddingRight">
                        <asp:DropDownList ID="ddlLogin" Width="180px" runat="server" CssClass="ddl" AutoPostBack="true"></asp:DropDownList>
                    </td>


                    <td colspan="2">
                        <asp:Label ID="lblTableExisting" CssClass="lbl" runat="server"></asp:Label></td>
                    <td class="lblBlotterPaddingRight">
                        <asp:Label ID="lblRecords" CssClass="lbl" runat="server" Text="Records"></asp:Label>
                    </td>
                    <td class="ctlBlotterPaddingRight">
                        <asp:DropDownList ID="ddlRecords" Width="180px" runat="server" CssClass="ddl" AutoPostBack="true">
                            <asp:ListItem Value="1_M">Last 1 Minute</asp:ListItem>
                            <asp:ListItem Value="5_M">Last 5 Minute</asp:ListItem>
                            <asp:ListItem Value="10_M">Last 10 Minute</asp:ListItem>
                            <asp:ListItem Value="30_M">Last 30 Minute</asp:ListItem>
                            <asp:ListItem Value="1_D">Last 1 Days</asp:ListItem>
                            <asp:ListItem Value="10_D">Last 10 Days</asp:ListItem>
                            <asp:ListItem Value="30_D">Last 30 Days</asp:ListItem>
                            <asp:ListItem Value="60_D">Last 60 Days</asp:ListItem>
                            <asp:ListItem Value="180_D">Last 180 Days</asp:ListItem>
                        </asp:DropDownList>

                    </td>

                    <td class="ctlBlotterPaddingRight">
                        <asp:Button ID="btnLoad" runat="server" Text="Load" Width="100" CssClass="btn" />

                    </td>
                    <td>
                        <asp:Label runat="server" ID="lblError"></asp:Label>
                    </td>
                </tr>

            </table>





            <table class="tbl" style="max-height: 800px !important; padding: 10px">

                <tr>
                    <td>
                        <fieldset class="fieldSetBorder">
                            <legend class="fieldsetlegend">Folders</legend>
                            <asp:GridView ID="grdFolders" CssClass="Grid GridWidth" Style="margin-top: 20px;" runat="server" GridLines="None" AllowSorting="false" ShowHeader="false" ShowFooter="false" ShowHeaderWhenEmpty="False" EmptyDataText="No Record Found" EnableViewState="true" HorizontalAlign="Left" CellPadding="10">

                                <PagerStyle CssClass="GridPager" />
                                <Columns>
                                </Columns>
                            </asp:GridView>
                        </fieldset>
                    </td>

                </tr>

                <tr style="margin-top: 50px">
                    <td>

                        <fieldset class="fieldSetBorder" style="margin-top: 10px;">
                            <legend class="fieldsetlegend">Files</legend>

                            <asp:GridView ID="grdSubFolders" CssClass="Grid GridWidth" Style="margin-top: 20px;" runat="server" GridLines="None" AllowSorting="false" ShowHeader="false" ShowFooter="false" ShowHeaderWhenEmpty="False" EmptyDataText="No Record Found" EnableViewState="true" HorizontalAlign="Left" CellPadding="10">


                                <PagerStyle CssClass="GridPager" />
                                <Columns>
                                    <asp:TemplateField>
                                        <ItemTemplate>
                                        </ItemTemplate>
                                    </asp:TemplateField>

                                    <asp:TemplateField>
                                        <ItemTemplate>
                                        </ItemTemplate>
                                    </asp:TemplateField>

                                    <asp:TemplateField>
                                        <ItemTemplate>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                        </fieldset>
                    </td>

                </tr>
            </table>

            <%--            <table class="tbl" style="margin-top:100px" >
                <tr >

                 <td style="border: solid !important; border-width: 1px !important; border-color: #dddddd !important; min-width: 200px">

                        <asp:gridview id="grdlist" cssclass="grid gridwidth" runat="server" gridlines="none" allowsorting="false" showheader="false" showfooter="false" showheaderwhenempty="false" emptydatatext="no record found" enableviewstate="true" horizontalalign="left" cellpadding="10">
                            <rowstyle cssclass="griditem" />
                         
                            <pagerstyle cssclass="gridpager" />
                            <columns>
                                <asp:templatefield>
                                    <itemtemplate>
                                    </itemtemplate>
                                </asp:templatefield>

                            </columns>
                        </asp:gridview>
                    </td> 
                    <td style="border: solid !important; border-width: 1px !important; border-color: #dddddd !important;">
                        <asp:panel id="pnlshl" runat="server" enableviewstate="false" width="1500px">
                            <uc2:finiq_syntaxhighlighter runat="server" id="oshl" style="overflow:hidden !important;" width="1500px" height="800px" font="verdana 40px" enableviewstate="false" validaterequestmode="disabled" />
                        </asp:panel>

                    </td>
                </tr>
            </table>--%>
        </ContentTemplate>

    </asp:UpdatePanel>


</asp:Content>



