<%@ page title="" language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="RCC_Exchange_Auditing, MachSol.MachPanel.Web" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControls" Namespace="AjaxControls" TagPrefix="EM" %>
<%@ Register Assembly="MachSol.MachPanel.Utility" Namespace="MachSol.MachPanel.Utility"
    TagPrefix="EM" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CPH_Content" Runat="Server">
    <ajax:UpdatePanel ID="UP_Auditing" runat="server" UpdateMode="Conditional" RenderMode="Block">
        <ContentTemplate>
            <div class="col-xs-12">
                <div class="card">
                    <div class="body">
                        <EM:TabContainer ID="TC_AuditLogs" runat="server" OnClientActiveTabChanged="loadTabPanel">
                            <EM:TabPanel ID="Tab_ExportMailboxAuditLog" runat="server" HeaderText="<%$ Resources:Content,ExportMailboxAuditLog %>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent0" runat="server">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-xs-12 col-sm-3">
                                                                <label class="row-label">
                                                                    <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:Content,GN00001547%>" EnableViewState="false" />:
                                                                </label>
                                                                <div class="form-group display-date-input">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_MBStartDate" runat="server"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <i runat="server" id="A_MBStartDate" class="material-icons icon-calendar col-calendar"></i>
                                                                <EM:CalendarExtender ID="CE_MBStartDate" runat="server" TargetControlID="TxBx_MBStartDate"
                                                                    Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                                                                    PopupButtonID="A_MBStartDate" CssClass="date__calendar">
                                                                </EM:CalendarExtender>
                                                            </div>
                                                            <div class="col-xs-12 col-sm-4">
                                                                <label class="row-label">
                                                                    <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Content,DGN1119986%>" EnableViewState="false" />:
                                                                </label>
                                                                <div class="form-group display-date-input">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_MBEndDate" runat="server"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <i runat="server" id="A_MBEndDate" class="material-icons icon-calendar col-calendar"></i>
                                                                <EM:CalendarExtender ID="CE_MBEndDate" runat="server" TargetControlID="TxBx_MBEndDate"
                                                                    Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                                                                    PopupButtonID="A_MBEndDate" CssClass="date__calendar">
                                                                </EM:CalendarExtender>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strSelectOrganization %>"></asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="Ddl_Organizations" runat="server" AutoPostBack="true"></asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12 row-label">
                                                                <asp:Literal ID="Literal7" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110429 %>"></asp:Literal>:
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <EM:AddSelectableSelected ID="UCMailBoxes" runat="server" ClientSideOptimized="true" data-label="Mailboxes" />
                                                            </div>
                                                            <div class="col-xs-12 row-label">
                                                                <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:Content,AuditNote %>"></asp:Literal>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:Content,SearchForAccessBy %>"></asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <asp:DropDownList ID="Ddl_SearchForAccessBy" runat="server">
                                                                    <asp:ListItem Text="<%$ Resources:Content,AllNonOwners %>" Value=""></asp:ListItem>
                                                                    <%--<asp:ListItem Text="<%$ Resources:Content,ExternalUsers %>" Value="External"></asp:ListItem>--%>
                                                                    <asp:ListItem Text="<%$ Resources:Content,AdminAndDelegate %>" Value="Admin,Delegate"></asp:ListItem>
                                                                    <asp:ListItem Text="<%$ Resources:Content,Administrators %>" Value="Admin"></asp:ListItem>
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12 row-label">
                                                                <asp:Literal ID="Literal12" runat="server" Text="<%$ Resources:Content,SendReportTo %>"></asp:Literal>: 
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <EM:AddSelectableSelected ID="UCSendReportTo" runat="server" ClientSideOptimized="true" data-label="Send Report To" />
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button ID="Btn_ExportMailboxAuditLog" runat="server" SkinID="saveButton" Text="<%$ Resources:Content,strExport%>" CssClass="btn btn-primary" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_ExportAdminAuditLog" runat="server" HeaderText="<%$ Resources:Content,ExportAdminAuditLog %>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,SelectServerGroup %>"></asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <asp:DropDownList ID="Ddl_ServerGroups" runat="server" AutoPostBack="true"></asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-6 row-label">
                                                                <asp:Literal ID="Literal16" runat="server" EnableViewState="false" Text="<%$ Resources:Content,AdminAuditLogEnabled %>"></asp:Literal>:
                                                            </div>
                                                            <div class="col-xs-6">
                                                                <asp:CheckBox ID="ChBx_AdminAuditLogEnabled" runat="server" Text="&nbsp;" onclick="return false;" />
                                                                &nbsp;&nbsp;&nbsp;
                                                                <asp:Button ID="Btn_EnableAdminAuditLog" Visible="false" runat="server" CssClass="btn btn-primary btnAction" Text="<%$ Resources:Content,GN00001024 %>" />
                                                                <asp:Button ID="Btn_DisableAdminAuditLog" Visible="false" runat="server" CssClass="btn btn-primary btnAction" Text="<%$ Resources:Content,GN00001025 %>" />
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12 col-sm-3">
                                                                <label class="row-label">
                                                                    <asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:Content,GN00001547%>" EnableViewState="false" />:
                                                                </label>
                                                                <div class="form-group display-date-input">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_AdminStartDate" runat="server"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <i runat="server" id="A_AdminStartDate" class="material-icons icon-calendar col-calendar"></i>
                                                                <EM:CalendarExtender ID="CE_AdminStartDate" runat="server" TargetControlID="TxBx_AdminStartDate"
                                                                    Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                                                                    PopupButtonID="A_AdminStartDate" CssClass="date__calendar">
                                                                </EM:CalendarExtender>
                                                            </div>
                                                            <div class="col-xs-12 col-sm-4">
                                                                <label class="row-label">
                                                                    <asp:Literal ID="Literal14" runat="server" Text="<%$ Resources:Content,DGN1119986%>" EnableViewState="false" />:
                                                                </label>
                                                                <div class="form-group display-date-input">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_AdminEndDate" runat="server"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <i runat="server" id="A_AdminEndDate" class="material-icons icon-calendar col-calendar"></i>
                                                                <EM:CalendarExtender ID="CE_AdminEndDate" runat="server" TargetControlID="TxBx_AdminEndDate"
                                                                    Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                                                                    PopupButtonID="A_AdminEndDate" CssClass="date__calendar">
                                                                </EM:CalendarExtender>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal15" runat="server" EnableViewState="false" Text="<%$ Resources:Content,SendAuditReportTo %>"></asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <asp:TextBox ID="TxBx_SendAuditReportTo" runat="server" TextMode="MultiLine" Rows="5" MaxLength="500"></asp:TextBox>
                                                                <label>(<%=Resources.Content.String597%>)</label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button ID="Btn_ExportAdminAuditLog" runat="server" Text="<%$ Resources:Content,strExport%>" CssClass="btn btn-primary" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                        </EM:TabContainer>
                    </div>
                </div>
            </div>

        </ContentTemplate>
    </ajax:UpdatePanel>
</asp:Content>

