COmpletata review TAB post update

This commit is contained in:
Samuele Locatelli
2023-09-12 08:46:43 +02:00
parent 65d219dee9
commit 895c0db711
51 changed files with 691 additions and 680 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -159,7 +159,7 @@
// Make a button look and behave like a link
.btn-link {
--#{$prefix}btn-font-weight: #{$font-weight-normal};
--#{$prefix}btn-font-weight: #{$fw-normal};
--#{$prefix}btn-color: #{$btn-link-color};
--#{$prefix}btn-bg: transparent;
--#{$prefix}btn-border-color: transparent;
+1 -1
View File
@@ -177,7 +177,7 @@
width: 100%; // For `<button>`s
padding: var(--#{$prefix}dropdown-item-padding-y) var(--#{$prefix}dropdown-item-padding-x);
clear: both;
font-weight: $font-weight-normal;
font-weight: $fw-normal;
color: var(--#{$prefix}dropdown-link-color);
text-align: inherit; // For `<button>`s
text-decoration: if($link-decoration == none, null, none);
+1 -1
View File
@@ -121,7 +121,7 @@
padding: $input-padding-y $input-padding-x;
margin-bottom: 0; // Allow use of <label> elements by overriding our default margin-bottom
@include font-size($input-font-size); // Match inputs
font-weight: $font-weight-normal;
font-weight: $fw-normal;
line-height: $input-line-height;
color: $input-group-addon-color;
text-align: center;
+1 -1
View File
@@ -200,7 +200,7 @@ blockquote {
b,
strong {
font-weight: $font-weight-bolder;
font-weight: $fw-bolder;
}
+1 -1
View File
@@ -41,7 +41,7 @@
}
--#{$prefix}body-font-family: #{$font-family-base};
@include rfs($font-size-base, --#{$prefix}body-font-size);
--#{$prefix}body-font-weight: #{$font-weight-base};
--#{$prefix}body-font-weight: #{$fw-base};
--#{$prefix}body-line-height: #{$line-height-base};
--#{$prefix}body-color: #{$body-color};
@if $body-text-align != null {
+6 -6
View File
@@ -473,12 +473,12 @@ $utilities: map-merge(
property: font-weight,
class: fw,
values: (
light: $font-weight-light,
lighter: $font-weight-lighter,
normal: $font-weight-normal,
bold: $font-weight-bold,
semibold: $font-weight-semibold,
bolder: $font-weight-bolder
light: $fw-light,
lighter: $fw-lighter,
normal: $fw-normal,
bold: $fw-bold,
semibold: $fw-semibold,
bolder: $fw-bolder
)
),
"line-height": (
+12 -12
View File
@@ -553,14 +553,14 @@ $font-size-base: 1rem !default; // Assumes the browser default, typ
$font-size-sm: $font-size-base * .875 !default;
$font-size-lg: $font-size-base * 1.25 !default;
$font-weight-lighter: lighter !default;
$font-weight-light: 300 !default;
$font-weight-normal: 400 !default;
$font-weight-semibold: 600 !default;
$font-weight-bold: 700 !default;
$font-weight-bolder: bolder !default;
$fw-lighter: lighter !default;
$fw-light: 300 !default;
$fw-normal: 400 !default;
$fw-semibold: 600 !default;
$fw-bold: 700 !default;
$fw-bolder: bolder !default;
$font-weight-base: $font-weight-normal !default;
$fw-base: $fw-normal !default;
$line-height-base: 1.5 !default;
$line-height-sm: 1.25 !default;
@@ -643,7 +643,7 @@ $legend-margin-bottom: .5rem !default;
$legend-font-size: 1.5rem !default;
$legend-font-weight: null !default;
$dt-font-weight: $font-weight-bold !default;
$dt-font-weight: $fw-bold !default;
$list-inline-padding: .5rem !default;
@@ -761,7 +761,7 @@ $btn-font-size-lg: $input-btn-font-size-lg !default;
$btn-border-width: $input-btn-border-width !default;
$btn-font-weight: $font-weight-normal !default;
$btn-font-weight: $fw-normal !default;
$btn-box-shadow: inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075) !default;
$btn-focus-width: $input-btn-focus-width !default;
$btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
@@ -813,7 +813,7 @@ $input-padding-y: $input-btn-padding-y !default;
$input-padding-x: $input-btn-padding-x !default;
$input-font-family: $input-btn-font-family !default;
$input-font-size: $input-btn-font-size !default;
$input-font-weight: $font-weight-base !default;
$input-font-weight: $fw-base !default;
$input-line-height: $input-btn-line-height !default;
$input-padding-y-sm: $input-btn-padding-y-sm !default;
@@ -1376,7 +1376,7 @@ $toast-header-border-color: rgba($black, .05) !default;
// scss-docs-start badge-variables
$badge-font-size: .75em !default;
$badge-font-weight: $font-weight-bold !default;
$badge-font-weight: $fw-bold !default;
$badge-color: $white !default;
$badge-padding-y: .35em !default;
$badge-padding-x: .65em !default;
@@ -1439,7 +1439,7 @@ $alert-padding-y: $spacer !default;
$alert-padding-x: $spacer !default;
$alert-margin-bottom: 1rem !default;
$alert-border-radius: $border-radius !default;
$alert-link-font-weight: $font-weight-bold !default;
$alert-link-font-weight: $fw-bold !default;
$alert-border-width: $border-width !default;
$alert-bg-scale: -80% !default;
$alert-border-scale: -70% !default;
@@ -2,7 +2,7 @@
font-family: $font-family-base;
// We deliberately do NOT reset font-size or overflow-wrap / word-wrap.
font-style: normal;
font-weight: $font-weight-normal;
font-weight: $fw-normal;
line-height: $line-height-base;
text-align: left; // Fallback for where `start` is not supported
text-align: start;
+3 -1
View File
@@ -11,6 +11,8 @@
-webkit-border-bottom-right-radius: inherit;
border-bottom-right-radius: inherit;
line-height: 1em;
min-height: 2em;
vertical-align: middle;
}
.dichBlock {
font-family: 'Open Sans Condensed', sans-serif;
@@ -42,7 +44,7 @@
/* Second breakpoint. 5 column layout. Tiles will be 156x156 pixels again at the breakpoint. */
@media all and (min-width: 800px) {
.dichBlock {
font-size: 1.4em;
font-size: 1.3em;
width: 6em;
}
}
+3 -1
View File
@@ -12,6 +12,8 @@
-webkit-border-bottom-right-radius: inherit;
border-bottom-right-radius: inherit;
line-height: 1em;
min-height: 2em;
vertical-align: middle;
}
.dichBlock {
font-family: 'Open Sans Condensed', sans-serif;
@@ -44,7 +46,7 @@
/* Second breakpoint. 5 column layout. Tiles will be 156x156 pixels again at the breakpoint. */
@media all and (min-width: 800px) {
.dichBlock {
font-size: 1.4em;
font-size: 1.3em;
width: 6em;
}
}
+1 -1
View File
@@ -1 +1 @@
.labelBottom{background:#111;background:rgba(0,0,0,.8);-webkit-background-clip:padding-box;background-clip:padding-box;padding:0 .4em;width:100%;-webkit-border-bottom-left-radius:inherit;border-bottom-left-radius:inherit;-webkit-border-bottom-right-radius:inherit;border-bottom-right-radius:inherit;line-height:1em;}.dichBlock{font-family:'Open Sans Condensed',sans-serif;color:#fff;background-image:linear-gradient(#111,#000);}@media all and (max-width:425px){.dichBlock{font-size:.7em;width:7em;}}@media all and (min-width:425px){.dichBlock{font-size:.8em;width:7em;}}@media all and (min-width:600px){.dichBlock{font-size:1em;width:8em;}}@media all and (min-width:800px){.dichBlock{font-size:1.4em;width:6em;}}@media all and (min-width:1100px){.dichBlock{font-size:1.5em;width:6em;}}
.labelBottom{background:#111;background:rgba(0,0,0,.8);-webkit-background-clip:padding-box;background-clip:padding-box;padding:0 .4em;width:100%;-webkit-border-bottom-left-radius:inherit;border-bottom-left-radius:inherit;-webkit-border-bottom-right-radius:inherit;border-bottom-right-radius:inherit;line-height:1em;min-height:2em;vertical-align:middle;}.dichBlock{font-family:'Open Sans Condensed',sans-serif;color:#fff;background-image:linear-gradient(#111,#000);}@media all and (max-width:425px){.dichBlock{font-size:.7em;width:7em;}}@media all and (min-width:425px){.dichBlock{font-size:.8em;width:7em;}}@media all and (min-width:600px){.dichBlock{font-size:1em;width:8em;}}@media all and (min-width:800px){.dichBlock{font-size:1.3em;width:6em;}}@media all and (min-width:1100px){.dichBlock{font-size:1.5em;width:6em;}}
+10 -10
View File
@@ -235,11 +235,11 @@ $font-size-base: 1rem !default; // Assumes the browser default, typ
$font-size-lg: ($font-size-base * 1.25) !default;
$font-size-sm: ($font-size-base * .875) !default;
$font-weight-light: 300 !default;
$font-weight-normal: 400 !default;
$font-weight-bold: 700 !default;
$fw-light: 300 !default;
$fw-normal: 400 !default;
$fw-bold: 700 !default;
$font-weight-base: $font-weight-normal !default;
$fw-base: $fw-normal !default;
$line-height-base: 1.5 !default;
$h1-font-size: $font-size-base * 2.5 !default;
@@ -281,10 +281,10 @@ $hr-border-width: $border-width !default;
$mark-padding: .2em !default;
$dt-font-weight: $font-weight-bold !default;
$dt-font-weight: $fw-bold !default;
$kbd-box-shadow: inset 0 -.1rem 0 rgba($black, .25) !default;
$nested-kbd-font-weight: $font-weight-bold !default;
$nested-kbd-font-weight: $fw-bold !default;
$list-inline-padding: .5rem !default;
@@ -359,7 +359,7 @@ $btn-line-height-lg: $input-btn-line-height-lg !default;
$btn-border-width: $input-btn-border-width !default;
$btn-font-weight: $font-weight-normal !default;
$btn-font-weight: $fw-normal !default;
$btn-box-shadow: inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075) !default;
$btn-focus-width: $input-btn-focus-width !default;
$btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
@@ -720,7 +720,7 @@ $popover-arrow-outer-color: fade-in($popover-border-color, .05) !default
// Badges
$badge-font-size: 75% !default;
$badge-font-weight: $font-weight-bold !default;
$badge-font-weight: $fw-bold !default;
$badge-padding-y: .25em !default;
$badge-padding-x: .4em !default;
$badge-border-radius: $border-radius !default;
@@ -770,7 +770,7 @@ $alert-padding-y: .75rem !default;
$alert-padding-x: 1.25rem !default;
$alert-margin-bottom: 1rem !default;
$alert-border-radius: $border-radius !default;
$alert-link-font-weight: $font-weight-bold !default;
$alert-link-font-weight: $fw-bold !default;
$alert-border-width: $border-width !default;
$alert-bg-level: -10 !default;
@@ -870,7 +870,7 @@ $carousel-transition: transform .6s ease !default;
// Close
$close-font-size: $font-size-base * 1.5 !default;
$close-font-weight: $font-weight-bold !default;
$close-font-weight: $fw-bold !default;
$close-color: $black !default;
$close-text-shadow: 0 1px 0 $white !default;
+4 -4
View File
@@ -61,11 +61,11 @@
<sub>ultima conferma -->
<asp:Label runat="server" ID="lblDtRec"></asp:Label></sub>
</div>
<div class="col-6 col-sm-3 pr-1 align-self-end font-weight-bold">
<div class="col-6 col-sm-3 pr-1 align-self-end fw-bold">
<asp:Label runat="server" ID="lblNumPezzi" CssClass="mb-0" AssociatedControlID="txtNumPezzi" Text="Pz Prodotti CONFERMATI" />
<asp:TextBox runat="server" ID="txtNumPezzi" Font-Size="XX-Large" TextMode="Number" CssClass="form-control text-end alert alert-warning py-0 mb-0" Enabled="true" AutoPostBack="True" onfocus="hideConfirmButton()" onblur="showConfirmButton()" />
</div>
<div class="col-6 col-sm-3 px-1 align-self-end font-weight-bold">
<div class="col-6 col-sm-3 px-1 align-self-end fw-bold">
<div class="px-2">
<asp:Label runat="server" ID="lblPzSca2Rec" CssClass="text-danger" Text="Pz Scarto" />
+
@@ -77,11 +77,11 @@
<asp:Label runat="server" ID="lblPz2RecBuoni" CssClass="text-success py-0">[C2]</asp:Label>
</div>
</div>
<div class="col-6 col-sm-3 pr-1 align-self-end font-weight-bold">
<div class="col-6 col-sm-3 pr-1 align-self-end fw-bold">
<asp:Label runat="server" ID="lblNumLasciati" CssClass="mb-0" AssociatedControlID="txtNumPezzi" Text="Pz Prodotti LASCIATI" />
<asp:TextBox runat="server" ID="txtNumLasciati" Font-Size="XX-Large" TextMode="Number" CssClass="form-control text-end alert alert-secondary py-0 mb-0" Enabled="true" AutoPostBack="True" onfocus="hideConfirmButton()" onblur="showConfirmButton()" />
</div>
<div class="col-6 col-sm-3 pl-1 align-self-end font-weight-bold">
<div class="col-6 col-sm-3 pl-1 align-self-end fw-bold">
<asp:LinkButton runat="server" ID="lbtSalva" CssClass="btn btn-success text-light btn-lg w-100"><i class="fa fa-floppy-o"></i> CONFERMA</asp:LinkButton>
<asp:Label runat="server" ID="lblUpdating" CssClass="btn btn-secondary text-light btn-lg w-100"><i class="fa fa-circle-o-notch fa-spin"></i> USER INPUT</asp:Label>
</div>
+1 -1
View File
@@ -14,7 +14,7 @@
<div class="col-4 pr-0 text-start">
<%: hfLabel.Value %>
</div>
<div class='<%: "col-8 pl-0 text-end font-weight-bold " + dataCss + derogaCss %>'>
<div class='<%: "col-8 pl-0 text-end fw-bold " + dataCss + derogaCss %>'>
<asp:Label runat="server" ID="lblDeroga">Deroga Attiva</asp:Label>
<asp:LinkButton runat="server" ID="lbtForce" CssClass="btn btn-sm btn-danger text-light py-0" OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmForceParamST") %>' ToolTip="Forza Parametro" OnClick="lbtForce_Click"><i class="fa fa-medkit" aria-hidden="true"></i></asp:LinkButton>
<asp:Label runat="server" ID="lblExtCode" CssClass="small2">(<%: hfValueRead.Value %>)</asp:Label>&nbsp;<%: hfValue.Value %>
+10 -10
View File
@@ -11,19 +11,19 @@
<div class="col-sm-1 small pr-0 mr-0">
ODL:
</div>
<div class="col-sm-3 text-end font-weight-bold">
<div class="col-sm-3 text-end fw-bold">
<asp:Label ID="idxODLLabel" runat="server" Text='<%# Eval("idxODL") %>' />
</div>
<div class="col-sm-1 small pr-0 mr-0">
Rif:
</div>
<div class="col-sm-3 text-end font-weight-bold">
<div class="col-sm-3 text-end fw-bold">
<asp:Label ID="CommessaAs400Label" runat="server" Text='<%# Eval("CommessaAs400") %>' />
</div>
<div class="col-sm-1 small pr-0 mr-0">
Cod:
</div>
<div class="col-sm-3 text-end font-weight-bold">
<div class="col-sm-3 text-end fw-bold">
<asp:Label ID="CodArticoloLabel" runat="server" Text='<%# Eval("CodArticolo") %>' />
</div>
</div>
@@ -31,7 +31,7 @@
<div class="col-sm-2 small pr-0 mr-0">
Articolo:
</div>
<div class="col-sm-10 text-end font-weight-bold">
<div class="col-sm-10 text-end fw-bold">
<asp:Label ID="DescArticoloLabel" runat="server" Text='<%# Eval("DescArticolo") %>' />
</div>
</div>
@@ -39,38 +39,38 @@
<div class="col-sm-1 small pr-0 mr-0">
Pezzi:
</div>
<div class="col-sm-3 text-end font-weight-bold">
<div class="col-sm-3 text-end fw-bold">
<asp:Label ID="NumPezziLabel" runat="server" Text='<%# Eval("NumPezzi") %>' />
</div>
<div class="col-sm-1 small pr-0 mr-0">
TCiclo:
</div>
<div class="col-sm-3 text-end font-weight-bold">
<div class="col-sm-3 text-end fw-bold">
<asp:Label ID="TCAssegnatoLabel" runat="server" Text='<%# Eval("TCAssegnato", "{0:N2}") %>' />
</div>
<div class="col-sm-2 small">
Pz/pallet:
</div>
<div class="col-sm-2 text-end font-weight-bold">
<div class="col-sm-2 text-end fw-bold">
<asp:Label ID="PzPalletLabel" runat="server" Text='<%# Eval("PzPallet") %>' />
</div>
</div>
</div>
<div class="card-footer">
<div class="row">
<div class="col-sm-4 text-start font-weight-bold">
<div class="col-sm-4 text-start fw-bold">
<asp:Label ID="NomeLabel" runat="server" Text='<%# Eval("Nome") %>' />
</div>
<div class="col-sm-2 small">
Oper. Setup:
</div>
<div class="col-sm-2 text-end font-weight-bold">
<div class="col-sm-2 text-end fw-bold">
<asp:Label ID="PrioritaLabel" runat="server" Text='<%# Eval("OperSetup") %>' />
</div>
<div class="col-sm-2 small">
Data Inizio:
</div>
<div class="col-sm-2 text-end font-weight-bold">
<div class="col-sm-2 text-end fw-bold">
<asp:Label ID="DueDateLabel" runat="server" Text='<%# Eval("DataInizio","{0:dd.MM.yy}") %>' />
</div>
</div>
+10 -10
View File
@@ -11,19 +11,19 @@
<div class="col-sm-1 small pr-0 mr-0">
P.ODL:
</div>
<div class="col-sm-3 text-end font-weight-bold">
<div class="col-sm-3 text-end fw-bold">
<asp:Label ID="idxPromessaLabel" runat="server" Text='<%# Eval("idxPromessa") %>' />
</div>
<div class="col-sm-1 small pr-0 mr-0">
Rif:
</div>
<div class="col-sm-3 text-end font-weight-bold">
<div class="col-sm-3 text-end fw-bold">
<asp:Label ID="KeyRichiestaLabel" runat="server" Text='<%# Eval("KeyRichiesta") %>' />
</div>
<div class="col-sm-1 small pr-0 mr-0">
Cod:
</div>
<div class="col-sm-3 text-end font-weight-bold">
<div class="col-sm-3 text-end fw-bold">
<asp:Label ID="CodArticoloLabel" runat="server" Text='<%# Eval("CodArticolo") %>' />
</div>
</div>
@@ -31,7 +31,7 @@
<div class="col-sm-2 small pr-0 mr-0">
Articolo:
</div>
<div class="col-sm-10 text-end font-weight-bold">
<div class="col-sm-10 text-end fw-bold">
<asp:Label ID="DescArticoloLabel" runat="server" Text='<%# Eval("DescArticolo") %>' />
</div>
</div>
@@ -39,38 +39,38 @@
<div class="col-sm-1 small pr-0 mr-0">
Pezzi:
</div>
<div class="col-sm-3 text-end font-weight-bold">
<div class="col-sm-3 text-end fw-bold">
<asp:Label ID="NumPezziLabel" runat="server" Text='<%# Eval("NumPezzi") %>' />
</div>
<div class="col-sm-1 small pr-0 mr-0">
TCiclo:
</div>
<div class="col-sm-3 text-end font-weight-bold">
<div class="col-sm-3 text-end fw-bold">
<asp:Label ID="TCAssegnatoLabel" runat="server" Text='<%# Eval("TCAssegnato", "{0:N2}") %>' />
</div>
<div class="col-sm-2 small">
Pz/pallet:
</div>
<div class="col-sm-2 text-end font-weight-bold">
<div class="col-sm-2 text-end fw-bold">
<asp:Label ID="PzPalletLabel" runat="server" Text='<%# Eval("PzPallet") %>' />
</div>
</div>
</div>
<div class="card-footer">
<div class="row">
<div class="col-sm-4 text-start font-weight-bold">
<div class="col-sm-4 text-start fw-bold">
<asp:Label ID="NomeLabel" runat="server" Text='<%# Eval("Nome") %>' />
</div>
<div class="col-sm-2 small">
Priorita:
</div>
<div class="col-sm-2 text-end font-weight-bold">
<div class="col-sm-2 text-end fw-bold">
<asp:Label ID="PrioritaLabel" runat="server" Text='<%# Eval("Priorita") %>' />
</div>
<div class="col-sm-2 small">
Data:
</div>
<div class="col-sm-2 text-end font-weight-bold">
<div class="col-sm-2 text-end fw-bold">
<asp:Label ID="DueDateLabel" runat="server" Text='<%# Eval("DueDate","{0:dd.MM.yy}") %>' />
</div>
</div>
+48 -50
View File
@@ -2,57 +2,55 @@
<asp:HiddenField runat="server" ID="hfIdxMacchina" />
<div class="" runat="server" id="divDetail">
<div class="row my-2 textCondens font-weight-bold">
<div class="col-6 pr-0">
<div class="text-truncate">
Articolo (ricerca + selezione)
</div>
<div class="my-0">
<div class="input-group mb-3">
<div class="input-group-prepend">
<asp:TextBox runat="server" ID="txtSearch" CssClass="form form-control" AutoPostBack="True" OnTextChanged="txtSearch_TextChanged" place="Ricerca" Width="5em" />
</div>
<asp:DropDownList runat="server" ID="ddlArticolo" DataSourceID="odsArticoli" DataTextField="label" DataValueField="value" CssClass="form-control"></asp:DropDownList>
<asp:ObjectDataSource ID="odsArticoli" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="getByConditio" TypeName="MapoDb.DS_UtilityTableAdapters.v_selArticoliTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="txtSearch" DefaultValue="Non definito" Name="conditio" PropertyName="Text" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<div class="row my-2 textCondens fw-bold">
<div class="col-6 pr-0">
<div class="text-truncate">
Articolo (ricerca + selezione)
</div>
<div class="my-0">
<div class="input-group mb-3">
<asp:TextBox runat="server" ID="txtSearch" CssClass="form form-control" AutoPostBack="True" OnTextChanged="txtSearch_TextChanged" place="Ricerca" Width="5em" />
<asp:DropDownList runat="server" ID="ddlArticolo" DataSourceID="odsArticoli" DataTextField="label" DataValueField="value" CssClass="form-control"></asp:DropDownList>
<asp:ObjectDataSource ID="odsArticoli" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="getByConditio" TypeName="MapoDb.DS_UtilityTableAdapters.v_selArticoliTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="txtSearch" DefaultValue="Non definito" Name="conditio" PropertyName="Text" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
</div>
<div class="col-2 pr-0 pl-1">
<div class="text-truncate">
Num Pz
</div>
<div class="my-0">
<asp:TextBox runat="server" ID="txtNumPz" CssClass="form form-control text-end" TextMode="Number" />
</div>
</div>
<div class="col-2 px-0">
<div class="text-truncate">
T.Ciclo min
</div>
<div class="my-0">
<asp:TextBox runat="server" ID="txtTC_min" CssClass="form form-control text-end" TextMode="Number" />
</div>
</div>
<div class="col-2 pl-0">
<div class="text-truncate">
T.Ciclo sec
</div>
<div class="my-0">
<asp:TextBox runat="server" ID="txtTC_sec" CssClass="form form-control text-end" TextMode="Number" />
</div>
</div>
</div>
</div>
<div class="col-2 pr-0 pl-1">
<div class="text-truncate">
Num Pz
</div>
<div class="my-0">
<asp:TextBox runat="server" ID="txtNumPz" CssClass="form form-control text-end" TextMode="Number" />
</div>
<div class="row my-2 textCondens">
<div class="col-12">
<asp:TextBox runat="server" ID="txtNote" CssClass="form form-control" placeholder="Note (obbligatorie)" TextMode="MultiLine" Height="4em" />
</div>
<div class="col-12 mt-2">
<asp:LinkButton runat="server" ID="lbtCreaOdlProvv" CssClass="btn w-100 btn-success" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaCreaOdlProvv") %>' OnClick="lbtCreaOdlProvv_Click"><i class="fa fa-exclamation-circle"></i> Crea ODL Provvisorio</asp:LinkButton>
</div>
</div>
<div class="col-2 px-0">
<div class="text-truncate">
T.Ciclo min
</div>
<div class="my-0">
<asp:TextBox runat="server" ID="txtTC_min" CssClass="form form-control text-end" TextMode="Number" />
</div>
</div>
<div class="col-2 pl-0">
<div class="text-truncate">
T.Ciclo sec
</div>
<div class="my-0">
<asp:TextBox runat="server" ID="txtTC_sec" CssClass="form form-control text-end" TextMode="Number" />
</div>
</div>
</div>
<div class="row my-2 textCondens">
<div class="col-12">
<asp:TextBox runat="server" ID="txtNote" CssClass="form form-control" placeholder="Note (obbligatorie)" TextMode="MultiLine" Height="4em" />
</div>
<div class="col-12 mt-2">
<asp:LinkButton runat="server" ID="lbtCreaOdlProvv" CssClass="btn w-100 btn-success" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaCreaOdlProvv") %>' OnClick="lbtCreaOdlProvv_Click"><i class="fa fa-exclamation-circle"></i> Crea ODL Provvisorio</asp:LinkButton>
</div>
</div>
</div>
+51 -49
View File
@@ -1,104 +1,106 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
// <auto-generated>
// This code was generated by a tool.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MoonProTablet.WebUserControls {
public partial class cmp_newODL {
namespace MoonProTablet.WebUserControls
{
public partial class cmp_newODL
{
/// <summary>
/// Controllo hfIdxMacchina.
/// hfIdxMacchina control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfIdxMacchina;
/// <summary>
/// Controllo divDetail.
/// divDetail control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divDetail;
/// <summary>
/// Controllo txtSearch.
/// txtSearch control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtSearch;
/// <summary>
/// Controllo ddlArticolo.
/// ddlArticolo control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddlArticolo;
/// <summary>
/// Controllo odsArticoli.
/// odsArticoli control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsArticoli;
/// <summary>
/// Controllo txtNumPz.
/// txtNumPz control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtNumPz;
/// <summary>
/// Controllo txtTC_min.
/// txtTC_min control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtTC_min;
/// <summary>
/// Controllo txtTC_sec.
/// txtTC_sec control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtTC_sec;
/// <summary>
/// Controllo txtNote.
/// txtNote control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtNote;
/// <summary>
/// Controllo lbtCreaOdlProvv.
/// lbtCreaOdlProvv control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtCreaOdlProvv;
}
+7 -11
View File
@@ -1,11 +1,9 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_selOdlOrd.ascx.cs" Inherits="MoonProTablet.WebUserControls.cmp_selOdlOrd" %>
<div class="row text-end small textCondens">
<div class="col-9 pr-0">
<div class="col-9 col-lg-10 pr-0">
<div class="input-group input-group-sm">
<div class="input-group-prepend">
<span class="input-group-text">Comm/ODL</span>
</div>
<asp:DropDownList runat="server" ID="ddlOdl" CssClass="form-control" DataSourceID="odl" DataTextField="label" DataValueField="value" AppendDataBoundItems="true" AutoPostBack="true" OnSelectedIndexChanged="ddlOdl_SelectedIndexChanged">
<span class="input-group-text">Comm/ODL</span>
<asp:DropDownList runat="server" ID="ddlOdl" CssClass="form-select" DataSourceID="odl" DataTextField="label" DataValueField="value" AppendDataBoundItems="true" AutoPostBack="true" OnSelectedIndexChanged="ddlOdl_SelectedIndexChanged">
<asp:ListItem Value="0" Text="--- MOSTRA TUTTI ---"></asp:ListItem>
</asp:DropDownList>
<asp:ObjectDataSource runat="server" ID="odl" OldValuesParameterFormatString="original_{0}" SelectMethod="getLastByMacc" TypeName="MapoDb.DS_UtilityTableAdapters.v_selODLTableAdapter">
@@ -16,12 +14,10 @@
</asp:ObjectDataSource>
</div>
</div>
<div class="col-3 pl-0">
<div class="col-3 col-lg-2 pl-0">
<div class="input-group input-group-sm">
<asp:TextBox runat="server" ID="txtNumLast" CssClass="form-control" AutoPostBack="True" OnTextChanged="txtNumLast_TextChanged" TextMode="Number" Width="4em" />
<div class="input-group-append">
<span class="input-group-text">#</span>
</div>
<asp:TextBox runat="server" ID="txtNumLast" CssClass="form-control text-end" AutoPostBack="True" OnTextChanged="txtNumLast_TextChanged" TextMode="Number" Width="4em" />
<span class="input-group-text">#</span>
</div>
</div>
</div>
</div>
+14 -14
View File
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
// <auto-generated>
// This code was generated by a tool.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MoonProTablet.WebUserControls
@@ -15,29 +15,29 @@ namespace MoonProTablet.WebUserControls
{
/// <summary>
/// Controllo ddlOdl.
/// ddlOdl control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddlOdl;
/// <summary>
/// Controllo odl.
/// odl control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odl;
/// <summary>
/// Controllo txtNumLast.
/// txtNumLast control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtNumLast;
}
+2 -2
View File
@@ -1,8 +1,8 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_selPODL.ascx.cs" Inherits="MoonProTablet.WebUserControls.cmp_selPODL" %>
<div class="input-group mb-2">
<asp:TextBox runat="server" ID="txtSearchODL" CssClass="form form-control bg-light text-dark textCondens pl-2 pr-1 w-25" AutoPostBack="True" placeholder="cerca" OnTextChanged="txtSearchODL_TextChanged" />
<asp:DropDownList runat="server" ID="ddlODL" DataSourceID="odsODL" DataTextField="label" DataValueField="value" CssClass="form-select textCondens" OnSelectedIndexChanged="ddlODL_SelectedIndexChanged" AutoPostBack="True">
<asp:TextBox runat="server" ID="txtSearchODL" CssClass="form form-control bg-light text-dark textCondens pl-2 pr-1" AutoPostBack="True" placeholder="cerca" OnTextChanged="txtSearchODL_TextChanged" />
<asp:DropDownList runat="server" ID="ddlODL" DataSourceID="odsODL" DataTextField="label" DataValueField="value" CssClass="form-select textCondens w-50" OnSelectedIndexChanged="ddlODL_SelectedIndexChanged" AutoPostBack="True">
</asp:DropDownList>
<asp:HiddenField runat="server" ID="hfIdxMacchina" />
<asp:HiddenField runat="server" ID="hfFiltroAttivabili" />
+4 -4
View File
@@ -41,11 +41,11 @@
<sub>ultima conferma -->
<asp:Label runat="server" ID="lblDtRec"></asp:Label></sub>
</div>
<div class="col-6 col-sm-3 pr-1 align-self-end font-weight-bold">
<div class="col-6 col-sm-3 pr-1 align-self-end fw-bold">
<asp:Label runat="server" ID="lblNumPezzi" CssClass="mb-0" AssociatedControlID="txtNumPezzi" Text="Pz Prodotti CONFERMATI" />
<asp:TextBox runat="server" ID="txtNumPezzi" Font-Size="XX-Large" TextMode="Number" CssClass="form-control text-end alert alert-warning py-0 mb-0" Enabled="true" AutoPostBack="True" OnTextChanged="txtNumPezzi_TextChanged" onfocus="hideConfirmButton()" onblur="showConfirmButton()" />
</div>
<div class="col-6 col-sm-3 px-1 align-self-end font-weight-bold">
<div class="col-6 col-sm-3 px-1 align-self-end fw-bold">
<div class="px-2">
<asp:Label runat="server" ID="lblPzSca2Rec" CssClass="text-danger" Text="Pz Scarto" />
+
@@ -57,12 +57,12 @@
<asp:Label runat="server" ID="lblPz2RecBuoni" CssClass="text-success py-0">[C2]</asp:Label>
</div>
</div>
<div class="col-6 col-sm-3 pr-1 align-self-end font-weight-bold">
<div class="col-6 col-sm-3 pr-1 align-self-end fw-bold">
<asp:Label runat="server" ID="lblNumLasciati" CssClass="mb-0" AssociatedControlID="txtNumPezzi" Text="Pz Prodotti LASCIATI" />
<asp:TextBox runat="server" ID="txtNumLasciati" Font-Size="XX-Large" TextMode="Number" CssClass="form-control text-end alert alert-secondary py-0 mb-0" Enabled="true" AutoPostBack="True" OnTextChanged="txtNumLasciati_TextChanged" onfocus="hideConfirmButton()" onblur="showConfirmButton()" />
<asp:Label runat="server" ID="lblEmptyNumLasciati" CssClass="btn btn-dark text-light btn-lg w-100" Visible="false">&nbsp;</asp:Label>
</div>
<div class="col-6 col-sm-3 pl-1 align-self-end font-weight-bold">
<div class="col-6 col-sm-3 pl-1 align-self-end fw-bold">
<asp:LinkButton runat="server" ID="lbtSalva" CssClass="btn btn-success text-light btn-lg w-100" OnClick="lbtSalva_Click"><i class="fa fa-floppy-o"></i> CONFERMA</asp:LinkButton>
<asp:Label runat="server" ID="lblUpdating" CssClass="btn btn-dark text-light btn-lg w-100" Visible="false"><i class="fa fa-circle-o-notch fa-spin"></i> USER INPUT</asp:Label>
</div>
@@ -25,7 +25,7 @@
<div class="card text-white dichBlock rCAll">
<img class="card-img bg-dark rCAll" src='<%# ImgUrlIcon(Eval("value")) %>' alt='<%# Eval("label") %>'>
<div class="card-img-overlay p-0 d-flex flex-row-reverse align-items-end rCBot">
<div class="labelBottom text-center px-2 text-uppercase">
<div class="labelBottom text-center px-2 text-uppercase textCondens">
<asp:Label runat="server" ID="lblBadge" Text='<%# Eval("label") %>' />
</div>
</div>
+27 -25
View File
@@ -1,50 +1,52 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
// <auto-generated>
// This code was generated by a tool.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MoonProTablet.WebUserControls {
public partial class mod_dichiarazione {
namespace MoonProTablet.WebUserControls
{
public partial class mod_dichiarazione
{
/// <summary>
/// Controllo lblOut.
/// lblOut control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblOut;
/// <summary>
/// Controllo updtRicerca.
/// updtRicerca control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdateProgress updtRicerca;
/// <summary>
/// Controllo repLI.
/// repLI control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Repeater repLI;
/// <summary>
/// Controllo ods.
/// ods control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
}
+1 -1
View File
@@ -24,7 +24,7 @@
</div>
</div>
<div class="col-2 px-0 text-center">
<span class="lead font-weight-bold">
<span class="lead fw-bold">
<%# Eval("Qta") %>
</span>pz
</div>
+74 -69
View File
@@ -1,73 +1,78 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_fermate.ascx.cs" Inherits="MoonProTablet.WebUserControls.mod_fermate" %>
<div class="small textCondens">
<div class="row">
<div class="col-6">
<asp:Label runat="server" ID="lblNumGG" Text="Ultimi gg" AssociatedControlID="ddlPrevDays" />
<asp:DropDownList ID="ddlPrevDays" runat="server" AutoPostBack="true" CssClass="form-control form-control-sm bg-secondary text-light" OnSelectedIndexChanged="ddlPrevDays_SelectedIndexChanged">
<asp:ListItem Text="1" Value="1" />
<asp:ListItem Text="2" Value="2" />
<asp:ListItem Text="3" Value="3" />
<asp:ListItem Text="4" Value="4" />
<asp:ListItem Text="5" Value="5" />
<asp:ListItem Text="6" Value="6" />
<asp:ListItem Text="7" Value="7" />
<asp:ListItem Text="8" Value="8" />
<asp:ListItem Text="9" Value="9" />
<asp:ListItem Text="10" Value="10" />
<asp:ListItem Text="15" Value="15" />
<asp:ListItem Text="20" Value="20" />
<asp:ListItem Text="30" Value="30" />
<asp:ListItem Text="60" Value="60" />
<asp:ListItem Text="90" Value="90" />
<asp:ListItem Text="180" Value="180" />
<asp:ListItem Text="360" Value="360" />
</asp:DropDownList>
</div>
<div class="col-6">
<asp:Label runat="server" ID="lblDurataMin" Text="Durata min" AssociatedControlID="ddlDurataMin" />
<asp:DropDownList ID="ddlDurataMin" runat="server" AutoPostBack="true" CssClass="form-control form-control-sm bg-secondary text-light" OnSelectedIndexChanged="ddlDurataMin_SelectedIndexChanged">
<asp:ListItem Text="5'" Value="5" />
<asp:ListItem Text="10'" Value="10" />
<asp:ListItem Text="15'" Value="15" />
<asp:ListItem Text="20'" Value="20" />
<asp:ListItem Text="30'" Value="30" />
<asp:ListItem Text="1h" Value="60" />
<asp:ListItem Text="2h" Value="120" />
<asp:ListItem Text="4h" Value="240" />
<asp:ListItem Text="8h" Value="480" />
<asp:ListItem Text="1gg" Value="1440" />
<asp:ListItem Text="2gg" Value="2880" />
</asp:DropDownList>
</div>
<asp:Repeater ID="repComm" runat="server" DataSourceID="odsFerm">
<ItemTemplate>
<div class="col-12 col-sm-6 col-lg-4 text-truncate">
<div class="my-1 ">
<asp:LinkButton runat="server" ID="btnEdit" CommandArgument='<%# Eval("InizioStato") %>' OnClick="btnEdit_Click">
<div class="card text-white dichBlock rCAll w-100">
<div class='card-title p-2 mb-0 rCTop <%# Eval("Semaforo") %>'>
<b style="font-size: 1.3em;">
<asp:Label ID="lblStato" runat="server" Text='<%# Eval("Stato", "<b>{0}</b>") %>' />
</b>
<div class="text-end ml-auto" style="font-size: 1.1em;">
<asp:Label runat="server" ID="lblCodArticolo" Text='<%# Eval("CodArticolo") %>' />
</div>
<div class="row">
<div class="col-6">
<asp:Label runat="server" ID="lblNumGG" Text="Ultimi gg" AssociatedControlID="ddlPrevDays" />
<asp:DropDownList ID="ddlPrevDays" runat="server" AutoPostBack="true" CssClass="form-control form-control-sm bg-secondary text-light" OnSelectedIndexChanged="ddlPrevDays_SelectedIndexChanged">
<asp:ListItem Text="1" Value="1" />
<asp:ListItem Text="2" Value="2" />
<asp:ListItem Text="3" Value="3" />
<asp:ListItem Text="4" Value="4" />
<asp:ListItem Text="5" Value="5" />
<asp:ListItem Text="6" Value="6" />
<asp:ListItem Text="7" Value="7" />
<asp:ListItem Text="8" Value="8" />
<asp:ListItem Text="9" Value="9" />
<asp:ListItem Text="10" Value="10" />
<asp:ListItem Text="15" Value="15" />
<asp:ListItem Text="20" Value="20" />
<asp:ListItem Text="30" Value="30" />
<asp:ListItem Text="60" Value="60" />
<asp:ListItem Text="90" Value="90" />
<asp:ListItem Text="180" Value="180" />
<asp:ListItem Text="360" Value="360" />
</asp:DropDownList>
</div>
<div class="col-6">
<asp:Label runat="server" ID="lblDurataMin" Text="Durata min" AssociatedControlID="ddlDurataMin" />
<asp:DropDownList ID="ddlDurataMin" runat="server" AutoPostBack="true" CssClass="form-control form-control-sm bg-secondary text-light" OnSelectedIndexChanged="ddlDurataMin_SelectedIndexChanged">
<asp:ListItem Text="5'" Value="5" />
<asp:ListItem Text="10'" Value="10" />
<asp:ListItem Text="15'" Value="15" />
<asp:ListItem Text="20'" Value="20" />
<asp:ListItem Text="30'" Value="30" />
<asp:ListItem Text="1h" Value="60" />
<asp:ListItem Text="2h" Value="120" />
<asp:ListItem Text="4h" Value="240" />
<asp:ListItem Text="8h" Value="480" />
<asp:ListItem Text="1gg" Value="1440" />
<asp:ListItem Text="2gg" Value="2880" />
</asp:DropDownList>
</div>
<asp:Repeater ID="repComm" runat="server" DataSourceID="odsFerm">
<ItemTemplate>
<div class="col-12 col-sm-6 col-lg-4 text-truncate">
<div class="my-1 ">
<asp:LinkButton runat="server" ID="btnEdit" CommandArgument='<%# Eval("InizioStato") %>' OnClick="btnEdit_Click">
<div class="card text-white dichBlock rCAll w-100">
<div class='card-title p-2 mb-0 rCTop <%# Eval("Semaforo") %>'>
<b style="font-size: 1.3em;">
<asp:Label ID="lblStato" runat="server" Text='<%# Eval("Stato", "<b>{0}</b>") %>' />
</b>
<div class="text-end ml-auto" style="font-size: 1.1em;">
<asp:Label runat="server" ID="lblCodArticolo" Text='<%# Eval("CodArticolo") %>' />
</div>
</div>
<div class="card-text p-0 d-flex align-items-end rCBot" style="font-size: 0.8em;">
<div class="labelBottom text-start p-1">
<asp:Label ID="lblInizioStato" runat="server" Text='<%# Eval("InizioStato", "{0:dd.MM.yy HH:mm}") %>' />
</div>
<div class="labelBottom text-end p-1">
<asp:Label ID="lblDurataMinuti" runat="server" Text='<%# durataEvento(Eval("DurataMinuti")) %>' />
</div>
</div>
</div>
</asp:LinkButton>
</div>
</div>
<div class="card-text p-0 d-flex align-items-end rCBot" style="font-size: 0.8em;">
<div class="labelBottom text-start p-1">
<asp:Label ID="lblInizioStato" runat="server" Text='<%# Eval("InizioStato", "{0:dd.MM.yy HH:mm}") %>' />
</div>
<div class="labelBottom text-end p-1">
<asp:Label ID="lblDurataMinuti" runat="server" Text='<%# durataEvento(Eval("DurataMinuti")) %>' />
</div>
</div>
</div>
</asp:LinkButton></div></div></ItemTemplate></asp:Repeater><asp:ObjectDataSource ID="odsFerm" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="MapoDb.DS_UtilityTableAdapters.FermiNonQualTableAdapter">
<SelectParameters>
<asp:SessionParameter DefaultValue="0" Name="IdxMacchina" SessionField="idxMacchina" Type="String" />
<asp:ControlParameter ControlID="ddlPrevDays" DefaultValue="3" Name="gg" PropertyName="SelectedValue" Type="Int32" />
<asp:ControlParameter ControlID="ddlDurataMin" DefaultValue="10" Name="durataMin" PropertyName="SelectedValue" Type="Double" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</ItemTemplate>
</asp:Repeater>
<asp:ObjectDataSource ID="odsFerm" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="MapoDb.DS_UtilityTableAdapters.FermiNonQualTableAdapter">
<SelectParameters>
<asp:SessionParameter DefaultValue="0" Name="IdxMacchina" SessionField="idxMacchina" Type="String" />
<asp:ControlParameter ControlID="ddlPrevDays" DefaultValue="3" Name="gg" PropertyName="SelectedValue" Type="Int32" />
<asp:ControlParameter ControlID="ddlDurataMin" DefaultValue="10" Name="durataMin" PropertyName="SelectedValue" Type="Double" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
+35 -33
View File
@@ -1,68 +1,70 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
// <auto-generated>
// This code was generated by a tool.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MoonProTablet.WebUserControls {
public partial class mod_fermate {
namespace MoonProTablet.WebUserControls
{
public partial class mod_fermate
{
/// <summary>
/// Controllo lblNumGG.
/// lblNumGG control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblNumGG;
/// <summary>
/// Controllo ddlPrevDays.
/// ddlPrevDays control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddlPrevDays;
/// <summary>
/// Controllo lblDurataMin.
/// lblDurataMin control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblDurataMin;
/// <summary>
/// Controllo ddlDurataMin.
/// ddlDurataMin control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddlDurataMin;
/// <summary>
/// Controllo repComm.
/// repComm control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Repeater repComm;
/// <summary>
/// Controllo odsFerm.
/// odsFerm control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsFerm;
}
+1 -1
View File
@@ -6,6 +6,6 @@
</div>
<div class="d-flex justify-content-end pr-1 text-end align-self-center small">
<img src="./images/logoSteamware.png" height="20" />
Steamware&nbsp;&copy; <%: DateTime.Now.Year %>
EgalWare&nbsp;&copy; <%: DateTime.Now.Year %>
</div>
</footer>
+2 -2
View File
@@ -17,7 +17,7 @@
<div class="col-3 text-start">
Art
</div>
<div class="col-9 text-end font-weight-bold">
<div class="col-9 text-end fw-bold">
<asp:Label runat="server" ID="lblBadge" Text='<%# Eval("CodArticolo") %>' />
</div>
</div>
@@ -34,7 +34,7 @@
<div class="card bg-black p-0 rCBot">
<div class='row justify-content-center mx-0'>
<div class="col-12 px-1">
<h4 class="text-start mb-0 font-weight-bold">
<h4 class="text-start mb-0 fw-bold">
<asp:Label runat="server" ID="lblTitle" Text='<%# Eval("Nome") %>' /></h4>
</div>
<div class='col-12 p-1 <%# Eval("Semaforo") %>'>
+75 -77
View File
@@ -1,86 +1,84 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_regScarti.ascx.cs" Inherits="MoonProTablet.WebUserControls.mod_regScarti" %>
<div class="card">
<div class="card-header p-0">
<div class="row">
<div class="col-12">
<asp:Label runat="server" ID="lblConfScarti" CssClass="btn btn-info btn-lg w-100 disabled">
<i class="fa fa-bug"></i> Registra SCARTI
</asp:Label>
<asp:Label runat="server" ID="lblMancaODL" Visible="false" ForeColor="Red">MANCA ODL: registrazione scarti produzione NON permessa</asp:Label>
<asp:LinkButton runat="server" ID="lbtShowScarti" OnClick="lbtShowContr_Click" CssClass="btn btn-info btn-lg w-100">
<i class="fa fa-bug"></i>
<asp:Label runat="server" ID="lblShowScarti" />
</asp:LinkButton>
</div>
<div class="col-12" runat="server" id="divSelMacc">
<asp:DropDownList runat="server" ID="ddlSubMacc" DataSourceID="odsMacc" CssClass="form-control" DataTextField="CodMaccArticolo" DataValueField="IdxMacchina" AutoPostBack="True" OnSelectedIndexChanged="ddlSubMacc_SelectedIndexChanged" OnDataBound="ddlSubMacc_DataBound"></asp:DropDownList>
<asp:ObjectDataSource runat="server" ID="odsMacc" OldValuesParameterFormatString="original_{0}" SelectMethod="getMulti" TypeName="MapoDb.DS_applicazioneTableAdapters.MSFDTableAdapter" FilterExpression="idxMacchina LIKE '%#%'">
<SelectParameters>
<asp:SessionParameter DefaultValue="0" Name="IdxMacchina" SessionField="IdxMacchina" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
</div>
<div class="card-body p-1 table-info text-dark">
<div class="row my-2 textCondens" runat="server" id="divDetail">
<div class="col-4 pr-0 font-weight-bold">
<div class="text-truncate">
Num Pz
</div>
<div class="my-0">
<div class="input-group input-group-lg">
<asp:TextBox runat="server" ID="txtNumPz" CssClass="form form-control text-end" TextMode="Number" />
<div class="input-group-append">
<asp:LinkButton runat="server" ID="lbtResetNumPz" CssClass="btn btn-outline-secondary" OnClick="lbtResetNumPz_Click"><i class="fa fa-ban"></i></asp:LinkButton>
</div>
</div>
</div>
</div>
<div class="col-4 pr-0 pl-1">
<div class="text-truncate">
Data
</div>
<div class="my-0">
<div class="input-group input-group-lg">
<asp:TextBox runat="server" ID="txtData" CssClass="form form-control" TextMode="Date" />
</div>
</div>
</div>
<div class="col-4 pl-0">
<div class="text-truncate">
Ora
</div>
<div class="my-0">
<div class="input-group input-group-lg">
<asp:TextBox runat="server" ID="txtOra" CssClass="form form-control" TextMode="Time" />
</div>
</div>
</div>
<div class="col-12">
<div class="input-group input-group-lg">
<asp:TextBox runat="server" ID="txtNote" CssClass="form form-control" placeholder="Note (opzionale)" />
</div>
</div>
<div class="col-12">
<div class="card-header p-0">
<div class="row">
<asp:Repeater ID="repLI" runat="server" DataSourceID="ods">
<ItemTemplate>
<div class="col-6 col-lg-4 col-xl-3 mt-2">
<asp:LinkButton ID="hlRegistra" runat="server" OnClick="hlRegistra_Click" CommandArgument='<%# Eval("value") %>' CssClass='<%# "btn w-100 btn-lg btn-" + Eval("cssClass")%>'>
<i class='<%# Eval("icona") %>'></i> <%# Eval("label") %>
<div class="col-12">
<asp:Label runat="server" ID="lblConfScarti" CssClass="btn btn-info btn-lg w-100 disabled">
<i class="fa fa-bug"></i> Registra SCARTI
</asp:Label>
<asp:Label runat="server" ID="lblMancaODL" Visible="false" ForeColor="Red">MANCA ODL: registrazione scarti produzione NON permessa</asp:Label>
<asp:LinkButton runat="server" ID="lbtShowScarti" OnClick="lbtShowContr_Click" CssClass="btn btn-info btn-lg w-100">
<i class="fa fa-bug"></i>
<asp:Label runat="server" ID="lblShowScarti" />
</asp:LinkButton>
</div>
</ItemTemplate>
</asp:Repeater>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="MapoDb.DS_UtilityTableAdapters.v_selCauScartoTableAdapter"></asp:ObjectDataSource>
</div>
<div class="col-12" runat="server" id="divSelMacc">
<asp:DropDownList runat="server" ID="ddlSubMacc" DataSourceID="odsMacc" CssClass="form-control" DataTextField="CodMaccArticolo" DataValueField="IdxMacchina" AutoPostBack="True" OnSelectedIndexChanged="ddlSubMacc_SelectedIndexChanged" OnDataBound="ddlSubMacc_DataBound"></asp:DropDownList>
<asp:ObjectDataSource runat="server" ID="odsMacc" OldValuesParameterFormatString="original_{0}" SelectMethod="getMulti" TypeName="MapoDb.DS_applicazioneTableAdapters.MSFDTableAdapter" FilterExpression="idxMacchina LIKE '%#%'">
<SelectParameters>
<asp:SessionParameter DefaultValue="0" Name="IdxMacchina" SessionField="IdxMacchina" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
</div>
<div class="card-body p-1 table-info text-dark">
<div class="row my-2 textCondens" runat="server" id="divDetail">
<div class="col-4 pr-0 fw-bold">
<div class="text-truncate">
Num Pz
</div>
<div class="my-0">
<div class="input-group input-group-lg">
<asp:TextBox runat="server" ID="txtNumPz" CssClass="form form-control text-end" TextMode="Number" />
<asp:LinkButton runat="server" ID="lbtResetNumPz" CssClass="btn btn-outline-secondary" OnClick="lbtResetNumPz_Click"><i class="fa fa-ban"></i></asp:LinkButton>
</div>
</div>
</div>
<div class="col-4 pr-0 pl-1">
<div class="text-truncate">
Data
</div>
<div class="my-0">
<div class="input-group input-group-lg">
<asp:TextBox runat="server" ID="txtData" CssClass="form form-control" TextMode="Date" />
</div>
</div>
</div>
<div class="col-4 pl-0">
<div class="text-truncate">
Ora
</div>
<div class="my-0">
<div class="input-group input-group-lg">
<asp:TextBox runat="server" ID="txtOra" CssClass="form form-control" TextMode="Time" />
</div>
</div>
</div>
<div class="col-12">
<div class="input-group input-group-lg">
<asp:TextBox runat="server" ID="txtNote" CssClass="form form-control" placeholder="Note (opzionale)" />
</div>
</div>
<div class="col-12">
<div class="row">
<asp:Repeater ID="repLI" runat="server" DataSourceID="ods">
<ItemTemplate>
<div class="col-6 col-lg-4 col-xl-3 mt-2">
<asp:LinkButton ID="hlRegistra" runat="server" OnClick="hlRegistra_Click" CommandArgument='<%# Eval("value") %>' CssClass='<%# "btn w-100 btn-lg btn-" + Eval("cssClass")%>'>
<i class='<%# Eval("icona") %>'></i> <%# Eval("label") %>
</asp:LinkButton>
</div>
</ItemTemplate>
</asp:Repeater>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="MapoDb.DS_UtilityTableAdapters.v_selCauScartoTableAdapter"></asp:ObjectDataSource>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row mb-2">
<div class="col-12">
<asp:Label runat="server" ID="lblOut" ForeColor="Red" />
</div>
<div class="col-12">
<asp:Label runat="server" ID="lblOut" ForeColor="Red" />
</div>
</div>
+75 -73
View File
@@ -1,158 +1,160 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
// <auto-generated>
// This code was generated by a tool.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MoonProTablet.WebUserControls {
public partial class mod_regScarti {
namespace MoonProTablet.WebUserControls
{
public partial class mod_regScarti
{
/// <summary>
/// Controllo lblConfScarti.
/// lblConfScarti control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblConfScarti;
/// <summary>
/// Controllo lblMancaODL.
/// lblMancaODL control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblMancaODL;
/// <summary>
/// Controllo lbtShowScarti.
/// lbtShowScarti control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtShowScarti;
/// <summary>
/// Controllo lblShowScarti.
/// lblShowScarti control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblShowScarti;
/// <summary>
/// Controllo divSelMacc.
/// divSelMacc control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divSelMacc;
/// <summary>
/// Controllo ddlSubMacc.
/// ddlSubMacc control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddlSubMacc;
/// <summary>
/// Controllo odsMacc.
/// odsMacc control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsMacc;
/// <summary>
/// Controllo divDetail.
/// divDetail control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divDetail;
/// <summary>
/// Controllo txtNumPz.
/// txtNumPz control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtNumPz;
/// <summary>
/// Controllo lbtResetNumPz.
/// lbtResetNumPz control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtResetNumPz;
/// <summary>
/// Controllo txtData.
/// txtData control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtData;
/// <summary>
/// Controllo txtOra.
/// txtOra control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtOra;
/// <summary>
/// Controllo txtNote.
/// txtNote control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtNote;
/// <summary>
/// Controllo repLI.
/// repLI control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Repeater repLI;
/// <summary>
/// Controllo ods.
/// ods control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary>
/// Controllo lblOut.
/// lblOut control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblOut;
}
+10 -14
View File
@@ -1,19 +1,15 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_selPeriodo.ascx.cs" Inherits="MoonProTablet.WebUserControls.mod_selPeriodo" %>
<div class="input-group input-group-sm">
<div class="input-group-prepend">
<asp:DropDownList ID="ddlSelPeriodo" runat="server" AutoPostBack="True" class="input-group-text" OnSelectedIndexChanged="ddlSelPeriodo_SelectedIndexChanged" DataSourceID="ods_ddlSelPeriodo" DataTextField="label" DataValueField="value">
</asp:DropDownList>
<asp:ObjectDataSource ID="ods_ddlSelPeriodo" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="MapoDb.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="All" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="SelPeriodo" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
<asp:DropDownList ID="ddlSelPeriodo" runat="server" AutoPostBack="True" class="form-select" OnSelectedIndexChanged="ddlSelPeriodo_SelectedIndexChanged" DataSourceID="ods_ddlSelPeriodo" DataTextField="label" DataValueField="value">
</asp:DropDownList>
<asp:ObjectDataSource ID="ods_ddlSelPeriodo" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="MapoDb.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="All" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="SelPeriodo" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:TextBox ID="txtInizio" runat="server" MaxLength="10" AutoPostBack="True" OnTextChanged="txtInizio_TextChanged" CssClass="form-control" TextMode="Date" />
<asp:TextBox ID="txtFine" runat="server" MaxLength="10" AutoPostBack="True" OnTextChanged="txtFine_TextChanged" CssClass="form-control" TextMode="Date" />
<div class="input-group-append">
<asp:Button ID="btnUpdate" CssClass="btn btn-success btn-sm" runat="server" Text="update" Visible="false" OnClick="btnUpdate_Click" />
</div>
</div>
<asp:Button ID="btnUpdate" CssClass="btn btn-success btn-sm" runat="server" Text="update" Visible="false" OnClick="btnUpdate_Click" />
</div>
+94 -87
View File
@@ -1,93 +1,100 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_sendParameters.ascx.cs" Inherits="MoonProTablet.WebUserControls.mod_sendParameters" %>
<div class="row my-2 small">
<div class="col-12 text-center">
<div class="card">
<div class="card-header bg-secondary text-warning px-2 py-1">
<div class="d-flex">
<div class="mr-auto p-2">
<h4>GESTIONE PARAMETRI MACCHINA</h4>
</div>
<div class="p-2">
<asp:LinkButton runat="server" ID="lbtReload" CssClass="btn btn-sm btn-primary" OnClick="lbtReload_Click"><i class="fa fa-refresh" aria-hidden="true"></i></asp:LinkButton>
</div>
<div class="col-12 text-center">
<div class="card">
<div class="card-header bg-secondary text-warning px-2 py-1">
<div class="d-flex">
<div class="mr-auto p-2">
<h4>GESTIONE PARAMETRI MACCHINA</h4>
</div>
<div class="p-2">
<asp:LinkButton runat="server" ID="lbtReload" CssClass="btn btn-sm btn-primary" OnClick="lbtReload_Click"><i class="fa fa-refresh" aria-hidden="true"></i></asp:LinkButton>
</div>
</div>
</div>
<div class="card-body text-dark">
<i>Elenco parametri di configurazione ammessi per l'impianto</i>
<asp:GridView ID="grView" runat="server" DataSourceID="ods" AutoGenerateColumns="False" CssClass="table table-sm table-striped" DataKeyNames="uid" OnRowUpdating="grView_RowUpdating" OnRowEditing="grView_RowEditing">
<EmptyDataTemplate>Nessun parametro disponibile</EmptyDataTemplate>
<Columns>
<asp:TemplateField HeaderText="Parametro" SortExpression="name">
<ItemTemplate>
<div class="row">
<div class="col text-start">
<div class="fw-bold text-uppercase">
<asp:Label ID="lblDescr" runat="server" Text='<%# Eval("description") %>' />
</div>
<div class="small">
<sup>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("name") %>' /></sup>
</div>
</div>
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Valore" SortExpression="value">
<ItemTemplate>
<div class="row" runat="server" id="divRequest" visible='<%# !string.IsNullOrEmpty(Eval("reqValue").ToString()) %>'>
<div class="col-12">
<div class="fw-bold text-primary">
<i class="fa fa-hand-o-right" aria-hidden="true"></i>
<asp:Label ID="Label2" runat="server" Text='<%# Eval("reqValue") %>' />&nbsp;
</div>
<div class="fw-light fst-italic my-0">
<small>
<asp:Label ID="Label3" runat="server" Text='<%# Eval("lastRequest","{0:yyyy-MM-dd HH:mm:ss}") %>' />
</small>
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<div class="fw-bold">
<asp:Label ID="lblValue" runat="server" Text='<%# Eval("value") %>' />&nbsp;
</div>
<div class="fw-light fst-italic my-0">
<small>
<asp:Label ID="lblLastRead" runat="server" Text='<%# Eval("lastRead","{0:yyyy-MM-dd HH:mm:ss}") %>' />
</small>
</div>
</div>
</div>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="txtReqValue" runat="server" Text='<%# Bind("reqValue") %>' CssClass="form form-control form-control-sm" />
<div class="row">
<div class="col-12">
<div class="fw-bold">
<asp:Label ID="lblValue" runat="server" Text='<%# Eval("value") %>' />&nbsp;
</div>
<div class="fw-light fst-italic my-0">
<small>
<asp:Label ID="lblLastRead" runat="server" Text='<%# Eval("lastRead","{0:yyyy-MM-dd HH:mm:ss}") %>' />
</small>
</div>
</div>
</div>
</EditItemTemplate>
</asp:TemplateField>
<asp:TemplateField ShowHeader="False">
<ItemTemplate>
<asp:LinkButton ID="lbtEdit" runat="server" CausesValidation="False" CommandName="Edit" CssClass="btn btn-sm btn-info" Visible='<%# Eval("writable") %>'><i class="fa fa-pencil" aria-hidden="true"></i></asp:LinkButton>
</ItemTemplate>
<EditItemTemplate>
<asp:LinkButton ID="lbtSave" runat="server" CausesValidation="False" CommandName="Update" CssClass="btn btn-sm btn-success"><i class="fa fa-check" aria-hidden="true"></i></asp:LinkButton>
<asp:LinkButton ID="lbtCancel" runat="server" CausesValidation="False" CommandName="Cancel" CssClass="btn btn-sm btn-danger"><i class="fa fa-ban" aria-hidden="true"></i></asp:LinkButton>
</EditItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" TypeName="MoonProTablet.WebUserControls.mod_sendParameters" SelectMethod="GetParameters" OldValuesParameterFormatString="Original_{0}" UpdateMethod="updateParameter">
<UpdateParameters>
<asp:Parameter Name="Original_uid" Type="String" />
<asp:Parameter Name="reqValue" Type="String" />
</UpdateParameters>
</asp:ObjectDataSource>
</div>
</div>
</div>
<div class="card-body text-dark">
<i>Elenco parametri di configurazione ammessi per l'impianto</i>
<asp:GridView ID="grView" runat="server" DataSourceID="ods" AutoGenerateColumns="False" CssClass="table table-sm table-striped" DataKeyNames="uid" OnRowUpdating="grView_RowUpdating" OnRowEditing="grView_RowEditing">
<EmptyDataTemplate>Nessun parametro disponibile</EmptyDataTemplate>
<Columns>
<asp:TemplateField HeaderText="Parametro" SortExpression="name">
<ItemTemplate>
<div class="row">
<div class="col text-start">
<div class="font-weight-bold text-uppercase">
<asp:Label ID="lblDescr" runat="server" Text='<%# Eval("description") %>' />
</div>
<div class="small">
<sup><asp:Label ID="Label1" runat="server" Text='<%# Eval("name") %>' /></sup>
</div>
</div>
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Valore" SortExpression="value">
<ItemTemplate>
<div class="row" runat="server" id="divRequest" visible='<%# !string.IsNullOrEmpty(Eval("reqValue").ToString()) %>'>
<div class="col-12">
<div class="font-weight-bold text-primary">
<i class="fa fa-hand-o-right" aria-hidden="true"></i>
<asp:Label ID="Label2" runat="server" Text='<%# Eval("reqValue") %>' />&nbsp;
</div>
<div class="font-weight-light font-italic small my-0">
<asp:Label ID="Label3" runat="server" Text='<%# Eval("lastRequest","{0:yyyy-MM-dd HH:mm:ss}") %>' />
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<div class="font-weight-bold">
<asp:Label ID="lblValue" runat="server" Text='<%# Eval("value") %>' />&nbsp;
</div>
<div class="font-weight-light font-italic small my-0">
<asp:Label ID="lblLastRead" runat="server" Text='<%# Eval("lastRead","{0:yyyy-MM-dd HH:mm:ss}") %>' />
</div>
</div>
</div>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="txtReqValue" runat="server" Text='<%# Bind("reqValue") %>' CssClass="form form-control form-control-sm" />
<div class="row">
<div class="col-12">
<div class="font-weight-bold">
<asp:Label ID="lblValue" runat="server" Text='<%# Eval("value") %>' />&nbsp;
</div>
<div class="font-weight-light font-italic small my-0">
<asp:Label ID="lblLastRead" runat="server" Text='<%# Eval("lastRead","{0:yyyy-MM-dd HH:mm:ss}") %>' />
</div>
</div>
</div>
</EditItemTemplate>
</asp:TemplateField>
<asp:TemplateField ShowHeader="False">
<ItemTemplate>
<asp:LinkButton ID="lbtEdit" runat="server" CausesValidation="False" CommandName="Edit" CssClass="btn btn-sm btn-info" Visible='<%# Eval("writable") %>'><i class="fa fa-pencil" aria-hidden="true"></i></asp:LinkButton>
</ItemTemplate>
<EditItemTemplate>
<asp:LinkButton ID="lbtSave" runat="server" CausesValidation="False" CommandName="Update" CssClass="btn btn-sm btn-success"><i class="fa fa-check" aria-hidden="true"></i></asp:LinkButton>
<asp:LinkButton ID="lbtCancel" runat="server" CausesValidation="False" CommandName="Cancel" CssClass="btn btn-sm btn-danger"><i class="fa fa-ban" aria-hidden="true"></i></asp:LinkButton>
</EditItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" TypeName="MoonProTablet.WebUserControls.mod_sendParameters" SelectMethod="GetParameters" OldValuesParameterFormatString="Original_{0}" UpdateMethod="updateParameter">
<UpdateParameters>
<asp:Parameter Name="Original_uid" Type="String" />
<asp:Parameter Name="reqValue" Type="String" />
</UpdateParameters>
</asp:ObjectDataSource>
</div>
</div>
</div>
</div>
+65 -68
View File
@@ -1,75 +1,72 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_slideMenu.ascx.cs" Inherits="MoonProTablet.WebUserControls.mod_slideMenu" %>
<div class="row">
<div class="col-12">
<script type="text/javascript">
//function closeModal() {
// $('#MainSideMenu').modal('hide');
// $('#btnClose').click();
//}
function openTemp() {
$('#MainSideMenu').modal('toggle');
myVar = setTimeout(closeModal, 10000);
function closeModal() {
$('#MainSideMenu').modal('hide');
clearTimeout(myVar);
}
}
</script>
<div class="modal fade text-dark" id="MainSideMenu" tabindex="-1" role="dialog" aria-labelledby="MainSideMenu" aria-hidden="true">
<div class="modal-dialog modal-dialog-slideout modal-sm" role="document">
<div class="modal-content">
<div class="modal-header">
<div class="d-flex flex-row">
<div class="p-0">
<asp:Image ID="Image1" ImageUrl="../images/logoSteamware.png" runat="server" Height="40px" CssClass="img-fluid" />
</div>
<div class="p-0 pl-1">
<div class="flex-row">
<h5 class="modal-title">Steamware</h5>
</div>
<div class="flex-row">
<small>Main Menu</small>
</div>
</div>
</div>
<button id="btnClose" type="button" class="close" data-dismiss="modal" aria-label="Close">
<div class="col-12">
<script type="text/javascript">
function openTemp() {
$('#MainSideMenu').modal('toggle');
myVar = setTimeout(closeModal, 10000);
function closeModal() {
$('#MainSideMenu').modal('hide');
clearTimeout(myVar);
}
}
</script>
<div class="modal fade text-dark" id="MainSideMenu" tabindex="-1" role="dialog" aria-labelledby="MainSideMenu" aria-hidden="true">
<div class="modal-dialog modal-dialog-slideout modal-sm" role="document">
<div class="modal-content">
<div class="modal-header">
<div class="d-flex flex-row">
<div class="p-0">
<asp:Image ID="Image1" ImageUrl="../images/logoSteamware.png" runat="server" Height="40px" CssClass="img-fluid" />
</div>
<div class="p-0 pl-1">
<div class="flex-row">
<h5 class="modal-title">EgalWare</h5>
</div>
<div class="flex-row">
<small>Main Menu</small>
</div>
</div>
</div>
<%--<button id="btnClose" type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true" class="text-secondary">x</span>
</button>
</div>
<div class="modal-body">
<div class="d-flex flex-row">
<div class="p-2">
<b class="text-danger">LINK DIRETTI</b>
</div>
</button>--%>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="d-flex flex-row">
<div class="p-2">
<b class="text-danger">LINK DIRETTI</b>
</div>
</div>
<div class="d-flex flex-column">
<div class="list-group">
<asp:Repeater ID="repLI" runat="server" DataSourceID="ods">
<ItemTemplate>
<asp:HyperLink runat="server" ID="btnMenuItem" CssClass='<%# checkPage(Eval("NavigateUrl")) %>' NavigateUrl='<%# Eval("NavigateUrl") %>'><i class='fa fa-lg <%# Eval("icona") %>'></i> <%# Eval("Testo") %></asp:HyperLink>
</ItemTemplate>
</asp:Repeater>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTipo" TypeName="MapoDb.DS_applicazioneTableAdapters.LinkMenuJQMTableAdapter">
<SelectParameters>
<asp:SessionParameter DefaultValue="-" Name="TipoLink" SessionField="TipoLink" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary w-100" data-bs-dismiss="modal" aria-label="Close">Chiudi</button>
</div>
</div>
</div>
<div class="d-flex flex-column">
<div class="list-group">
<asp:Repeater ID="repLI" runat="server" DataSourceID="ods">
<ItemTemplate>
<asp:HyperLink runat="server" ID="btnMenuItem" CssClass='<%# checkPage(Eval("NavigateUrl")) %>' NavigateUrl='<%# Eval("NavigateUrl") %>'><i class='fa fa-lg <%# Eval("icona") %>'></i> <%# Eval("Testo") %></asp:HyperLink>
</ItemTemplate>
</asp:Repeater>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTipo" TypeName="MapoDb.DS_applicazioneTableAdapters.LinkMenuJQMTableAdapter">
<SelectParameters>
<asp:SessionParameter DefaultValue="-" Name="TipoLink" SessionField="TipoLink" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary w-100" data-dismiss="modal">Chiudi</button>
</div>
</div>
</div>
<div class="d-flex flex-row">
<div class="p-0">
<button class="btn btn-link text-light" type="button" onclick="openTemp()">
<span class="fa fa-bars fa-lg"></span>
</button>
</div>
<div class="py-2 ml-auto small"><%: string.Format("{0:ddd dd MMM yyyy}",DateTime.Now) %></div>
</div>
</div>
<div class="d-flex flex-row">
<div class="p-0">
<button class="btn btn-link text-light" type="button" onclick="openTemp()">
<span class="fa fa-bars fa-lg"></span>
</button>
</div>
<div class="py-2 ml-auto small"><%: string.Format("{0:ddd dd MMM yyyy}",DateTime.Now) %></div>
</div>
</div>
</div>
+23 -21
View File
@@ -1,41 +1,43 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
// <auto-generated>
// This code was generated by a tool.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MoonProTablet.WebUserControls {
public partial class mod_slideMenu {
namespace MoonProTablet.WebUserControls
{
public partial class mod_slideMenu
{
/// <summary>
/// Controllo Image1.
/// Image1 control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Image Image1;
/// <summary>
/// Controllo repLI.
/// repLI control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Repeater repLI;
/// <summary>
/// Controllo ods.
/// ods control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
}