Files
WebGIM/GIM_site/WebUserControls/mod_reportInterventi.ascx
2017-04-18 12:13:09 +02:00

124 lines
9.1 KiB
Plaintext

<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_reportInterventi"
CodeBehind="mod_reportInterventi.ascx.cs" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/WebUserControls/mod_periodoAnalisi.ascx" TagName="mod_periodoAnalisi"
TagPrefix="uc1" %>
<div style="background-color: silver;">
<div style="padding: 1px;">
<div style="padding: 4px; background-color: #E5E2E1;">
<div style="background-color: #D5D2D1; clear: both; padding: 4px; text-align: center; border-style: groove; display: inline-table; height: 20px;">
<uc1:mod_periodoAnalisi ID="mod_periodoAnalisi1" runat="server" />
</div>
<div style="width: 100%; background-color: #E5E2E1; clear: both;" class="bg_plus">
<div style="float: left; width: 350px">
<div style="float: left;">
<asp:Label runat="server" ID="lblImpiantiInteressati" />
</div>
<div style="float: right;">
<asp:TextBox runat="server" ID="txtCercaImpianti" Width="8em" Text="*" AutoPostBack="True" />
</div>
<div>
<asp:ListBox ID="listImpianti" runat="server" DataSourceID="odsImpianti" SelectionMode="Multiple" DataTextField="label" DataValueField="value" Height="40em" Width="350px" BackColor="#ddeeff" Font-Size="8pt" OnSelectedIndexChanged="listImpianti_SelectedIndexChanged" OnDataBound="listImpianti_DataBound" />
<asp:ObjectDataSource ID="odsImpianti" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="GIM_dataLayer.DS_utilityTableAdapters.v_selImpiantiTableAdapter"
FilterExpression="label LIKE '%{0}%'">
<FilterParameters>
<asp:ControlParameter ControlID="txtCercaImpianti" DefaultValue="*" Type="String"
Name="txtCercaImpianti" />
</FilterParameters>
</asp:ObjectDataSource>
</div>
</div>
<div style="float: left; width: 450px">
<div style="float: left;">
<asp:Label runat="server" ID="lblMacchineInteressate" />
</div>
<div style="float: right;">
<asp:TextBox runat="server" ID="txtCercaMacchine" Width="8em" Text="*" AutoPostBack="True" />
</div>
<div>
<asp:ListBox ID="listMacchine" runat="server" DataSourceID="odsMacchine" SelectionMode="Multiple" DataTextField="label" DataValueField="value" Height="40em" Width="450px" BackColor="#ddffee" Font-Size="8pt" OnSelectedIndexChanged="listMacchine_SelectedIndexChanged" OnDataBound="listMacchine_DataBound" />
<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="GIM_dataLayer.DS_utilityTableAdapters.v_selMacchineTableAdapter"
FilterExpression="label LIKE '%{0}%'">
<FilterParameters>
<asp:ControlParameter ControlID="txtCercaMacchine" DefaultValue="*" Type="String"
Name="txtCercaMacchine" />
</FilterParameters>
</asp:ObjectDataSource>
</div>
</div>
<div style="float: left; clear: right; font-size: 8pt;">
<div id="up" style="margin-left: 10px;">
<asp:Label runat="server" ID="lblMostraStati" /><br />
<asp:ListBox ID="listaStati" runat="server" DataSourceID="ods" DataTextField="DescrStato"
AutoPostBack="true" DataValueField="idxStato" OnDataBound="listaStati_DataBound"
SelectionMode="Multiple" OnSelectedIndexChanged="listaStati_SelectedIndexChanged"></asp:ListBox>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="GetData" TypeName="GIM_dataLayer.DS_applicazioneTableAdapters.AnagStatiTableAdapter"></asp:ObjectDataSource>
</div>
<div style="margin-left: 10px;">
<asp:CheckBox ID="chkShowOnlyMacchFerma" runat="server" Checked="false" AutoPostBack="True"
OnCheckedChanged="chkShowOnlyMacchFerma_CheckedChanged" />
<br />
<asp:CheckBox ID="chkShowMtzPrev" runat="server" Checked="true" AutoPostBack="True"
OnCheckedChanged="chkShowMtzPrev_CheckedChanged" />
</div>
<div style="margin-left: 10px;">
<asp:Button runat="server" ID="btnSaveFiltro" CssClass="btn btn-success" Text="Update filtro" OnClick="btnSaveFiltro_Click" Width="100%" />
</div>
</div>
</div>
<div style="font-size: 8pt; clear: both; text-align: center; vertical-align: top; padding: 20px 2px; background-color: #E5E2E1; height: 200px;" class="bg_plus">
<div style="border: 1px solid gray; float: left; height: 180px;">
<div style="clear: both; height: 160px;">
<div style="float: left; width: 250px; margin: -10px 10px -2px 10px;">
<h3>
<asp:Label runat="server" ID="lblReportInterventi" />
</h3>
<asp:HyperLink runat="server" ID="hlElencoInterventi_Pdf" ToolTip="..." ImageUrl="~/images/pdfExportSmall.png" />
<br />
<asp:HyperLink runat="server" ID="hlExcelExportIntExt" Text="Excel" Target="_blank" NavigateUrl="~/ExcelExportReportIntAll" ToolTip='<%: traduci("hlExcelExportIntExt") %>' />
</div>
<div style="float: left; width: 250px; margin: -10px 10px -2px 10px;">
<h3>
<asp:Label runat="server" ID="lblReportMTBFMTTR" />
</h3>
<asp:HyperLink runat="server" ID="hlMTBF_MTTR_Pdf" ToolTip="..." ImageUrl="~/images/pdfExportSmall.png" />
</div>
</div>
<div style="clear: both; border-top: 1px solid gray; border-bottom: 1px solid gray; background: #CDCDCD; height: 20px; vertical-align: bottom">
<asp:HyperLink runat="server" ID="lnkGuidaPerReport" Target="_blank" />
</div>
</div>
<div runat="server" id="divExcelExp" style="border: 1px solid gray; float: left; height: 180px;">
<div style="clear: both; height: 160px;">
<div style="float: left; width: 250px; margin: -10px 10px -2px 10px;">
<h3>
<asp:Label runat="server" ID="lblExcelExportAllData" Text='<%= traduci("lblExcelExportAllData") %>' />
</h3>
<asp:HyperLink runat="server" ID="hlExcelExportAllData" ImageUrl="~/images/csvExportSmall.png" Target="_blank" NavigateUrl="~/ExcelExportAllData" ToolTip='<%: traduci("hlExcelExportAllData") %>' />
</div>
<div style="float: left; width: 250px; margin: -10px 10px -2px 10px;">
<h3>
<asp:Label runat="server" ID="lblExcelPowerPivot" Text='<%: traduci("lblExcelPowerPivot") %>' />
</h3>
<asp:HyperLink runat="server" ID="hlExcelPowerPivot" ImageUrl="~/images/powerPivotSmall.png" Target="_blank" NavigateUrl="~/Reports/WebGIM_PowerPivot.xlsx" ToolTip='<%: traduci("hlExcelPowerPivot") %>' />
<div>
<asp:RadioButtonList runat="server" ID="rblFormato" RepeatLayout="Flow" RepeatDirection="Horizontal" AutoPostBack="True" OnSelectedIndexChanged="rblFormato_SelectedIndexChanged">
<asp:ListItem Selected="True" Text="Excel 2013 PRO" Value="PRO"></asp:ListItem>
<asp:ListItem Text="Excel std" Value="STD"></asp:ListItem>
</asp:RadioButtonList>
</div>
</div>
</div>
<div style="clear: both; border-top: 1px solid gray; border-bottom: 1px solid gray; background: #CDCDCD; height: 20px; vertical-align: bottom">
<asp:Label runat="server" ID="lblExcelInstruction" />
</div>
</div>
</div>
</div>
</div>
</div>