<%@ page language="VB" autoeventwireup="false" inherits="ReporteObras, App_Web_yvuf54mv" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
        <tr>
            <td align="right" 
                style="height: 4px; background-color: #5d7b9d; text-align: center">
                <asp:Label ID="Label5" runat="server" Font-Bold="True" Font-Size="Small" ForeColor="Yellow"
                    Text="Reportar início de trabalho"></asp:Label></td>
        </tr>
        <tr>
            <td align="left" style="height: 32px; background-color: #5d7b9d; width: 164px;">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="text-align: center">
                <asp:Label ID="lblMsg" runat="server" Font-Size="Small" ForeColor="Red" Visible="False"></asp:Label></td>
        </tr>
        <tr>
            <td>
            <asp:GridView ID="grdDados" runat="server" AutoGenerateColumns="False" CellPadding="4" 
                            ForeColor="#333333"  Font-Size="Medium" GridLines="Vertical" Width="100%" AllowPaging="True" 
                            PageSize="12">
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <Columns>
                    <asp:BoundField DataField="NumeroEmpregado" HeaderText="Empregado" />
                    <asp:BoundField DataField="Emissor" HeaderText="Emissor" />
                    <asp:BoundField DataField="Identificador" HeaderText="Identificador" />
                    <asp:BoundField DataField="OrdemTrabalho" HeaderText="Ord. Trab." />
                    <asp:BoundField DataField="DescOT" HeaderText="Descrição" />
                    <asp:BoundField DataField="Oficina" HeaderText="Of." />
                    <asp:BoundField DataField="DescOficina" HeaderText="Descrição" />
                        <asp:TemplateField HeaderText="Fase">
                        <ItemTemplate>
                            <span class="style3">
                            <asp:DropDownList ID="dropFases" runat="server" AutoPostBack="True" 
                                BackColor="White" Font-Size="Medium" CssClass="drop" Height="30px" onload="dropFases_Load" 
                                onselectedindexchanged="dropFases_SelectedIndexChanged" Width="250px">
                            </asp:DropDownList>
                            </span>
                        </ItemTemplate>                            
                        </asp:TemplateField>
                    <asp:BoundField DataField="Inicio"   HeaderText="Início" />
                        <asp:TemplateField HeaderText="">
                            <ItemTemplate>
                                <table cellpadding="0" cellspacing="0" class="style3">
                                    <tr>
                                    <td>
                                        <asp:Button ID="btnConfirmar" runat="server" Font-Bold="True" 
                                        Font-Size="Small" Height="30px" onclick="btnConfirmar_Click" 
                                        Text="Confirmar" Width="100%" />
                                    </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </asp:TemplateField>
                </Columns>
                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <EditRowStyle BackColor="#999999" />
                <PagerSettings Visible="true"  Position="Bottom" Mode="NextPreviousFirstLast" FirstPageImageUrl="~/Imagens/SetaPrimeiro.png" PreviousPageImageUrl="~/Imagens/SetaEsquerda.png" NextPageImageUrl="~/Imagens/SetaDireita.png" LastPageImageUrl="~/Imagens/SetaUltimo.png" />
                <PagerStyle BackColor="#F7F6F3" ForeColor="#5D7B9D" Font-Size="Small" HorizontalAlign="Center" />
                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
            </asp:GridView>
            &nbsp;
            </td>
        </tr>
<%--        <tr>
            <td colspan="9" style="height: 12px" align="right" bgcolor="#5d7b9d">
                <asp:Label ID="RotuloLinhasPagina" runat="server" Text="Linhas / Página: " 
                    ForeColor="White"></asp:Label>&nbsp;
                    <asp:TextBox ID="txtLinhasPagina" runat="server" BorderColor="White" 
                    BorderWidth="0px" Font-Size="X-Small" Height="12px" Width="20px" 
                    BackColor="#5D7B9D" ForeColor="White" ></asp:TextBox>&nbsp;
                    <asp:ImageButton ID="btnEditarLinhasPagina" runat="server"  ImageUrl="~/Imagens/Edit2.png" ToolTip="Alterar número de linhas por página"/>&nbsp;
            </td>                 
        </tr>--%>
    </table>
    
    </div>
    </form>
</body>
</html>
