<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Cecam.Master" AutoEventWireup="true" CodeBehind="wfAdmin.aspx.cs" Inherits="Cecam.Shared.Web.Identity.wfAdmin" %>

<asp:Content ID="Content3" ContentPlaceHolderID="cphConteudo" runat="server">
    <div class="cabecalho">
        Administração de Usuários
    </div>

    <asp:UpdatePanel ID="uppAdmin" runat="server">
        <ContentTemplate>
            <dx:ASPxRoundPanel ID="rpnConsulta" runat="server">
                <PanelCollection>
                    <dx:PanelContent>
                        <ul class="botoes">
                            <li>
                                <ccn:Button ID="btnNovo" SkinID="Novo" BackColor="" runat="server" ValidationGroup="Pedido"
                                    OnClick="btnNovo_Click" />
                            </li>
                        </ul>
                        <ccn:GridView ID="grvUsuario" runat="server" KeyFieldName="Id"
                            OnDataSearch="grvUsuario_DataSearch"
                            OnDataSelecting="grvUsuario_DataSelecting"
                            OnDataCommand="grvUsuario_DataCommand">
                            <Columns>
                                <ccn:GridCommandSelectEditColumn />
                                <ccn:GridDataColumn Caption="Nome" FieldName="Nome" Width="20%" />
                                <ccn:GridDataColumn Caption="Login" FieldName="Login" Width="20%" />
                                <ccn:GridDataColumn Caption="Email" FieldName="Email" Width="40%" />
                                <ccn:GridDataColumn Caption="Ativo" FieldName="IsAtivo" Width="10%" />
                                <ccn:GridDataColumn Caption="Bloqueado" FieldName="IsBloqueado" Width="10%" />
                                <ccn:GridCommandCustomColumn ButtonType="Button" ButtonId="TOKEN" />
                            </Columns>
                        </ccn:GridView>
                    </dx:PanelContent>
                </PanelCollection>
            </dx:ASPxRoundPanel>
        </ContentTemplate>
    </asp:UpdatePanel>
    <ccn:LoadingProgress ID="ldpLoading" runat="server" AssociatedUpdatePanelID="uppAdmin" Text="Aguarde..." />
</asp:Content>