<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/WFAdmin/ModalAdminPage.master" CodeBehind="ItemSLA.aspx.vb" Inherits="WebFoundations.WFWorkflow.UI.ItemSLA" %>
<%@ Register TagPrefix="wff" Namespace="WebFoundations.WFWorkflow.Services.UI" Assembly="WebFoundations.WFWorkflow.Services" %>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <h1>
    <asp:Label ID="lblModuleName" runat="server" /></h1>
    <asp:UpdatePanel ID="pnlConfig" runat="server" class="fields">
        <ContentTemplate>
            <label>
                <asp:Label ID="lblnome" runat="server" />
                <asp:TextBox ID="txtnome" runat="server" MaxLength="30" />
            </label>
            <label>
                <asp:Label ID="lblType" runat="server" />
                <asp:RadioButtonList ID="selType" runat="server" AutoPostBack="True" RepeatDirection="Horizontal" RepeatLayout="Flow" />
            </label>
            <label id="selSteps" runat="server">
                <asp:Label ID="lblStepName" runat="server" />
                <asp:DropDownList ID="ddlStep" runat="server" />
            </label>
            <table>
                <colgroup>
                    <col width="30%" />
                    <col width="30%" />
                    <col width="40%" />
                </colgroup>
                <tr>
                    <th>SLA</th>
                    <th>Tipo</th>
                    <th>Prazo</th>
                </tr>
                <asp:Repeater ID="rptSLA" runat="server">
                    <ItemTemplate>
                        <tr>
                            <td>
                                <div id="divCor" runat="server" class="sla-color"></div>
                                <asp:Label ID="lblSLAName" runat="server" />
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlType" runat="server" />
                            </td>
                            <td>
                                <asp:HiddenField ID="slaID" runat="server" />
                                <wff:ZuriValuePicker id="ddlSLA" width="100%"  ShowZuriProperties="false" ShowPortalProperties="false" ShowActivities="false"
                                    DropDownAutoWidth="enabled" PagerSize="10" runat="server" />
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
    <section class="actions">
        <asp:Button ID="btnok" runat="server" />
        <input id="btncancel" type="button" value="button" runat="server" />
    </section>
</asp:Content>
