<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PopupStatusIconEditor.ascx.cs"
    Inherits="Zap.BI.Portal.Controls.UserControls.ModalPopups.PopupStatusIconEditor" %>

<zapWeb:ZapUpdatePanel ID="PopupUpdatePanel" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <table cellspacing="5" cellpadding="0" border="0" style="width: 600px;">
            <tr>
                <%-- Resource selector --%>
                <td>
                    <table cellspacing="5" cellpadding="0" border="0">
                        <tr>
                            <td>
                                <asp:Label runat="server" ID="SelectResourceTitleLabel" Text="<%$ Resources: Controls.UserControls.ModalPopups.ModalPopupText, SelectResource_Title %>" CssClass="ui-title" />
                            </td>
                        </tr>
                        <tr>
                            <td valign="top">                                
                                <div style="width: 350px; height: 330px; overflow: auto;">
                                    <zapWeb:TreeView ID="IconExplorer" runat="server" />
                                </div>
                            </td>
                        </tr>
                    </table>
                </td>
                <%-- Threshold / image display --%>
                <td>
                    <table cellspacing="5" cellpadding="0" border="0">
                        <tr>
                            <td>
                                <asp:Table runat="server" ID="EditorTable" EnableViewState="false" style="width: 180px;" CssClass="StatusIconEditorTable">
                                </asp:Table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td align="right" colspan="2">
                    <asp:Button ID="Ok" runat="server" CssClass="button" Text="<%$ Resources: Controls.ControlText, Label_Ok %>"
                        Style="width: 75px" OnClick="OnOkButton_Click" />
                    <asp:Button ID="Cancel" runat="server" CssClass="button" Text="<%$ Resources: Controls.ControlText, Label_Cancel %>"
                        Style="width: 75px" OnClick="OnCancelButton_Click" />
                </td>
            </tr>
        </table>
    </ContentTemplate>
</zapWeb:ZapUpdatePanel>
