<%@ Page Title="" Language="C#" MasterPageFile="~/EmptyAjaxMaster.Master" AutoEventWireup="true" CodeBehind="ProvisionOAuthAccount.aspx.cs" Inherits="MKinsight.Online.UIServices.Community.ProvisionOAuthAccount" %>

<%@ Register Src="../UIControls/Header.ascx" TagName="Header" TagPrefix="uc1" %>

<%@ Register Src="../UIControls/MessageBox.ascx" TagName="MessageBox" TagPrefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="h" runat="server">
    <script type="text/javascript">

        function cb() {
            parent.$.colorbox.close();
            window.parent.location.href = window.parent.location.href;
        }

    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cm" runat="server">
    <uc1:Header ID="u_h" runat="server" />
    <uc2:MessageBox ID="u_m" runat="server" />

    <table style="width: 100%">

        <tr>
            <td>

                <asp:Label ID="lbl_Info" runat="server"></asp:Label>

            </td>
        </tr>
        <tr>
            <td>

                <table>
                    <tr>
                        <td>
                            <asp:Label ID="lbl_TypedList" runat="server"></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="lbl_DoneList" runat="server" Visible="false"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="vertical-align: top;">
                            <asp:TextBox ID="txt_Emails" runat="server" TextMode="MultiLine" Height="300" Width="400px"></asp:TextBox>
                        </td>
                        <td style="vertical-align: top;">
                            <asp:TextBox ID="txt_EmailsDone" runat="server" TextMode="MultiLine" Height="300" Width="400px" ReadOnly="true" Visible="false"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="btn_OK" runat="server"  OnClick="OnOK"/>
                <asp:Button ID="btn_Cancel" runat="server" OnClientClick="cb(); return false;" />
            </td>
        </tr>
    </table>
</asp:Content>
