typo refresh
This commit is contained in:
@@ -1,29 +1,29 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_confProd.ascx.cs" Inherits="MoonProTablet.WebUserControls.mod_confProd" %>
|
||||
<div data-role="content">
|
||||
<div class="ui-grid-a">
|
||||
<div class="ui-block-a" data-role="content">
|
||||
<asp:Button runat="server" ID="btnShowConfProd" Text="Mostra Conferma" data-role="button" data-iconpos="bottom" data-icon="check" data-theme="b" data-inline="false" OnClick="btnShowConfProd_Click" Width="100%" />
|
||||
</div>
|
||||
<div class="ui-block-b" data-role="content">
|
||||
<asp:Button runat="server" ID="btnSalva" Text="Conferma Produzione" data-role="button" data-iconpos="bottom" data-icon="plus"
|
||||
data-theme="e" data-inline="false" Visible="false" OnClick="btnSalva_Click" Width="100%" />
|
||||
</div>
|
||||
<div class="ui-grid-a">
|
||||
<div class="ui-block-a" data-role="content">
|
||||
<asp:Button runat="server" ID="btnShowConfProd" Text="Mostra Conferma" data-role="button" data-iconpos="bottom" data-icon="check" data-theme="b" data-inline="false" OnClick="btnShowConfProd_Click" Width="100%" />
|
||||
</div>
|
||||
<div class="ui-grid-b">
|
||||
<div class="ui-block-a" data-role="content">
|
||||
<asp:Label runat="server" ID="lblNumPezzi" AssociatedControlID="txtNumPezzi" Text="Pezzi Prodotti (+)" />
|
||||
<asp:TextBox runat="server" ID="txtNumPezzi" Font-Size="XX-Large" Width="5em" Enabled="false" AutoPostBack="True" OnTextChanged="txtNumPezzi_TextChanged" />
|
||||
</div>
|
||||
<div class="ui-block-b" data-role="content">
|
||||
<asp:Label runat="server" ID="lblNumScarti" AssociatedControlID="txtNumScarti" Text="Pezzi Scarto (-)" />
|
||||
<asp:TextBox runat="server" ID="txtNumScarti" Font-Size="XX-Large" Width="5em" Enabled="false" AutoPostBack="True" OnTextChanged="txtNumScarti_TextChanged" />
|
||||
</div>
|
||||
<div class="ui-block-c" data-role="content">
|
||||
<asp:Label runat="server" ID="lblPzBuoni" AssociatedControlID="txtPzBuoni" Text="Pezzi Buoni" />
|
||||
<asp:TextBox runat="server" ID="txtPzBuoni" Font-Size="XX-Large" Width="5em" Enabled="false" Text="---" />
|
||||
</div>
|
||||
<div class="ui-block-b" data-role="content">
|
||||
<asp:Button runat="server" ID="btnSalva" Text="Conferma Produzione" data-role="button" data-iconpos="bottom" data-icon="plus"
|
||||
data-theme="e" data-inline="false" Visible="false" OnClick="btnSalva_Click" Width="100%" />
|
||||
</div>
|
||||
<div class="ui-grid-solo">
|
||||
<asp:Label runat="server" ID="lblOut" ForeColor="Red" />
|
||||
</div>
|
||||
<div class="ui-grid-b">
|
||||
<div class="ui-block-a" data-role="content">
|
||||
<asp:Label runat="server" ID="lblNumPezzi" AssociatedControlID="txtNumPezzi" Text="Pezzi Prodotti (+)" />
|
||||
<asp:TextBox runat="server" ID="txtNumPezzi" Font-Size="XX-Large" Width="5em" Enabled="false" AutoPostBack="True" OnTextChanged="txtNumPezzi_TextChanged" />
|
||||
</div>
|
||||
<div class="ui-block-b" data-role="content">
|
||||
<asp:Label runat="server" ID="lblNumScarti" AssociatedControlID="txtNumScarti" Text="Pezzi Scarto (-)" />
|
||||
<asp:TextBox runat="server" ID="txtNumScarti" Font-Size="XX-Large" Width="5em" Enabled="false" AutoPostBack="True" OnTextChanged="txtNumScarti_TextChanged" />
|
||||
</div>
|
||||
<div class="ui-block-c" data-role="content">
|
||||
<asp:Label runat="server" ID="lblPzBuoni" AssociatedControlID="txtPzBuoni" Text="Pezzi Buoni" />
|
||||
<asp:TextBox runat="server" ID="txtPzBuoni" Font-Size="XX-Large" Width="5em" Enabled="false" Text="---" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui-grid-solo">
|
||||
<asp:Label runat="server" ID="lblOut" ForeColor="Red" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,61 +1,61 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_dettMacchina.ascx.cs" Inherits="MoonProTablet.WebUserControls.mod_dettMacchina" %>
|
||||
<%--Riporto dettaglio singola macchina--%>
|
||||
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always">
|
||||
<ContentTemplate>
|
||||
<asp:Panel runat="server" ID="pnlFullDet">
|
||||
<div id="dettMacch">
|
||||
<ul data-role="listview" data-inset="true">
|
||||
<asp:Repeater ID="repLI" runat="server" DataSourceID="ods">
|
||||
<ItemTemplate>
|
||||
<li><a href="#" c>
|
||||
<img src='<%# ImgUrl(Eval("url")) %>' alt='<%# Eval("CodMacchina") %>'>
|
||||
<h2>
|
||||
<asp:Label runat="server" ID="lblTitle" Text='<%# Eval("Nome") %>' /></h2>
|
||||
<p>
|
||||
<span class='<%# Eval("Semaforo") %>' style="width: 100%; display: block; padding-right: 0px;"><span style="float: left;">
|
||||
<b>
|
||||
<asp:Label runat="server" ID="lblStato" Text='<%# Eval("DescrizioneStato") %>' /></b></span> <span style="float: right; padding-right: 8px;">
|
||||
<asp:Label runat="server" ID="lblDurata" Text='<%# formatDurata(Eval("Durata")) %>' /></span>
|
||||
<br />
|
||||
<span style="float: left;">
|
||||
<asp:Label runat="server" ID="Label2" Text='<%# Eval("PezziProd","prod: {0}") %>' ToolTip="pz prodotti" />
|
||||
/
|
||||
<ContentTemplate>
|
||||
<asp:Panel runat="server" ID="pnlFullDet">
|
||||
<div id="dettMacch">
|
||||
<ul data-role="listview" data-inset="true">
|
||||
<asp:Repeater ID="repLI" runat="server" DataSourceID="ods">
|
||||
<ItemTemplate>
|
||||
<li><a href="#" c>
|
||||
<img src='<%# ImgUrl(Eval("url")) %>' alt='<%# Eval("CodMacchina") %>'>
|
||||
<h2>
|
||||
<asp:Label runat="server" ID="lblTitle" Text='<%# Eval("Nome") %>' /></h2>
|
||||
<p>
|
||||
<span class='<%# Eval("Semaforo") %>' style="width: 100%; display: block; padding-right: 0px;"><span style="float: left;">
|
||||
<b>
|
||||
<asp:Label runat="server" ID="lblStato" Text='<%# Eval("DescrizioneStato") %>' /></b></span> <span style="float: right; padding-right: 8px;">
|
||||
<asp:Label runat="server" ID="lblDurata" Text='<%# formatDurata(Eval("Durata")) %>' /></span>
|
||||
<br />
|
||||
<span style="float: left;">
|
||||
<asp:Label runat="server" ID="Label2" Text='<%# Eval("PezziProd","prod: {0}") %>' ToolTip="pz prodotti" />
|
||||
/
|
||||
<asp:Label runat="server" ID="lblPzLanciati" Text='<%# Eval("NumPezzi","tot: {0}") %>' ToolTip="pz lanciati" />
|
||||
</span><span style="float: right; padding-right: 8px;">
|
||||
<asp:Label runat="server" ID="Label1" Text='<%# Eval("PezziConf","conf: {0}") %>' ToolTip="pz confermati" />
|
||||
</span></span>
|
||||
</p>
|
||||
<p class="ui-li-aside">
|
||||
<asp:Label runat="server" ID="lblBadge" Text='<%# Eval("CodArticolo","art: {0}") %>' />
|
||||
<asp:Label runat="server" ID="lblODC" Text='<%# Eval("idxODL","(ODL {0})") %>' />
|
||||
</p>
|
||||
</a></li>
|
||||
</ItemTemplate>
|
||||
</asp:Repeater>
|
||||
</ul>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
<asp:Panel runat="server" ID="pnlLessDet" Visible="false">
|
||||
<asp:Repeater ID="repTestata" runat="server" DataSourceID="ods">
|
||||
<ItemTemplate>
|
||||
<div class='<%# Eval("Semaforo") %>' style="padding: 2px 0px; text-align: center; margin: auto; font-size: 20pt;">
|
||||
<asp:Label runat="server" ID="lblTitle" Text='<%# Eval("Nome") %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:Repeater>
|
||||
</span><span style="float: right; padding-right: 8px;">
|
||||
<asp:Label runat="server" ID="Label1" Text='<%# Eval("PezziConf","conf: {0}") %>' ToolTip="pz confermati" />
|
||||
</span></span>
|
||||
</p>
|
||||
<p class="ui-li-aside">
|
||||
<asp:Label runat="server" ID="lblBadge" Text='<%# Eval("CodArticolo","art: {0}") %>' />
|
||||
<asp:Label runat="server" ID="lblODC" Text='<%# Eval("idxODL","(ODL {0})") %>' />
|
||||
</p>
|
||||
</a></li>
|
||||
</ItemTemplate>
|
||||
</asp:Repeater>
|
||||
</ul>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
<asp:Panel runat="server" ID="pnlLessDet" Visible="false">
|
||||
<asp:Repeater ID="repTestata" runat="server" DataSourceID="ods">
|
||||
<ItemTemplate>
|
||||
<div class='<%# Eval("Semaforo") %>' style="padding: 2px 0px; text-align: center; margin: auto; font-size: 20pt;">
|
||||
<asp:Label runat="server" ID="lblTitle" Text='<%# Eval("Nome") %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:Repeater>
|
||||
|
||||
</asp:Panel>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByRefreshData"
|
||||
TypeName="MapoDb.DS_ProdTempiTableAdapters.MappaStatoExplTableAdapter" FilterExpression="IdxMacchina = {0}">
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter Type="Int32" DefaultValue="0" SessionField="IdxMacchina" Name="IdxMacchina" />
|
||||
</FilterParameters>
|
||||
<SelectParameters>
|
||||
<asp:Parameter DefaultValue="1" Name="maxAgeSec" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<!-- timer refresh dettaglio macchina: 1 sec, 1'000 ms -->
|
||||
<asp:Timer ID="Timer1" runat="server" Interval="1000" OnTick="Timer1_Tick">
|
||||
</asp:Timer>
|
||||
</ContentTemplate>
|
||||
</asp:Panel>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByRefreshData"
|
||||
TypeName="MapoDb.DS_ProdTempiTableAdapters.MappaStatoExplTableAdapter" FilterExpression="IdxMacchina = {0}">
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter Type="Int32" DefaultValue="0" SessionField="IdxMacchina" Name="IdxMacchina" />
|
||||
</FilterParameters>
|
||||
<SelectParameters>
|
||||
<asp:Parameter DefaultValue="1" Name="maxAgeSec" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<!-- timer refresh dettaglio macchina: 1 sec, 1'000 ms -->
|
||||
<asp:Timer ID="Timer1" runat="server" Interval="1000" OnTick="Timer1_Tick">
|
||||
</asp:Timer>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
|
||||
Reference in New Issue
Block a user