<%@ page language="VB" masterpagefile="~/MasterPageLogOff.master" autoeventwireup="false" inherits="loginReporteObras, App_Web_kslmcm0a" title="Cronos - Módulo web" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%; height: 60%;" align="center">
    <%--<table align="center" >--%>
        <tr>
        <%--<td style="width: 300px" ></td>--%>
        <td  bgcolor="#D6E0EE" align="center" >
            <asp:Label style="font-size: 12pt; color: #000000" ID="RotuloIdentificador" runat="server" Text="Identificador:" ></asp:Label>&nbsp;&nbsp;
            <%--<span style="font-size: 12pt; color: #000000" id="RotuloIdentificador">Identificador:</span>&nbsp;--%>
            <asp:TextBox ID="txtUID" runat="server" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" Width="80px"></asp:TextBox>&nbsp;&nbsp;
            <br />
            <br />
            <asp:Label style="font-size: 12pt; color: #000000" ID="RotuloPalavraPasse" runat="server" Text="Palavra-passe:" ></asp:Label>&nbsp;&nbsp;
            <%--<span style="font-size: 12pt; color: #000000" id="RotuloPalavraPasse">Palavra-passe:</span>&nbsp;--%>
            <asp:TextBox ID="txtPassword" runat="server" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" Width="80px" TextMode="Password"></asp:TextBox>
            <br />
            <br />
                <asp:Button ID="btnOk" runat="server" Font-Size="X-Small" Text="OK" 
                    visible="True" Width="60px" EnableTheming="True" UseSubmitBehavior="False" 
                    Height="30px" />&nbsp;&nbsp;
                <asp:Button ID="btnPonto" runat="server" Font-Size="X-Small" Text="Ponto" 
                    visible="False" Width="60px" UseSubmitBehavior="False" Height="30px" />&nbsp;&nbsp;
                <asp:Button ID="btnObra" runat="server" Font-Size="X-Small" Text="Obra" 
                    visible="False" Width="60px" UseSubmitBehavior="False" Height="30px" />
            <br />
                <asp:Label ID="lblMsg" runat="server" Font-Size=12pt  Visible="False" 
                Width="300px"></asp:Label>
            <br />
                <asp:Label style="font-size: 12pt; color: #000000" ID="RotuloObra" runat="server" Text="Obra"  
                    Visible="False" ></asp:Label>
            <br />
                <asp:DropDownList ID="cboObra" runat="server" AutoPostBack="True" 
                    Font-Size="X-Small" Width="300px" BackColor="White" Height="30px" 
                    style="margin-left: 0px" Visible="False">
                </asp:DropDownList>&nbsp;&nbsp;
            <br />
            <br />
                <asp:GridView ID="grdDadosEquipa" runat="server" CellPadding="4" 
                    GridLines="Vertical" AllowPaging="True" PageSize="16" 
                    AutoGenerateColumns="False">
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <Columns>
                <asp:TemplateField HeaderText="Empregado" AccessibleHeaderText="Teste" >
                <ItemTemplate>
                    <asp:DropDownList ID="dropEmpregado" runat="server" AutoPostBack="True" 
                        Font-Size="X-Small" CssClass="drop" Height="19px" onload="dropEmpregado_Load" 
                        onselectedindexchanged="dropEmpregado_SelectedIndexChanged" >
                    </asp:DropDownList>
                    </span>
                </ItemTemplate>                            
                </asp:TemplateField>
                <asp:TemplateField meta:resourcekey="TemplateFieldResource1" 
                    HeaderText="Presente/Ausente" >
                <ItemTemplate>
                <asp:Button ID="btnActivo" runat="server" BackColor="#D6E0EE" Height="20px" OnClick="btnActivo_Click"
                    Text="Presente" Font-Size="X-Small" Width="80px"></asp:Button>
                </ItemTemplate>
                <ItemStyle Width="40px" />
                </asp:TemplateField>
                <asp:BoundField DataField="NumeroEmpregado" HeaderText="Empregado" />
                <asp:BoundField DataField="Equipa" HeaderText="Equipa" />
                <asp:BoundField DataField="Activo" HeaderText="Activo" />
                </Columns>
                <RowStyle BackColor="#D6E0EE" 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="#D6E0EE" ForeColor="#284775" />
                </asp:GridView>
            <br />
                <asp:Button ID="btnConfirmar" runat="server" Font-Size="X-Small" 
                    Text="Confirmar" visible="False" Width="80px" UseSubmitBehavior="False" 
                    Height="30px" />
        </td>
        <%--<td style="width: 300px" align="center" ></td>--%>
        </tr>
        <tr>
            <td style="width: 377px">
            <asp:TextBox ID="txtPassWordOld" visible="False" runat="server" Width="16px"></asp:TextBox>
            </td>
        </tr>
    </table>
</asp:Content>

