fix modalità "disabled" nel css

continuo editing dettaglio impegno
This commit is contained in:
Samuele E. Locatelli
2015-05-06 16:57:02 +02:00
parent 1aae663c49
commit 10939180af
27 changed files with 263 additions and 364 deletions
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -165,7 +165,7 @@
.calendar_white_shadow_inner {
background-color: #666666;
opacity: 0.5;
filter: alpha(opacity=50);
filter: Alpha(Opacity=70);
height: 100%;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
+1 -1
View File
@@ -270,7 +270,7 @@
{
background-color: #666666;
opacity: 0.5;
filter: alpha(opacity=50);
filter: Alpha(Opacity=70);
height: 100%;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
+1 -1
View File
@@ -1 +1 @@
.greenBox{background-color:#c3ffc3;border:1px solid #00a400;color:#333}.yellowBox{background-color:#ffffb6;border:1px solid #b1b100;color:#333}.orangeBox{background-color:#ffa05b;border:1px solid #be5100;color:#333}.redBox{background-color:#ff9c9c;border:1px solid #cb0000;color:#333}.grayBox{background-color:#d6d6d6;border:1px solid #707070;color:#333}.calendar_white_main{border:1px solid #999}.calendar_white_scroll_up{background:url(calendar_white/up.png)}.calendar_white_scroll_down{background:url(calendar_white/down.png)}.calendar_white_rowheader_inner,.calendar_white_cornerright_inner,.calendar_white_corner_inner,.calendar_white_colheader_inner,.calendar_white_alldayheader_inner{color:#666;background:#eee;background:-moz-linear-gradient(top,#eee 0%,#ddd);background:-webkit-gradient(linear,left top,left bottom,from(#eee),to(#ddd));filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr="#eeeeee",endColorStr="#dddddd")}.calendar_white_cornerright_inner{position:absolute;top:0;left:0;bottom:0;right:0;border-bottom:1px solid #999}.calendar_white_rowheader_inner{font-size:16pt;text-align:right;position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #999;border-bottom:1px solid #999}.calendar_white_corner_inner{position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #999;border-bottom:1px solid #999}.calendar_white_rowheader_minutes{font-size:10px;vertical-align:super;padding-left:2px;padding-right:2px}.calendar_white_colheader_inner{text-align:center;position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #999;border-bottom:1px solid #999}.calendar_white_cell_inner{position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #ddd;border-bottom:1px solid #ddd;background-color:#fff}.calendar_white_alldayheader_inner{text-align:center;position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #999;border-bottom:1px solid #999}.calendar_white_message{opacity:.9;filter:alpha(opacity=90);padding:10px;color:#fff;background:#ffa216;background:-moz-linear-gradient(top,#ffa216 0%,#ff8400);background:-webkit-gradient(linear,left top,left bottom,from(#ffa216),to(#ff8400));filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffa216",endColorStr="#ff8400")}.calendar_white_alldayevent_inner,.calendar_white_event_inner{color:#666;background:#fff;background:-moz-linear-gradient(top,#fff 0%,#eee);background:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#eee));filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff",endColorStr="#eeeeee");border:1px solid #999;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-box-shadow:0 2px 3px rgba(0,0,0,.3),inset 0 0 2px rgba(255,255,255,.8);-webkit-box-shadow:0 2px 3px rgba(0,0,0,.3),inset 0 0 2px rgba(255,255,255,.8);box-shadow:0 2px 3px rgba(0,0,0,.3),inset 0 0 2px rgba(255,255,255,.8)}.calendar_white_selected .calendar_white_event_inner{background:#ddd}.calendar_white_alldayevent_inner{position:absolute;top:2px;bottom:2px;left:2px;right:1px;padding:2px;margin-right:1px;font-size:12px}.calendar_white_event_withheader .calendar_white_event_inner{padding-top:15px}.calendar_white_event{cursor:default}.calendar_white_event_inner{position:absolute;overflow:hidden;top:0;bottom:2px;left:2px;right:0;padding:2px;font-size:12px}.calendar_white_shadow_inner{background-color:#666;opacity:.5;filter:alpha(opacity=50);height:100%;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}
.greenBox{background-color:#c3ffc3;border:1px solid #00a400;color:#333}.yellowBox{background-color:#ffffb6;border:1px solid #b1b100;color:#333}.orangeBox{background-color:#ffa05b;border:1px solid #be5100;color:#333}.redBox{background-color:#ff9c9c;border:1px solid #cb0000;color:#333}.grayBox{background-color:#d6d6d6;border:1px solid #707070;color:#333}.calendar_white_main{border:1px solid #999}.calendar_white_scroll_up{background:url(calendar_white/up.png)}.calendar_white_scroll_down{background:url(calendar_white/down.png)}.calendar_white_rowheader_inner,.calendar_white_cornerright_inner,.calendar_white_corner_inner,.calendar_white_colheader_inner,.calendar_white_alldayheader_inner{color:#666;background:#eee;background:-moz-linear-gradient(top,#eee 0%,#ddd);background:-webkit-gradient(linear,left top,left bottom,from(#eee),to(#ddd));filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr="#eeeeee",endColorStr="#dddddd")}.calendar_white_cornerright_inner{position:absolute;top:0;left:0;bottom:0;right:0;border-bottom:1px solid #999}.calendar_white_rowheader_inner{font-size:16pt;text-align:right;position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #999;border-bottom:1px solid #999}.calendar_white_corner_inner{position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #999;border-bottom:1px solid #999}.calendar_white_rowheader_minutes{font-size:10px;vertical-align:super;padding-left:2px;padding-right:2px}.calendar_white_colheader_inner{text-align:center;position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #999;border-bottom:1px solid #999}.calendar_white_cell_inner{position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #ddd;border-bottom:1px solid #ddd;background-color:#fff}.calendar_white_alldayheader_inner{text-align:center;position:absolute;top:0;left:0;bottom:0;right:0;border-right:1px solid #999;border-bottom:1px solid #999}.calendar_white_message{opacity:.9;filter:alpha(opacity=90);padding:10px;color:#fff;background:#ffa216;background:-moz-linear-gradient(top,#ffa216 0%,#ff8400);background:-webkit-gradient(linear,left top,left bottom,from(#ffa216),to(#ff8400));filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffa216",endColorStr="#ff8400")}.calendar_white_alldayevent_inner,.calendar_white_event_inner{color:#666;background:#fff;background:-moz-linear-gradient(top,#fff 0%,#eee);background:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#eee));filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff",endColorStr="#eeeeee");border:1px solid #999;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-box-shadow:0 2px 3px rgba(0,0,0,.3),inset 0 0 2px rgba(255,255,255,.8);-webkit-box-shadow:0 2px 3px rgba(0,0,0,.3),inset 0 0 2px rgba(255,255,255,.8);box-shadow:0 2px 3px rgba(0,0,0,.3),inset 0 0 2px rgba(255,255,255,.8)}.calendar_white_selected .calendar_white_event_inner{background:#ddd}.calendar_white_alldayevent_inner{position:absolute;top:2px;bottom:2px;left:2px;right:1px;padding:2px;margin-right:1px;font-size:12px}.calendar_white_event_withheader .calendar_white_event_inner{padding-top:15px}.calendar_white_event{cursor:default}.calendar_white_event_inner{position:absolute;overflow:hidden;top:0;bottom:2px;left:2px;right:0;padding:2px;font-size:12px}.calendar_white_shadow_inner{background-color:#666;opacity:.5;filter:Alpha(Opacity=70);height:100%;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}
+8 -8
View File
@@ -899,8 +899,8 @@ html .ui-alt-icon .ui-radio-off:after {
}
.ui-checkbox-off:after,
.ui-btn.ui-radio-off:after {
filter: Alpha(Opacity=30);
opacity: .3;
filter: Alpha(Opacity=70);
opacity: .7;
}
.ui-btn.ui-checkbox-off:after,
.ui-btn.ui-checkbox-on:after {
@@ -1261,8 +1261,8 @@ html head + body .ui-body-b.ui-focus {
.ui-state-disabled,
button[disabled],
.ui-select .ui-btn.ui-state-disabled {
filter: Alpha(Opacity=30);
opacity: .3;
filter: Alpha(Opacity=70);
opacity: .7;
cursor: default !important;
pointer-events: none;
}
@@ -3098,7 +3098,7 @@ fieldset.ui-controlgroup {
}
.ui-popup-screen.in {
opacity: 0.5;
filter: Alpha(Opacity=50);
filter: Alpha(Opacity=70);
}
.ui-popup-screen.out {
opacity: 0;
@@ -4164,8 +4164,8 @@ textarea.ui-mini {
background-repeat: no-repeat;
width: 14px;
height: 14px;
filter: Alpha(Opacity=50);
opacity: .5;
filter: Alpha(Opacity=70);
opacity: .7;
}
.ui-input-search.ui-input-has-clear .ui-btn.ui-input-clear,
.ui-input-text.ui-input-has-clear .ui-btn.ui-input-clear {
@@ -4319,7 +4319,7 @@ html .ui-popup .ui-field-contain > label + .ui-flipswitch {
.ui-table caption {
text-align: left;
margin-bottom: 1.4em;
opacity: .5;
opacity: .7;
}
/*
Styles for the table columntoggle mode
File diff suppressed because one or more lines are too long
@@ -542,8 +542,8 @@ html .ui-alt-icon .ui-radio-off:after {
}
.ui-checkbox-off:after,
.ui-btn.ui-radio-off:after {
filter: Alpha(Opacity=30);
opacity: .3;
filter: Alpha(Opacity=70);
opacity: .7;
}
.ui-btn.ui-checkbox-off:after,
.ui-btn.ui-checkbox-on:after {
@@ -904,8 +904,8 @@ html head + body .ui-body-b.ui-focus {
.ui-state-disabled,
button[disabled],
.ui-select .ui-btn.ui-state-disabled {
filter: Alpha(Opacity=30);
opacity: .3;
filter: Alpha(Opacity=70);
opacity: .7;
cursor: default !important;
pointer-events: none;
}
@@ -2741,7 +2741,7 @@ fieldset.ui-controlgroup {
}
.ui-popup-screen.in {
opacity: 0.5;
filter: Alpha(Opacity=50);
filter: Alpha(Opacity=70);
}
.ui-popup-screen.out {
opacity: 0;
@@ -3807,8 +3807,8 @@ textarea.ui-mini {
background-repeat: no-repeat;
width: 14px;
height: 14px;
filter: Alpha(Opacity=50);
opacity: .5;
filter: Alpha(Opacity=70);
opacity: .7;
}
.ui-input-search.ui-input-has-clear .ui-btn.ui-input-clear,
.ui-input-text.ui-input-has-clear .ui-btn.ui-input-clear {
@@ -3962,7 +3962,7 @@ html .ui-popup .ui-field-contain > label + .ui-flipswitch {
.ui-table caption {
text-align: left;
margin-bottom: 1.4em;
opacity: .5;
opacity: .7;
}
/*
Styles for the table columntoggle mode
File diff suppressed because one or more lines are too long
@@ -542,8 +542,8 @@ html .ui-alt-icon .ui-radio-off:after {
}
.ui-checkbox-off:after,
.ui-btn.ui-radio-off:after {
filter: Alpha(Opacity=30);
opacity: .3;
filter: Alpha(Opacity=70);
opacity: .7;
}
.ui-btn.ui-checkbox-off:after,
.ui-btn.ui-checkbox-on:after {
@@ -904,8 +904,8 @@ html head + body .ui-body-b.ui-focus {
.ui-state-disabled,
button[disabled],
.ui-select .ui-btn.ui-state-disabled {
filter: Alpha(Opacity=30);
opacity: .3;
filter: Alpha(Opacity=70);
opacity: .7;
cursor: default !important;
pointer-events: none;
}
@@ -2741,7 +2741,7 @@ fieldset.ui-controlgroup {
}
.ui-popup-screen.in {
opacity: 0.5;
filter: Alpha(Opacity=50);
filter: Alpha(Opacity=70);
}
.ui-popup-screen.out {
opacity: 0;
@@ -3807,8 +3807,8 @@ textarea.ui-mini {
background-repeat: no-repeat;
width: 14px;
height: 14px;
filter: Alpha(Opacity=50);
opacity: .5;
filter: Alpha(Opacity=70);
opacity: .7;
}
.ui-input-search.ui-input-has-clear .ui-btn.ui-input-clear,
.ui-input-text.ui-input-has-clear .ui-btn.ui-input-clear {
@@ -3962,7 +3962,7 @@ html .ui-popup .ui-field-contain > label + .ui-flipswitch {
.ui-table caption {
text-align: left;
margin-bottom: 1.4em;
opacity: .5;
opacity: .7;
}
/*
Styles for the table columntoggle mode
File diff suppressed because one or more lines are too long
@@ -542,8 +542,8 @@ html .ui-alt-icon .ui-radio-off:after {
}
.ui-checkbox-off:after,
.ui-btn.ui-radio-off:after {
filter: Alpha(Opacity=30);
opacity: .3;
filter: Alpha(Opacity=70);
opacity: .7;
}
.ui-btn.ui-checkbox-off:after,
.ui-btn.ui-checkbox-on:after {
@@ -904,8 +904,8 @@ html head + body .ui-body-b.ui-focus {
.ui-state-disabled,
button[disabled],
.ui-select .ui-btn.ui-state-disabled {
filter: Alpha(Opacity=30);
opacity: .3;
filter: Alpha(Opacity=70);
opacity: .7;
cursor: default !important;
pointer-events: none;
}
@@ -2741,7 +2741,7 @@ fieldset.ui-controlgroup {
}
.ui-popup-screen.in {
opacity: 0.5;
filter: Alpha(Opacity=50);
filter: Alpha(Opacity=70);
}
.ui-popup-screen.out {
opacity: 0;
@@ -3807,8 +3807,8 @@ textarea.ui-mini {
background-repeat: no-repeat;
width: 14px;
height: 14px;
filter: Alpha(Opacity=50);
opacity: .5;
filter: Alpha(Opacity=70);
opacity: .7;
}
.ui-input-search.ui-input-has-clear .ui-btn.ui-input-clear,
.ui-input-text.ui-input-has-clear .ui-btn.ui-input-clear {
@@ -3962,7 +3962,7 @@ html .ui-popup .ui-field-contain > label + .ui-flipswitch {
.ui-table caption {
text-align: left;
margin-bottom: 1.4em;
opacity: .5;
opacity: .7;
}
/*
Styles for the table columntoggle mode
File diff suppressed because one or more lines are too long
@@ -1817,7 +1817,7 @@ fieldset.ui-controlgroup {
}
.ui-popup-screen.in {
opacity: 0.5;
filter: Alpha(Opacity=50);
filter: Alpha(Opacity=70);
}
.ui-popup-screen.out {
opacity: 0;
@@ -2883,8 +2883,8 @@ textarea.ui-mini {
background-repeat: no-repeat;
width: 14px;
height: 14px;
filter: Alpha(Opacity=50);
opacity: .5;
filter: Alpha(Opacity=70);
opacity: .7;
}
.ui-input-search.ui-input-has-clear .ui-btn.ui-input-clear,
.ui-input-text.ui-input-has-clear .ui-btn.ui-input-clear {
@@ -3038,7 +3038,7 @@ html .ui-popup .ui-field-contain > label + .ui-flipswitch {
.ui-table caption {
text-align: left;
margin-bottom: 1.4em;
opacity: .5;
opacity: .7;
}
/*
Styles for the table columntoggle mode
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -186,8 +186,8 @@ html .ui-alt-icon .ui-radio-off:after {
}
.ui-checkbox-off:after,
.ui-btn.ui-radio-off:after {
filter: Alpha(Opacity=30);
opacity: .3;
filter: Alpha(Opacity=70);
opacity: .7;
}
.ui-btn.ui-checkbox-off:after,
.ui-btn.ui-checkbox-on:after {
@@ -548,8 +548,8 @@ html head + body .ui-body-b.ui-focus {
.ui-state-disabled,
button[disabled],
.ui-select .ui-btn.ui-state-disabled {
filter: Alpha(Opacity=30);
opacity: .3;
filter: Alpha(Opacity=70);
opacity: .7;
cursor: default !important;
pointer-events: none;
}
File diff suppressed because one or more lines are too long
+211 -283
View File
@@ -1,298 +1,224 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_dettImpegno.ascx.cs" Inherits="WebSCR.WebUserControls.mod_dettImpegno" %>
<div class="ui-mini">
<div class="ui-mini ui-field-contain">
<asp:FormView ID="frmView" runat="server" DataKeyNames="IdxImpegno" DataSourceID="odsImpegni">
<EditItemTemplate>
IdxImpegno:
<asp:Label ID="IdxImpegnoLabel1" runat="server" Text='<%# Eval("IdxImpegno") %>' />
<br />
DataOra:
<asp:TextBox ID="DataOraTextBox" runat="server" Text='<%# Bind("DataOra") %>' />
<br />
TipoOrario:
<asp:TextBox ID="TipoOrarioTextBox" runat="server" Text='<%# Bind("TipoOrario") %>' />
<br />
CodCliente:
<asp:TextBox ID="CodClienteTextBox" runat="server" Text='<%# Bind("CodCliente") %>' />
<br />
Cognome:
<asp:TextBox ID="CognomeTextBox" runat="server" Text='<%# Bind("Cognome") %>' />
<br />
Nome:
<asp:TextBox ID="NomeTextBox" runat="server" Text='<%# Bind("Nome") %>' />
<br />
CodFis:
<asp:TextBox ID="CodFisTextBox" runat="server" Text='<%# Bind("CodFis") %>' />
<br />
CodSquadra:
<asp:TextBox ID="CodSquadraTextBox" runat="server" Text='<%# Bind("CodSquadra") %>' />
<br />
DescrSquadra:
<asp:TextBox ID="DescrSquadraTextBox" runat="server" Text='<%# Bind("DescrSquadra") %>' />
<br />
Elettrod:
<asp:CheckBox ID="ElettrodCheckBox" runat="server" Checked='<%# Bind("Elettrod") %>' />
<br />
Clima:
<asp:CheckBox ID="ClimaCheckBox" runat="server" Checked='<%# Bind("Clima") %>' />
<br />
Inform:
<asp:CheckBox ID="InformCheckBox" runat="server" Checked='<%# Bind("Inform") %>' />
<br />
Indir:
<asp:TextBox ID="IndirTextBox" runat="server" Text='<%# Bind("Indir") %>' />
<br />
Cap:
<asp:TextBox ID="CapTextBox" runat="server" Text='<%# Bind("Cap") %>' />
<br />
Localita:
<asp:TextBox ID="LocalitaTextBox" runat="server" Text='<%# Bind("Localita") %>' />
<br />
Prov:
<asp:TextBox ID="ProvTextBox" runat="server" Text='<%# Bind("Prov") %>' />
<br />
idxZona:
<asp:TextBox ID="idxZonaTextBox" runat="server" Text='<%# Bind("idxZona") %>' />
<br />
MinTotCons:
<asp:TextBox ID="MinTotConsTextBox" runat="server" Text='<%# Bind("MinTotCons") %>' />
<br />
MinViaggio:
<asp:TextBox ID="MinViaggioTextBox" runat="server" Text='<%# Bind("MinViaggio") %>' />
<br />
FinePrev:
<asp:TextBox ID="FinePrevTextBox" runat="server" Text='<%# Bind("FinePrev") %>' />
<br />
NoteGen:
<asp:TextBox ID="NoteGenTextBox" runat="server" Text='<%# Bind("NoteGen") %>' />
<br />
RifOC:
<asp:TextBox ID="RifOCTextBox" runat="server" Text='<%# Bind("RifOC") %>' />
<br />
UrlDoc:
<asp:TextBox ID="UrlDocTextBox" runat="server" Text='<%# Bind("UrlDoc") %>' />
<br />
NumOp:
<asp:TextBox ID="NumOpTextBox" runat="server" Text='<%# Bind("NumOp") %>' />
<br />
RitUsato:
<asp:CheckBox ID="RitUsatoCheckBox" runat="server" Checked='<%# Bind("RitUsato") %>' />
<br />
Ascensore:
<asp:CheckBox ID="AscensoreCheckBox" runat="server" Checked='<%# Bind("Ascensore") %>' />
<br />
PianoCons:
<asp:TextBox ID="PianoConsTextBox" runat="server" Text='<%# Bind("PianoCons") %>' />
<br />
UserMod:
<asp:TextBox ID="UserModTextBox" runat="server" Text='<%# Bind("UserMod") %>' />
<br />
DataMod:
<asp:TextBox ID="DataModTextBox" runat="server" Text='<%# Bind("DataMod") %>' />
<br />
<asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update" Text="Update" />
&nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel" />
<div>
<div class="ui-grid-b">
<div class="ui-block-a">
<asp:DropDownList runat="server" ID="ddlSquadra" DataSourceID="odsSquadre" DataTextField="DescrSquadra" DataValueField="CodSquadra" SelectedValue='<%# Eval("CodSquadra") %>'></asp:DropDownList>
</div>
<div class="ui-block-b" style="text-align: right;">
<asp:TextBox runat="server" ID="txtDataFrom" type="date" Text='<%# Eval("DataOra","{0:yyyyy-MM-dd}") %>' />
</div>
<div class="ui-block-c">
<asp:DropDownList runat="server" ID="ddlOrario" DataSourceID="odsOrario" DataTextField="Orario" DataValueField="Orario" SelectedValue='<%# Eval("DataOra","{0:HH:mm:00}") %>'></asp:DropDownList>
</div>
</div>
<div class="ui-grid-b">
<div class="ui-block-a">
<div class="ui-grid-a">
<div class="ui-block-a">
<label for="txtNumPers">num pers</label>
<asp:TextBox runat="server" ID="txtNumPers" placeholder="Num Op" Text='<%# Eval("NumOp") %>' />
</div>
<div class="ui-block-b">
<label for="chkRitUsato">rit. usato</label>
<br />
<asp:CheckBox ID="chkRitUsato" runat="server" Checked='<%# Eval("RitUsato") %>' />
</div>
</div>
</div>
<div class="ui-block-b">
<div class="ui-grid-a">
<div class="ui-block-a">
<label for="txtPiano">piano cons.</label>
<asp:TextBox runat="server" ID="txtPiano" placeholder="piano cons." Text='<%# Eval("PianoCons") %>' />
</div>
<div class="ui-block-b">
<label for="chkAscensore">ascensore</label>
<br />
<asp:CheckBox ID="chkAscensore" runat="server" Checked='<%# Eval("Ascensore") %>' />
</div>
</div>
</div>
<div class="ui-block-c">
<asp:DropDownList runat="server" ID="ddlTipoOrario" DataSourceID="odsTipoOrario" DataTextField="label" DataValueField="value"></asp:DropDownList>
<asp:ObjectDataSource ID="odsTipoOrario" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getValid" TypeName="WebSCR_data.DS_UtilityTableAdapters.ListValuesTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="Impegni" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="TipoOrario" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
<div class="ui-grid-a">
<div class="ui-block-a">
RifOC:
<asp:Label ID="RifOCLabel" runat="server" Text='<%# Bind("RifOC") %>' />
</div>
<div class="ui-block-b">
UrlDoc:
<asp:Label ID="UrlDocLabel" runat="server" Text='<%# Bind("UrlDoc") %>' />
</div>
</div>
<div class="ui-grid-b">
<div class="ui-block-a">
CodCliente:
<asp:Label ID="CodClienteLabel" runat="server" Text='<%# Bind("CodCliente") %>' />
<br />
Cognome:
<asp:Label ID="CognomeLabel" runat="server" Text='<%# Bind("Cognome") %>' />
<br />
Nome:
<asp:Label ID="NomeLabel" runat="server" Text='<%# Bind("Nome") %>' />
<br />
CodFis:
<asp:Label ID="CodFisLabel" runat="server" Text='<%# Bind("CodFis") %>' />
</div>
<div class="ui-block-b">
Indir:
<asp:Label ID="IndirLabel" runat="server" Text='<%# Bind("Indir") %>' />
<br />
Cap:
<asp:Label ID="CapLabel" runat="server" Text='<%# Bind("Cap") %>' />
<br />
Localita:
<asp:Label ID="LocalitaLabel" runat="server" Text='<%# Bind("Localita") %>' />
<br />
Prov:
<asp:Label ID="ProvLabel" runat="server" Text='<%# Bind("Prov") %>' />
<br />
idxZona:
<asp:Label ID="idxZonaLabel" runat="server" Text='<%# Bind("idxZona") %>' />
</div>
<div class="ui-block-c">
MinTotCons:
<asp:Label ID="MinTotConsLabel" runat="server" Text='<%# Bind("MinTotCons") %>' />
<br />
MinViaggio:
<asp:Label ID="MinViaggioLabel" runat="server" Text='<%# Bind("MinViaggio") %>' />
<br />
FinePrev:
<asp:Label ID="FinePrevLabel" runat="server" Text='<%# Bind("FinePrev") %>' />
</div>
</div>
<div class="ui-grid-solo">
NoteGen:
<asp:Label ID="NoteGenLabel" runat="server" Text='<%# Bind("NoteGen") %>' />
</div>
</div>
<asp:LinkButton ID="lbUpdate" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-check ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="update" CommandName="Update" Text="Update"></asp:LinkButton>
&nbsp;
<asp:LinkButton ID="lbCancel" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-refresh ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="cancel" CommandName="Cancel" Text="Cancel"></asp:LinkButton>
</EditItemTemplate>
<InsertItemTemplate>
IdxImpegno:
<asp:TextBox ID="IdxImpegnoTextBox" runat="server" Text='<%# Bind("IdxImpegno") %>' />
<br />
DataOra:
<asp:TextBox ID="DataOraTextBox" runat="server" Text='<%# Bind("DataOra") %>' />
<br />
TipoOrario:
<asp:TextBox ID="TipoOrarioTextBox" runat="server" Text='<%# Bind("TipoOrario") %>' />
<br />
CodCliente:
<asp:TextBox ID="CodClienteTextBox" runat="server" Text='<%# Bind("CodCliente") %>' />
<br />
Cognome:
<asp:TextBox ID="CognomeTextBox" runat="server" Text='<%# Bind("Cognome") %>' />
<br />
Nome:
<asp:TextBox ID="NomeTextBox" runat="server" Text='<%# Bind("Nome") %>' />
<br />
CodFis:
<asp:TextBox ID="CodFisTextBox" runat="server" Text='<%# Bind("CodFis") %>' />
<br />
CodSquadra:
<asp:TextBox ID="CodSquadraTextBox" runat="server" Text='<%# Bind("CodSquadra") %>' />
<br />
DescrSquadra:
<asp:TextBox ID="DescrSquadraTextBox" runat="server" Text='<%# Bind("DescrSquadra") %>' />
<br />
Elettrod:
<asp:CheckBox ID="ElettrodCheckBox" runat="server" Checked='<%# Bind("Elettrod") %>' />
<br />
Clima:
<asp:CheckBox ID="ClimaCheckBox" runat="server" Checked='<%# Bind("Clima") %>' />
<br />
Inform:
<asp:CheckBox ID="InformCheckBox" runat="server" Checked='<%# Bind("Inform") %>' />
<br />
Indir:
<asp:TextBox ID="IndirTextBox" runat="server" Text='<%# Bind("Indir") %>' />
<br />
Cap:
<asp:TextBox ID="CapTextBox" runat="server" Text='<%# Bind("Cap") %>' />
<br />
Localita:
<asp:TextBox ID="LocalitaTextBox" runat="server" Text='<%# Bind("Localita") %>' />
<br />
Prov:
<asp:TextBox ID="ProvTextBox" runat="server" Text='<%# Bind("Prov") %>' />
<br />
idxZona:
<asp:TextBox ID="idxZonaTextBox" runat="server" Text='<%# Bind("idxZona") %>' />
<br />
MinTotCons:
<asp:TextBox ID="MinTotConsTextBox" runat="server" Text='<%# Bind("MinTotCons") %>' />
<br />
MinViaggio:
<asp:TextBox ID="MinViaggioTextBox" runat="server" Text='<%# Bind("MinViaggio") %>' />
<br />
FinePrev:
<asp:TextBox ID="FinePrevTextBox" runat="server" Text='<%# Bind("FinePrev") %>' />
<br />
NoteGen:
<asp:TextBox ID="NoteGenTextBox" runat="server" Text='<%# Bind("NoteGen") %>' />
<br />
RifOC:
<asp:TextBox ID="RifOCTextBox" runat="server" Text='<%# Bind("RifOC") %>' />
<br />
UrlDoc:
<asp:TextBox ID="UrlDocTextBox" runat="server" Text='<%# Bind("UrlDoc") %>' />
<br />
NumOp:
<asp:TextBox ID="NumOpTextBox" runat="server" Text='<%# Bind("NumOp") %>' />
<br />
RitUsato:
<asp:CheckBox ID="RitUsatoCheckBox" runat="server" Checked='<%# Bind("RitUsato") %>' />
<br />
Ascensore:
<asp:CheckBox ID="AscensoreCheckBox" runat="server" Checked='<%# Bind("Ascensore") %>' />
<br />
PianoCons:
<asp:TextBox ID="PianoConsTextBox" runat="server" Text='<%# Bind("PianoCons") %>' />
<br />
UserMod:
<asp:TextBox ID="UserModTextBox" runat="server" Text='<%# Bind("UserMod") %>' />
<br />
DataMod:
<asp:TextBox ID="DataModTextBox" runat="server" Text='<%# Bind("DataMod") %>' />
<br />
<asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" CommandName="Insert" Text="Insert" />
&nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel" />
</InsertItemTemplate>
<ItemTemplate>
<div class="ui-grid-b">
<div class="ui-block-a">
<asp:DropDownList runat="server" ID="ddlSquadra" DataSourceID="odsSquadre" DataTextField="DescrSquadra" DataValueField="CodSquadra" SelectedValue='<%# Eval("CodSquadra") %>'></asp:DropDownList>
</div>
<div class="ui-block-b" style="text-align: right;">
<asp:TextBox runat="server" ID="txtDataFrom" type="date" Text='<%# Eval("DataOra","{0:yyyyy-MM-dd}") %>' />
</div>
<div class="ui-block-c">
<asp:DropDownList runat="server" ID="ddlOrario" DataSourceID="odsOrario" DataTextField="Orario" DataValueField="Orario" SelectedValue='<%# Eval("DataOra","{0:HH:mm:00}") %>'></asp:DropDownList>
</div>
</div>
<div class="ui-grid-b">
<div class="ui-block-a">
<div class="ui-grid-a">
<div class="ui-block-a">
<label for="txtNumPers">num pers</label>
<asp:TextBox runat="server" ID="txtNumPers" placeholder="Num Op" Text='<%# Eval("NumOp") %>' />
</div>
<div class="ui-block-b">
<label for="chkRitUsato">rit. usato</label>
<br />
<asp:CheckBox ID="chkRitUsato" runat="server" Checked='<%# Eval("RitUsato") %>' />
</div>
<div class="ui-state-disabled">
<div class="ui-grid-b">
<div class="ui-block-a">
<asp:DropDownList runat="server" ID="ddlSquadra" DataSourceID="odsSquadre" DataTextField="DescrSquadra" DataValueField="CodSquadra" SelectedValue='<%# Eval("CodSquadra") %>'></asp:DropDownList>
</div>
<div class="ui-block-b" style="text-align: right;">
<asp:TextBox runat="server" ID="txtDataFrom" type="date" Text='<%# Eval("DataOra","{0:yyyyy-MM-dd}") %>' />
</div>
<div class="ui-block-c">
<asp:DropDownList runat="server" ID="ddlOrario" DataSourceID="odsOrario" DataTextField="Orario" DataValueField="Orario" SelectedValue='<%# Eval("DataOra","{0:HH:mm:00}") %>'></asp:DropDownList>
</div>
</div>
<div class="ui-block-b">
<div class="ui-grid-a">
<div class="ui-block-a">
<label for="txtPiano">piano cons.</label>
<asp:TextBox runat="server" ID="txtPiano" placeholder="piano cons." Text='<%# Eval("PianoCons") %>' />
</div>
<div class="ui-block-b">
<label for="chkAscensore">ascensore</label>
<br />
<asp:CheckBox ID="chkAscensore" runat="server" Checked='<%# Eval("Ascensore") %>' />
<div class="ui-grid-b">
<div class="ui-block-a">
<div class="ui-grid-a">
<div class="ui-block-a">
<label for="txtNumPers">num pers</label>
<asp:TextBox runat="server" ID="txtNumPers" placeholder="Num Op" Text='<%# Eval("NumOp") %>' />
</div>
<div class="ui-block-b">
<label for="chkRitUsato">rit. usato</label>
<br />
<asp:CheckBox ID="chkRitUsato" runat="server" Checked='<%# Eval("RitUsato") %>' />
</div>
</div>
</div>
<div class="ui-block-b">
<div class="ui-grid-a">
<div class="ui-block-a">
<label for="txtPiano">piano cons.</label>
<asp:TextBox runat="server" ID="txtPiano" placeholder="piano cons." Text='<%# Eval("PianoCons") %>' />
</div>
<div class="ui-block-b">
<label for="chkAscensore">ascensore</label>
<br />
<asp:CheckBox ID="chkAscensore" runat="server" Checked='<%# Eval("Ascensore") %>' />
</div>
</div>
</div>
<div class="ui-block-c">
<asp:DropDownList runat="server" ID="ddlTipoOrario" DataSourceID="odsTipoOrario" DataTextField="label" DataValueField="value"></asp:DropDownList>
<asp:ObjectDataSource ID="odsTipoOrario" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getValid" TypeName="WebSCR_data.DS_UtilityTableAdapters.ListValuesTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="Impegni" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="TipoOrario" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
<div class="ui-block-c">
<asp:DropDownList runat="server" ID="ddlTipoOrario" DataSourceID="odsTipoOrario" DataTextField="label" DataValueField="value"></asp:DropDownList>
<asp:ObjectDataSource ID="odsTipoOrario" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getValid" TypeName="WebSCR_data.DS_UtilityTableAdapters.ListValuesTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="Impegni" Name="TableName" Type="String" />
<asp:Parameter DefaultValue="TipoOrario" Name="FieldName" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<div class="ui-grid-a">
<div class="ui-block-a">
RifOC:
<asp:Label ID="RifOCLabel" runat="server" Text='<%# Bind("RifOC") %>' />
</div>
<div class="ui-block-b">
UrlDoc:
<asp:Label ID="UrlDocLabel" runat="server" Text='<%# Bind("UrlDoc") %>' />
</div>
</div>
<div class="ui-grid-b">
<div class="ui-block-a">
CodCliente:
<asp:Label ID="CodClienteLabel" runat="server" Text='<%# Bind("CodCliente") %>' />
<br />
Cognome:
<asp:Label ID="CognomeLabel" runat="server" Text='<%# Bind("Cognome") %>' />
<br />
Nome:
<asp:Label ID="NomeLabel" runat="server" Text='<%# Bind("Nome") %>' />
<br />
CodFis:
<asp:Label ID="CodFisLabel" runat="server" Text='<%# Bind("CodFis") %>' />
</div>
<div class="ui-block-b">
Indir:
<asp:Label ID="IndirLabel" runat="server" Text='<%# Bind("Indir") %>' />
<br />
Cap:
<asp:Label ID="CapLabel" runat="server" Text='<%# Bind("Cap") %>' />
<br />
Localita:
<asp:Label ID="LocalitaLabel" runat="server" Text='<%# Bind("Localita") %>' />
<br />
Prov:
<asp:Label ID="ProvLabel" runat="server" Text='<%# Bind("Prov") %>' />
<br />
idxZona:
<asp:Label ID="idxZonaLabel" runat="server" Text='<%# Bind("idxZona") %>' />
</div>
<div class="ui-block-c">
MinTotCons:
<asp:Label ID="MinTotConsLabel" runat="server" Text='<%# Bind("MinTotCons") %>' />
<br />
MinViaggio:
<asp:Label ID="MinViaggioLabel" runat="server" Text='<%# Bind("MinViaggio") %>' />
<br />
FinePrev:
<asp:Label ID="FinePrevLabel" runat="server" Text='<%# Bind("FinePrev") %>' />
</div>
</div>
<div class="ui-grid-solo">
NoteGen:
<asp:Label ID="NoteGenLabel" runat="server" Text='<%# Bind("NoteGen") %>' />
</div>
</div>
<br />
CodCliente:
<asp:Label ID="CodClienteLabel" runat="server" Text='<%# Bind("CodCliente") %>' />
<br />
Cognome:
<asp:Label ID="CognomeLabel" runat="server" Text='<%# Bind("Cognome") %>' />
<br />
Nome:
<asp:Label ID="NomeLabel" runat="server" Text='<%# Bind("Nome") %>' />
<br />
CodFis:
<asp:Label ID="CodFisLabel" runat="server" Text='<%# Bind("CodFis") %>' />
<br />
<br />
Elettrod:
<asp:CheckBox ID="ElettrodCheckBox" runat="server" Checked='<%# Bind("Elettrod") %>' Enabled="false" />
<br />
Clima:
<asp:CheckBox ID="ClimaCheckBox" runat="server" Checked='<%# Bind("Clima") %>' Enabled="false" />
<br />
Inform:
<asp:CheckBox ID="InformCheckBox" runat="server" Checked='<%# Bind("Inform") %>' Enabled="false" />
<br />
Indir:
<asp:Label ID="IndirLabel" runat="server" Text='<%# Bind("Indir") %>' />
<br />
Cap:
<asp:Label ID="CapLabel" runat="server" Text='<%# Bind("Cap") %>' />
<br />
Localita:
<asp:Label ID="LocalitaLabel" runat="server" Text='<%# Bind("Localita") %>' />
<br />
Prov:
<asp:Label ID="ProvLabel" runat="server" Text='<%# Bind("Prov") %>' />
<br />
idxZona:
<asp:Label ID="idxZonaLabel" runat="server" Text='<%# Bind("idxZona") %>' />
<br />
MinTotCons:
<asp:Label ID="MinTotConsLabel" runat="server" Text='<%# Bind("MinTotCons") %>' />
<br />
MinViaggio:
<asp:Label ID="MinViaggioLabel" runat="server" Text='<%# Bind("MinViaggio") %>' />
<br />
FinePrev:
<asp:Label ID="FinePrevLabel" runat="server" Text='<%# Bind("FinePrev") %>' />
<br />
NoteGen:
<asp:Label ID="NoteGenLabel" runat="server" Text='<%# Bind("NoteGen") %>' />
<br />
RifOC:
<asp:Label ID="RifOCLabel" runat="server" Text='<%# Bind("RifOC") %>' />
<br />
UrlDoc:
<asp:Label ID="UrlDocLabel" runat="server" Text='<%# Bind("UrlDoc") %>' />
<asp:LinkButton ID="EditButton" runat="server" CausesValidation="False" CommandName="Edit" Text="Edit" />
<asp:LinkButton ID="lbEdit" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-edit ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="edit" CommandName="Edit" Text="Edit"></asp:LinkButton>
</ItemTemplate>
</asp:FormView>
<asp:ObjectDataSource ID="odsImpegni" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByKey" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.ImpegniTableAdapter" UpdateMethod="updateQuery">
@@ -322,7 +248,9 @@
<asp:ObjectDataSource ID="odsSquadre" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.AnagSquadreTableAdapter"></asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsOrario" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="WebSCR_data.DS_UtilityTableAdapters.GiornoTipoTableAdapter"></asp:ObjectDataSource>
<br />
<br />
<br />
<div class="ui-grid-solo">
textbox x selezionare...
</div>
+3 -20
View File
@@ -25,30 +25,13 @@ namespace WebSCR.WebUserControls
}
catch
{ }
if (idxImpegno < 0)
{
// creo un impegno NUOVO nel primo slot libero...
}
//if (idxImpegno > 0)
//{
// // recupero record
// DS_Applicazione.ImpegniRow riga = DtProxy.man.taImp.getByKey(idxImpegno)[0];
// // sistemo data ed ora
// txtDataFrom.Text = string.Format("{0:yyyy-MM-dd}", riga.DataOra);
// ddlOrario.DataBind();
// ddlOrario.SelectedValue = string.Format("{0:HH:mm:ss}", riga.DataOra);
// // sistemo tipo orario
// ddlTipoOrario.SelectedValue = riga.TipoOrario;
// // sistemo squadra
// ddlSquadra.SelectedValue = riga.CodSquadra;
// // sistemo num pers e ritiro usato
// txtNumPers.Text = riga.NumOp.ToString();
// chkRitUsato.Checked = riga.RitUsato;
// // sistemo ascensore e piano...
// txtPiano.Text = riga.PianoCons.ToString();
// chkAscensore.Checked = riga.Ascensore;
// // imposto modalità editing!
// frmView.ChangeMode(FormViewMode.Edit);
//}
}
/// <summary>
/// recupera valore querystring
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.