<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="BlacklistIPDetails.ascx.cs"
    Inherits="NopSolutions.NopCommerce.Web.Administration.Modules.BlacklistIPDetailsControl" %>
<%@ Register TagPrefix="nopCommerce" TagName="BlacklistIPInfo" Src="BlacklistIPInfo.ascx" %>
<div class="section-header">
    <div class="title">
        <img src="Common/ico-blacklist.png" alt="" />
        Edit IP from blacklist <a href="Blacklist.aspx" title="Back to blacklist">(back to blacklist)</a>
    </div>
    <div class="options">
        <asp:Button ID="btnSave" runat="server" CssClass="adminButtonBlue" Text="Save" OnClick="OnSaveClick"
            ToolTip="Save IP to blacklist" />
        <asp:Button ID="btnDelete" runat="server" CssClass="adminButtonBlue" Text="Delete"
            OnClick="OnDeleteClick" CausesValidation="false" ToolTip="Delete IP address" />
    </div>
</div>
<p>
</p>
<nopCommerce:BlacklistIPInfo ID="ctrlBlacklist" runat="server" />
<ajaxToolkit:ConfirmButtonExtender ID="ConfirmDeleteButtonExtender" runat="server"
    TargetControlID="btnDelete" DisplayModalPopupID="ModalPopupExtenderDelete" />
<ajaxToolkit:ModalPopupExtender ID="ModalPopupExtenderDelete" runat="server" TargetControlID="btnDelete"
    PopupControlID="pnlDeletePopup" OkControlID="deleteButtonOk" CancelControlID="deleteButtonCancel"
    BackgroundCssClass="modalBackground" />
<asp:Panel ID="pnlDeletePopup" runat="server" Style="display: none; width: 250px;
    background-color: White; border-width: 2px; border-color: Black; border-style: solid;
    padding: 20px;">
    <div style="text-align: center;">
        Are you sure?
        <br />
        <br />
        <asp:Button ID="deleteButtonOk" runat="server" Text="OK" CssClass="adminButton" CausesValidation="false" />
        <asp:Button ID="deleteButtonCancel" runat="server" Text="Cancel" CssClass="adminButton"
            CausesValidation="false" />
    </div>
</asp:Panel>
