<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/WFAdmin/ModalAdminPage.master" CodeBehind="Filtro.aspx.vb" Inherits="WebFoundations.WFWorkflow.UI.Filtro" %>

<%@ Register Src="~/WFControls/WFPagePicker.ascx" TagName="WFPagePicker" TagPrefix="uc1" %>
<%@ Register Src="~/WFControls/AccessList.ascx" TagName="AccessList" TagPrefix="uc2" %>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">

    <h1>
        <asp:Label Text="Filtro" ID="lblModuleName" runat="server" /></h1>

    <div class="fields">
        <label>
            <asp:Label ID="lblnome" runat="server" />
            <asp:TextBox ID="txtnome" runat="server" MaxLength="30" />
            <asp:RequiredFieldValidator ID="obrnome" runat="server" Display="Dynamic" ControlToValidate="txtnome" />
        </label>
        <label>
            <asp:Label ID="lblarea" runat="server" />
            <uc1:WFPagePicker ID="portalpicker" CssClass="campo_texto_back_WF" runat="server" Width="199" AddSelect="true" AdminMode="false" AutoSelectLast="false" ShowArea="true" ShowPage="false" NoLabels="true" />
        </label>
        <label>
            <asp:Label ID="lblrole" runat="server" />
            <uc2:AccessList ID="listaacesso" DisableItems="-7;-6;-5;-4;-3;-2" EnableUser="true" EnableRole="true" EnableRoleGroup="false" runat="server" />
        </label>
        <label>
            <asp:Button ID="btnadd" runat="server" />
        </label>
        <label>
            <asp:DataList ID="lstfiltros" runat="server" Width="100%">
                <EditItemStyle VerticalAlign="Middle" />
                <ItemTemplate>
                    <asp:ImageButton ID="btndelete" runat="server" ImageUrl="~/WFResources/Common/Images/Icons/delete.png" />
                    <asp:Label ID="lblitem" runat="server" />
                </ItemTemplate>
            </asp:DataList>
        </label>
    </div>
    <section class="actions">
        <asp:Button ID="btnok" runat="server" />
        <input id="btncancel" type="button" value="button" runat="server" />
    </section>
</asp:Content>
