<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/WFAdmin/ModalAdminPage.master" CodeBehind="NinkiOfflineForm.aspx.vb" Inherits="WF.Ninki.Zuri.NinkiOfflineForm1" %>

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

<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <h1>
    <asp:Label ID="lblModuleName" runat="server" /></h1>
    <div class="fields">
        <label>
            <asp:Label ID="lblformname" runat="server" />
            <asp:DropDownList ID="ddlForms" runat="server" AutoPostBack="True" />
        </label>
        <asp:Repeater ID="rptDataSources" Visible="false" runat="server">
            <HeaderTemplate>
                <label>
                    <asp:Label ID="lblDataSources" runat="server" />
                </label>
            </HeaderTemplate>
            <ItemTemplate>
                <label>
                    <asp:HiddenField ID="hfDataSourceId" runat="server" />
                    <asp:Label ID="lbldsName" runat="server" />
                    <asp:DropDownList ID="ddlDataSource" runat="server" />
                </label>
            </ItemTemplate>
        </asp:Repeater>
        <label>
            <asp:Label ID="lblTitle" runat="server" />
            <asp:TextBox ID="txtTitle" runat="server" />
        </label>
        <label>
            <asp:Label ID="lblbUsers" runat="server" />
            <asp:TextBox ID="txtUsers" runat="server" />
            <uc2:AccessList ID="usersList" DisableItems="-7;-6;-5;-4;-3;-2;" EnableUser="true"
                EnableRole="true" EnableRoleGroup="false" runat="server" />
        </label>
        <label>
            <asp:Label ID="lblEntryPoint" runat="server" />
            <asp:DropDownList ID="ddlEntryPoint" runat="server" />
        </label>
        <label>
            <asp:Label ID="lblPredecessor" runat="server" />
            <asp:DropDownList ID="ddlPredecessor" runat="server" />
        </label>
        <label>
            <asp:Label ID="lblacesso" runat="server" />
            <uc2:AccessList ID="listaacesso" DisableItems="-7;-6;-5;-4;-3;-2;" EnableUser="true"
                EnableRole="true" EnableRoleGroup="true" runat="server" />
        </label>
    </div>

    <section class="actions">
        <asp:Button ID="btnok" runat="server" CssClass="b_salvar" />
        <input id="btncancel" type="button" class="b_salvar" value="button" runat="server" />
    </section>
</asp:Content>
