ulteriori modifiche a dettaglioINtervento e dataOra
git-svn-id: https://keyhammer.ath.cx/svn/WebGIM/trunk@61 3e04ef4b-3b25-4b6c-be27-bb5389ca777b
This commit is contained in:
@@ -10,6 +10,13 @@
|
||||
<asp:DropDownList runat="server" ID="ddlOra" CssClass='<%# css %>' />
|
||||
</div>
|
||||
</asp:Panel>
|
||||
<div style="float: right;">
|
||||
<asp:Label runat="server" ID="lblData" /><br />
|
||||
<asp:TextBox runat="server" ID="txtData" Width="5em" CssClass='<%# css %>' />
|
||||
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday"
|
||||
TargetControlID="txtData" Format="dd/MM/yy">
|
||||
</cc1:CalendarExtender>
|
||||
</div>
|
||||
<asp:Panel runat="server" ID="pnlText" Visible="false">
|
||||
<div style="float: right;">
|
||||
<asp:Label runat="server" ID="lblTime" /><br />
|
||||
@@ -19,10 +26,3 @@
|
||||
</cc1:MaskedEditExtender>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
<div style="float: right;">
|
||||
<asp:Label runat="server" ID="lblData" /><br />
|
||||
<asp:TextBox runat="server" ID="txtData" Width="5em" CssClass='<%# css %>' />
|
||||
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday"
|
||||
TargetControlID="txtData" Format="dd/MM/yy">
|
||||
</cc1:CalendarExtender>
|
||||
</div>
|
||||
|
||||
@@ -184,6 +184,19 @@ public partial class mod_dataOra : System.Web.UI.UserControl
|
||||
fixCss();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// nasconde se richiesto le label dei controlli dataOra
|
||||
/// </summary>
|
||||
public bool mostraLabel
|
||||
{
|
||||
set
|
||||
{
|
||||
lblData.Visible = value;
|
||||
lblMin.Visible = value;
|
||||
lblOra.Visible = value;
|
||||
lblTime.Visible = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// tipo di selettore impiegato per la seleizone dell'orario
|
||||
|
||||
@@ -16,6 +16,209 @@
|
||||
</div>
|
||||
</div>
|
||||
<asp:FormView ID="frmView_default" runat="server" DataKeyNames="numIntMtz" DataSourceID="ods_default">
|
||||
<ItemTemplate>
|
||||
<div id="divReadOnly">
|
||||
<div id="divUp" style="background-color: Silver; padding-bottom: 10px;">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblNumIntMtz" Text='<%# traduci("numIntMtz") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblDataOra" Text='<%# traduci("lblDataOraRich") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblDataLav" Text='<%# traduci("lblDataLav") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblTurnoLav" Text='<%# traduci("lblTurnoLav") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblMatr" Text='<%# traduci("lblMatr") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:TextBox ID="numIntMtzLabel" runat="server" Text='<%# Eval("numIntMtz") %>' CssClass="fixedVal"
|
||||
ReadOnly="true" Width="30px" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="richiestaLabel" runat="server" Text='<%# Eval("richiesta") %>' CssClass="fixedVal"
|
||||
ReadOnly="true" Width="105px" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="dataLavLabel" runat="server" Text='<%# Eval("dataLav","{0:dd/MM/yy}") %>'
|
||||
CssClass="fixedVal" ReadOnly="true" Width="105px" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="turnoLavLabel" runat="server" Text='<%# Eval("turnoLav") %>' CssClass="fixedVal"
|
||||
ReadOnly="true" Width="30px" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="matrLabel" runat="server" Text='<%# Eval("matr") %>' CssClass="fixedVal"
|
||||
ReadOnly="true" Width="105px" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblIsFermo" Text='<%# traduci("lblIsFermo") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblDataOraGuasto" Text='<%# traduci("lblDataOraGuasto") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblImpianto" Text='<%# traduci("lblImpianto") %>' />
|
||||
<%--<asp:TextBox ID="codImpiantoLabel" runat="server" Text='<%# Eval("codImpianto") %>'
|
||||
CssClass="fixedVal" ReadOnly="true" />--%>
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblMacchina" Text='<%# traduci("lblMacchina") %>' />
|
||||
<%--<asp:TextBox ID="codMacchinaLabel" runat="server" Text='<%# Eval("codMacchina") %>'
|
||||
CssClass="fixedVal" ReadOnly="true" />--%>
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblDettagliGuasto" Text='<%# traduci("lblDettagliGuasto") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:CheckBox ID="isFermoCheckBox" runat="server" Checked='<%# Eval("isFermo") %>'
|
||||
Enabled="false" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="guastoLabel" runat="server" Text='<%# Eval("guasto") %>' CssClass="fixedVal"
|
||||
ReadOnly="true" Width="110px" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:DropDownList ID="listImpianti" runat="server" DataSourceID="odsImpianti" DataTextField="label"
|
||||
DataValueField="value" AutoPostBack="true" Width="300px" BackColor="Silver" Font-Size="8pt"
|
||||
SelectedValue='<%# Bind("idxImpianto") %>' Enabled="false">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsImpianti" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
SelectMethod="getImpiantiValidi" TypeName="DS_utilityTableAdapters.v_selImpiantiTableAdapter">
|
||||
</asp:ObjectDataSource>
|
||||
</td>
|
||||
<td>
|
||||
<asp:DropDownList ID="listMacchine" runat="server" AutoPostBack="True" DataSourceID="odsMacchine"
|
||||
DataTextField="label" DataValueField="value" Width="300px" BackColor="Silver"
|
||||
Font-Size="8pt" SelectedValue='<%# Bind("idxMacchina") %>' Enabled="false">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
SelectMethod="getByConditio" TypeName="DS_utilityTableAdapters.v_selMacchineTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="listImpianti" DefaultValue="0" Name="conditio" PropertyName="SelectedValue"
|
||||
Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="descrAmbitoGuastoLabel" runat="server" Text='<%# Eval("descrAmbitoGuasto") %>'
|
||||
CssClass="fixedVal" ReadOnly="true" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" style="padding-top: 15px;">
|
||||
<asp:Label runat="server" ID="lblDescrCausale" Text='<%# traduci("lblDescrCausale") %>' />
|
||||
<asp:TextBox ID="descrCausaleLabel" runat="server" Text='<%# Eval("descrCausale") %>'
|
||||
CssClass="fixedValLeft" ReadOnly="true" Width="600px" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblDescrPriorita" Text='<%# traduci("lblDescrPriorita") %>' />
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<asp:Label runat="server" ID="lblDescrizioneGen" Text='<%# traduci("lblDescrizioneGen") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="vertical-align: top;">
|
||||
<td>
|
||||
<asp:TextBox ID="descrPrioritaLabel" runat="server" Text='<%# Eval("descrPriorita") %>'
|
||||
CssClass="fixedVal" ReadOnly="true" />
|
||||
</td>
|
||||
<td colspan="4">
|
||||
<asp:TextBox ID="descrizioneLabel" runat="server" Text='<%# Eval("descrizione") %>'
|
||||
CssClass="fixedValLeft" ReadOnly="true" Height="100px" Width="500px" TextMode="MultiLine" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5">
|
||||
<asp:Label runat="server" ID="lblDescrTipo" Text='<%# traduci("lblDescrTipo") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:TextBox ID="descrTipoLabel" runat="server" Text='<%# Eval("descrTipo") %>' CssClass="fixedVal"
|
||||
ReadOnly="true" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="divDown" style="background-color: Silver; border-top: solid 2px gray; padding-top: 10px;
|
||||
padding-bottom: 10px;">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblPresaInCarico" Text='<%# traduci("lblPresaInCarico") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblInizioIntervento" Text='<%# traduci("lblInizioIntervento") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblFineIntervento" Text='<%# traduci("lblFineIntervento") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblDescrStato" Text='<%# traduci("lblDescrStato") %>' />
|
||||
</td>
|
||||
<td style="text-align: center;">
|
||||
<asp:Label runat="server" ID="lblInterventi" Text='<%# traduci ("lblInterventi") %>'></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:TextBox ID="presaInCaricoLabel" runat="server" Text='<%# Eval("presaInCarico") %>'
|
||||
CssClass="fixedVal" ReadOnly="true" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="inizioInterventoLabel" runat="server" Text='<%# Eval("inizioIntervento") %>'
|
||||
CssClass="fixedVal" ReadOnly="true" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="fineInterventoLabel" runat="server" Text='<%# Eval("fineIntervento") %>'
|
||||
CssClass="fixedVal" ReadOnly="true" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:DropDownList runat="server" ID="ddlStato" CssClass="fixedVal" SelectedValue='<%# Eval("idxStato") %>'
|
||||
DataSourceID="odsStato" DataTextField="label" DataValueField="value" Enabled="false">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsStato" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_selStatoTableAdapter">
|
||||
</asp:ObjectDataSource>
|
||||
</td>
|
||||
<td rowspan="3" style="vertical-align: top; padding-left: 30px;">
|
||||
<uc1:mod_interventoOpMtz ID="mod_interventoOpMtz3" runat="server" vistaModulo="selezione" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<asp:Label runat="server" ID="lblDescrGuasto" Text='<%# traduci ("lblDescrizioneGen") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblIsPreventivabile" Text='<%# traduci("lblIsPreventivabile") %>' />
|
||||
<asp:CheckBox ID="isPreventivabileCheckBox" runat="server" Checked='<%# Eval("isPreventivabile") %>'
|
||||
Enabled="false" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<asp:TextBox ID="descrizioneInterventoLabel" runat="server" Text='<%# Eval("descrizioneIntervento") %>'
|
||||
CssClass="fixedValLeft" ReadOnly="true" Height="100px" Width="500px" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<div id="divEditDefault">
|
||||
<div style="float: right; margin: 2px;">
|
||||
@@ -97,7 +300,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<asp:DropDownList ID="listImpianti" runat="server" DataSourceID="odsImpianti" DataTextField="label"
|
||||
DataValueField="value" AutoPostBack="true" Width="300px" BackColor="#ddeeff"
|
||||
DataValueField="value" AutoPostBack="true" Width="300px" BackColor="#ccfefe"
|
||||
Font-Size="8pt" SelectedValue='<%# Bind("idxImpianto") %>' Enabled="false">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsImpianti" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
@@ -106,7 +309,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<asp:DropDownList ID="listMacchine" runat="server" AutoPostBack="True" DataSourceID="odsMacchine"
|
||||
DataTextField="label" DataValueField="value" Width="300px" BackColor="#ddeeff"
|
||||
DataTextField="label" DataValueField="value" Width="300px" BackColor="#ccfefe"
|
||||
Font-Size="8pt" SelectedValue='<%# Bind("idxMacchina") %>' Enabled="false">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
@@ -133,10 +336,7 @@
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblDescrPriorita" Text='<%# traduci("lblDescrPriorita") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblDescrStato" Text='<%# traduci("lblDescrStato") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<td colspan="2">
|
||||
<asp:Label runat="server" ID="lblDescrizioneGen" Text='<%# traduci("lblDescrizioneGen") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
@@ -145,11 +345,7 @@
|
||||
<asp:TextBox ID="descrPrioritaLabel" runat="server" Text='<%# Eval("descrPriorita") %>'
|
||||
CssClass="textEv_Read" ReadOnly="true" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="DescrStatoLabel" runat="server" Text='<%# Eval("DescrStato") %>'
|
||||
CssClass="textEv_Read" ReadOnly="true" />
|
||||
</td>
|
||||
<td colspan="3">
|
||||
<td colspan="4">
|
||||
<asp:TextBox ID="descrizioneLabel" runat="server" Text='<%# Eval("descrizione") %>'
|
||||
CssClass="textEv_ReadLeft" ReadOnly="true" Height="100px" Width="500px" TextMode="MultiLine" />
|
||||
</td>
|
||||
@@ -180,8 +376,11 @@
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblFineIntervento" Text='<%# traduci("lblFineIntervento") %>' />
|
||||
</td>
|
||||
<td rowspan="4" style="vertical-align: top; padding-left: 30px;">
|
||||
<uc1:mod_interventoOpMtz ID="mod_interventoOpMtz2" runat="server" vistaModulo="editing" />
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblDescrStato" Text='<%# traduci("lblDescrStato") %>' />
|
||||
</td>
|
||||
<td style="text-align: center;">
|
||||
<asp:Label runat="server" ID="lblInterventi" Text='<%# traduci ("lblInterventi") %>'></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -191,22 +390,32 @@
|
||||
</td>
|
||||
<td>
|
||||
<uc2:mod_dataOra ID="mod_dataOra2" runat="server" valore='<%# Bind("inizioIntervento") %>'
|
||||
css="textEv_1" tipoOrario="tendina" />
|
||||
|
||||
css="textEv_1" tipoOrario="tendina" mostraLabel="false" />
|
||||
</td>
|
||||
<td>
|
||||
<uc2:mod_dataOra ID="mod_dataOra3" runat="server" valore='<%# Bind("fineIntervento") %>'
|
||||
css="textEv_1" tipoOrario="tendina" />
|
||||
<%-- idxStato: FARE!!!
|
||||
css="textEv_1" tipoOrario="tendina" mostraLabel="false" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:DropDownList runat="server" ID="ddlStato" CssClass="textEv_1" SelectedValue='<%# Bind("idxStato") %>'
|
||||
DataSourceID="odsStato" DataTextField="label" DataValueField="value">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsStato" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_selStatoTableAdapter">
|
||||
</asp:ObjectDataSource>
|
||||
</td>
|
||||
<td rowspan="3" style="vertical-align: top; padding-left: 30px;">
|
||||
<uc1:mod_interventoOpMtz ID="mod_interventoOpMtz2" runat="server" vistaModulo="editing" />
|
||||
</td>
|
||||
<%-- idxStato: FARE!!!
|
||||
<asp:DropDownList runat="server" ID="ddlStato" CssClass="textEv_1" SelectedValue='<%# Bind("idxStato") %>'
|
||||
DataSourceID="odsStato" DataTextField="label" DataValueField="value">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsStato" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_selStatoTableAdapter">
|
||||
</asp:ObjectDataSource>--%>
|
||||
<%--<asp:TextBox ID="idxStatoLabel" runat="server" Text='<%# Eval("idxStato") %>' CssClass="textEv_Read"
|
||||
<%--<asp:TextBox ID="idxStatoLabel" runat="server" Text='<%# Eval("idxStato") %>' CssClass="textEv_Read"
|
||||
ReadOnly="true" />--%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
@@ -228,202 +437,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<div id="divReadOnly">
|
||||
<div id="divUp" style="background-color: Silver; padding-bottom: 10px;">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblNumIntMtz" Text='<%# traduci("numIntMtz") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblDataOra" Text='<%# traduci("lblDataOraRich") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblDataLav" Text='<%# traduci("lblDataLav") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblTurnoLav" Text='<%# traduci("lblTurnoLav") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblMatr" Text='<%# traduci("lblMatr") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:TextBox ID="numIntMtzLabel" runat="server" Text='<%# Eval("numIntMtz") %>' CssClass="fixedVal"
|
||||
ReadOnly="true" Width="30px" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="richiestaLabel" runat="server" Text='<%# Eval("richiesta") %>' CssClass="fixedVal"
|
||||
ReadOnly="true" Width="105px" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="dataLavLabel" runat="server" Text='<%# Eval("dataLav","{0:dd/MM/yy}") %>'
|
||||
CssClass="fixedVal" ReadOnly="true" Width="105px" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="turnoLavLabel" runat="server" Text='<%# Eval("turnoLav") %>' CssClass="fixedVal"
|
||||
ReadOnly="true" Width="30px" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="matrLabel" runat="server" Text='<%# Eval("matr") %>' CssClass="fixedVal"
|
||||
ReadOnly="true" Width="105px" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblIsFermo" Text='<%# traduci("lblIsFermo") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblDataOraGuasto" Text='<%# traduci("lblDataOraGuasto") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblImpianto" Text='<%# traduci("lblImpianto") %>' />
|
||||
<%--<asp:TextBox ID="codImpiantoLabel" runat="server" Text='<%# Eval("codImpianto") %>'
|
||||
CssClass="fixedVal" ReadOnly="true" />--%>
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblMacchina" Text='<%# traduci("lblMacchina") %>' />
|
||||
<%--<asp:TextBox ID="codMacchinaLabel" runat="server" Text='<%# Eval("codMacchina") %>'
|
||||
CssClass="fixedVal" ReadOnly="true" />--%>
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblDettagliGuasto" Text='<%# traduci("lblDettagliGuasto") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:CheckBox ID="isFermoCheckBox" runat="server" Checked='<%# Eval("isFermo") %>'
|
||||
Enabled="false" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="guastoLabel" runat="server" Text='<%# Eval("guasto") %>' CssClass="fixedVal"
|
||||
ReadOnly="true" Width="110px" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:DropDownList ID="listImpianti" runat="server" DataSourceID="odsImpianti" DataTextField="label"
|
||||
DataValueField="value" AutoPostBack="true" Width="300px" BackColor="#ddeeff"
|
||||
Font-Size="8pt" SelectedValue='<%# Bind("idxImpianto") %>' Enabled="false">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsImpianti" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
SelectMethod="getImpiantiValidi" TypeName="DS_utilityTableAdapters.v_selImpiantiTableAdapter">
|
||||
</asp:ObjectDataSource>
|
||||
</td>
|
||||
<td>
|
||||
<asp:DropDownList ID="listMacchine" runat="server" AutoPostBack="True" DataSourceID="odsMacchine"
|
||||
DataTextField="label" DataValueField="value" Width="300px" BackColor="#ddeeff"
|
||||
Font-Size="8pt" SelectedValue='<%# Bind("idxMacchina") %>' Enabled="false">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
SelectMethod="getByConditio" TypeName="DS_utilityTableAdapters.v_selMacchineTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="listImpianti" DefaultValue="0" Name="conditio" PropertyName="SelectedValue"
|
||||
Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="descrAmbitoGuastoLabel" runat="server" Text='<%# Eval("descrAmbitoGuasto") %>'
|
||||
CssClass="fixedVal" ReadOnly="true" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" style="padding-top: 15px;">
|
||||
<asp:Label runat="server" ID="lblDescrCausale" Text='<%# traduci("lblDescrCausale") %>' />
|
||||
<asp:TextBox ID="descrCausaleLabel" runat="server" Text='<%# Eval("descrCausale") %>'
|
||||
CssClass="fixedValLeft" ReadOnly="true" Width="600px" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblDescrPriorita" Text='<%# traduci("lblDescrPriorita") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblDescrStato" Text='<%# traduci("lblDescrStato") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblDescrizioneGen" Text='<%# traduci("lblDescrizioneGen") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="vertical-align: top;">
|
||||
<td>
|
||||
<asp:TextBox ID="descrPrioritaLabel" runat="server" Text='<%# Eval("descrPriorita") %>'
|
||||
CssClass="fixedVal" ReadOnly="true" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="DescrStatoLabel" runat="server" Text='<%# Eval("DescrStato") %>'
|
||||
CssClass="fixedVal" ReadOnly="true" />
|
||||
</td>
|
||||
<td colspan="3">
|
||||
<asp:TextBox ID="descrizioneLabel" runat="server" Text='<%# Eval("descrizione") %>'
|
||||
CssClass="fixedValLeft" ReadOnly="true" Height="100px" Width="500px" TextMode="MultiLine" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5">
|
||||
<asp:Label runat="server" ID="lblDescrTipo" Text='<%# traduci("lblDescrTipo") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:TextBox ID="descrTipoLabel" runat="server" Text='<%# Eval("descrTipo") %>' CssClass="fixedVal"
|
||||
ReadOnly="true" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="divDown" style="background-color: Silver; border-top: solid 2px gray; padding-top: 10px;
|
||||
padding-bottom: 10px;">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblPresaInCarico" Text='<%# traduci("lblPresaInCarico") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblInizioIntervento" Text='<%# traduci("lblInizioIntervento") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblFineIntervento" Text='<%# traduci("lblFineIntervento") %>' />
|
||||
</td>
|
||||
<td rowspan="4" style="vertical-align: top; padding-left: 30px;">
|
||||
<uc1:mod_interventoOpMtz ID="mod_interventoOpMtz3" runat="server" vistaModulo="selezione" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:TextBox ID="presaInCaricoLabel" runat="server" Text='<%# Eval("presaInCarico") %>'
|
||||
CssClass="fixedVal" ReadOnly="true" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="inizioInterventoLabel" runat="server" Text='<%# Eval("inizioIntervento") %>'
|
||||
CssClass="fixedVal" ReadOnly="true" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="fineInterventoLabel" runat="server" Text='<%# Eval("fineIntervento") %>'
|
||||
CssClass="fixedVal" ReadOnly="true" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<asp:Label runat="server" ID="lblDescrGuasto" Text='<%# traduci ("lblDescrizioneGen") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblIsPreventivabile" Text='<%# traduci("lblIsPreventivabile") %>' />
|
||||
<asp:CheckBox ID="isPreventivabileCheckBox" runat="server" Checked='<%# Eval("isPreventivabile") %>'
|
||||
Enabled="false" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<asp:TextBox ID="descrizioneInterventoLabel" runat="server" Text='<%# Eval("descrizioneIntervento") %>'
|
||||
CssClass="fixedValLeft" ReadOnly="true" Height="100px" Width="500px" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:FormView>
|
||||
<asp:FormView ID="frmView_full" runat="server" DataKeyNames="numIntMtz" Visible="False"
|
||||
DataSourceID="ods_full">
|
||||
@@ -504,7 +517,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<asp:DropDownList ID="listImpianti" runat="server" DataSourceID="odsImpianti" DataTextField="label"
|
||||
DataValueField="value" AutoPostBack="true" Width="300px" BackColor="#ddeeff"
|
||||
DataValueField="value" AutoPostBack="true" Width="300px" BackColor="#99cc00"
|
||||
Font-Size="8pt" SelectedValue='<%# Bind("idxImpianto") %>'>
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsImpianti" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
@@ -513,7 +526,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<asp:DropDownList ID="listMacchine" runat="server" AutoPostBack="True" DataSourceID="odsMacchine"
|
||||
DataTextField="label" DataValueField="value" Width="300px" BackColor="#ddeeff"
|
||||
DataTextField="label" DataValueField="value" Width="300px" BackColor="#99cc00"
|
||||
Font-Size="8pt" SelectedValue='<%# Bind("idxMacchina") %>'>
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
@@ -527,7 +540,8 @@
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblAmbito" /><br />
|
||||
<asp:DropDownList runat="server" ID="ddlAmbito" Font-Bold="True" Font-Size="10pt"
|
||||
CssClass="textEv_2" DataSourceID="odsAmbiti" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("idxAmbito") %>'>
|
||||
CssClass="textEv_2" DataSourceID="odsAmbiti" DataTextField="label" DataValueField="value"
|
||||
SelectedValue='<%# Bind("idxAmbito") %>'>
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsAmbiti" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_selAmbitiTableAdapter">
|
||||
@@ -547,10 +561,7 @@
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblDescrPriorita" Text='<%# traduci("lblDescrPriorita") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblDescrStato" Text='<%# traduci("lblDescrStato") %>' />
|
||||
</td>
|
||||
<td>
|
||||
<td colspan="2">
|
||||
<asp:Label runat="server" ID="lblDescrizioneGen" Text='<%# traduci("lblDescrizioneGen") %>' />
|
||||
</td>
|
||||
</tr>
|
||||
@@ -562,14 +573,8 @@
|
||||
<asp:ObjectDataSource ID="odsPrior" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_selPriorTableAdapter">
|
||||
</asp:ObjectDataSource>
|
||||
<%--<asp:TextBox ID="descrPrioritaLabel" runat="server" Text='<%# Eval("descrPriorita") %>'
|
||||
CssClass="textEv_2" />--%>
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="DescrStatoLabel" runat="server" Text='<%# Eval("DescrStato") %>'
|
||||
CssClass="textEv_2" />
|
||||
</td>
|
||||
<td colspan="3">
|
||||
<td colspan="4">
|
||||
<asp:TextBox ID="descrizioneLabel" runat="server" Text='<%# Eval("descrizione") %>'
|
||||
CssClass="textEv_2Left" Height="100px" Width="500px" TextMode="MultiLine" />
|
||||
</td>
|
||||
@@ -606,8 +611,11 @@
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblFineIntervento" Text='<%# traduci("lblFineIntervento") %>' />
|
||||
</td>
|
||||
<td rowspan="4" style="vertical-align: top; padding-left: 30px;">
|
||||
<uc1:mod_interventoOpMtz ID="mod_interventoOpMtz4" runat="server" vistaModulo="editing" />
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblDescrStato" Text='<%# traduci("lblDescrStato") %>' />
|
||||
</td>
|
||||
<td style="text-align: center;">
|
||||
<asp:Label runat="server" ID="lblInterventi" Text='<%# traduci ("lblInterventi") %>'></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -615,8 +623,8 @@
|
||||
<asp:TextBox ID="presaInCaricoLabel" runat="server" Text='<%# Bind("presaInCarico") %>'
|
||||
CssClass="textEv_1" />
|
||||
</td>
|
||||
<td>
|
||||
<%--<asp:TextBox ID="inizioInterventoLabel" runat="server" Text='<%# Bind("inizioIntervento") %>' />--%>
|
||||
<%--<td>
|
||||
<asp:TextBox ID="inizioInterventoLabel" runat="server" Text='<%# Bind("inizioIntervento") %>' />
|
||||
<asp:TextBox ID="txtBoxInizioData" runat="server" Width="50px" CssClass="textEv_1"></asp:TextBox>
|
||||
<asp:DropDownList runat="server" ID="ddlInizioOra" Font-Bold="true" Font-Size="10pt"
|
||||
CssClass="textEv_1">
|
||||
@@ -629,7 +637,7 @@
|
||||
</cc1:CalendarExtender>
|
||||
</td>
|
||||
<td>
|
||||
<%--<asp:TextBox ID="fineInterventoLabel" runat="server" Text='<%# Bind("fineIntervento") %>' />--%>
|
||||
<asp:TextBox ID="fineInterventoLabel" runat="server" Text='<%# Bind("fineIntervento") %>' />
|
||||
<asp:TextBox ID="txtBoxFineData" runat="server" Width="50px" CssClass="textEv_1"></asp:TextBox>
|
||||
<asp:DropDownList runat="server" ID="ddlFineOra" Font-Bold="true" Font-Size="10pt"
|
||||
CssClass="textEv_1">
|
||||
@@ -640,6 +648,25 @@
|
||||
<cc1:CalendarExtender ID="CalendarExtender2" runat="server" FirstDayOfWeek="Monday"
|
||||
TargetControlID="txtBoxFineData" Format="dd/MM/yy">
|
||||
</cc1:CalendarExtender>
|
||||
</td>--%>
|
||||
<td>
|
||||
<uc2:mod_dataOra ID="mod_dataOra2" runat="server" valore='<%# Bind("inizioIntervento") %>'
|
||||
css="textEv_1" tipoOrario="tendina" mostraLabel="false" />
|
||||
</td>
|
||||
<td>
|
||||
<uc2:mod_dataOra ID="mod_dataOra3" runat="server" valore='<%# Bind("fineIntervento") %>'
|
||||
css="textEv_1" tipoOrario="tendina" mostraLabel="false" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:DropDownList runat="server" ID="ddlStato" CssClass="textEv_1" SelectedValue='<%# Bind("idxStato") %>'
|
||||
DataSourceID="odsStato" DataTextField="label" DataValueField="value">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsStato" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_selStatoTableAdapter">
|
||||
</asp:ObjectDataSource>
|
||||
</td>
|
||||
<td rowspan="3" style="vertical-align: top; padding-left: 30px;">
|
||||
<uc1:mod_interventoOpMtz ID="mod_interventoOpMtz4" runat="server" vistaModulo="editing" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user