<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_secScreen.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_secScreen" %>
<%@ Register Src="~/WebUserControls/cmp_ItemDet.ascx" TagPrefix="uc1" TagName="cmp_ItemDet" %>


<div class="card text-center border-primary" style="width: 100%;">
    <asp:HiddenField runat="server" ID="hfNum" />
    <asp:HiddenField ID="hfMachine" runat="server" Value="0" />
    <asp:HiddenField ID="hfCountDown" runat="server" Value="0" />
    <asp:HiddenField ID="hfBatchId" runat="server" Value="0" />
    <asp:HiddenField ID="hfSheetId" runat="server" Value="0" />
    <asp:HiddenField ID="hfItemPdf" runat="server" Value="0" />
    <asp:HiddenField ID="hfItemDtmx" runat="server" Value="0" />
    <asp:HiddenField ID="hfItemCode" runat="server" Value="0" />
    <asp:Timer ID="timerRefresh" runat="server" Interval="1000" OnTick="timerRefresh_Tick"></asp:Timer>
    <div class="card-header bg-primary text-light">
        <div class="row">
            <div class="col-3">
                <asp:HyperLink runat="server" ID="hlShowCurrSheet" Target="_blank" CssClass="btn btn-warning btn-block"><i class="fa fa-object-group fa-2x" aria-hidden="true"></i><br /><%: traduci("ShowCurrSheet") %></asp:HyperLink>
            </div>
            <div class="col-6">
                <h3 class="text-uppercase"><%: traduci("SecScreen") %>
                    <asp:Label runat="server" ID="lblNum" CssClass="small">(<%: hfNum.Value %>)</asp:Label></h3>
                <asp:Label runat="server" ID="lblMessage" CssClass="text-light"><%: traduci("NoItemSel") %></asp:Label>
                <uc1:cmp_ItemDet runat="server" ID="cmp_ItemDet" />
            </div>
            <div class="col-3">
                <asp:HyperLink runat="server" ID="hlPdfOpener" Target="_blank" CssClass="btn btn-success btn-block"><i class="fa fa-file-pdf-o fa-2x" aria-hidden="true"></i>
<br /><%: traduci("ShowPDF") %></asp:HyperLink>
            </div>
        </div>
    </div>
    <div class="card-body py-1">
        <div class="row">
            <div runat="server" id="divImg" class="col-12">
                <asp:Image runat="server" ID="imgQrMain" CssClass="img-fluid" />
            </div>
        </div>
    </div>
</div>
