<%@ Page Language="C#" MasterPageFile="~/masterpages/eDashboard.master" AutoEventWireup="True" Inherits="site_AccessManagement_Roles_DeleteDetail"
    Title="eSecuritel Role Delete" Culture="auto"
    UICulture="auto" Codebehind="DeleteDetail.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="eContent" runat="Server">
    <h1>
        <asp:Literal ID="m_litSubHeader" runat="server" Text="<%$ Resources: SecurityManagement, LabelDeleteRoleDash %>" />
        <asp:Label ID="m_lblRoleType" runat="server"></asp:Label></h1>
    <table class="gvTable" cellpadding="0" cellspacing="0">
        <tr>
            <td align = "right">
                <b>
                    <asp:Literal ID="m_litName" runat="server" Text="<%$ Resources: SecurityManagement, LabelRoleNameColon %>" /></b></td>
            <td>
                <asp:Label ID="m_lblName" runat="server"></asp:Label></td>
        </tr>
        <tr>
            <td align = "right">
                <b>
                    <asp:Literal ID="m_litDescription" runat="server" Text="<%$ Resources: SecurityManagement, LabelDescriptionColon %>" /></b></td>
            <td>
                <asp:Label ID="m_lblDescription" runat="server"></asp:Label></td>
        </tr>
        <tr>
            <td colspan="2">
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Literal ID="m_litSelections" runat="server" Text="<%$ Resources: SecurityManagement, LabelTaskSelectionsColon %>" /></td>
        </tr>
    </table>
    <div class="subpanelAddition">
        <asp:Repeater ID="m_rTaskLists" runat="server" OnItemDataBound="m_rTaskLists_ItemDataBound">
            <ItemTemplate>
                <div class="subpanelheader hr">
                    <img src="~/images/Collapse_13x13.jpg" class="showstate" onclick="expandcontent(this, '<%# DataBinder.Eval(Container.DataItem, "TaskListName") %>')"
                        alt="contract" />
                    &nbsp;
                    <%# DataBinder.Eval(Container.DataItem, "TaskListName") %>
                </div>
                <div id='<%# DataBinder.Eval(Container.DataItem, "TaskListName") %>' class="switchcontent">
                    <asp:CheckBoxList ID="m_cklTasks" runat="server" Enabled="False" RepeatColumns="5"
                        RepeatDirection="Horizontal">
                    </asp:CheckBoxList></div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
    <br />
    <div>
        <asp:Button ID="m_btnDelete" runat="server" Text="<%$ Resources: Default, ButtonConfirm %>" OnClick="m_btnDelete_Click"
            CssClass="pagebutton" />
        <asp:Button ID="m_btnCancel" runat="server" Text="<%$ Resources: Default, ButtonCancel %>" CausesValidation="False"
            OnClick="m_btnCancel_Click" CssClass="pagebutton" />
    </div>
    <!-------------------------------------------- Status ---------------------------------------->
    <asp:Panel ID="m_pnlStatus" runat="server" Visible="False">
        <hr />
        <asp:Label ID="m_lblStatus" runat="server" />
        <hr />
    </asp:Panel>
</asp:Content>
