modifica x mostrare selezione x riga...

This commit is contained in:
Samuele Locatelli
2016-02-26 17:40:50 +01:00
parent ecb469870e
commit ab0f442a28
13 changed files with 21 additions and 5 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3
View File
@@ -1271,6 +1271,9 @@ div > ul > li > a.selected.menuNav {
text-decoration: underline;
color: black;
}
.myLockLight {
background-color: #1BFF1B;
}
.cTab {
text-align: center;
height: 20px;
+3
View File
@@ -1495,6 +1495,9 @@ div > ul > li > a.selected.menuNav {
.baseLock;
background-color: @T04;
}
.myLockLight{
background-color: @T04;
}
.cTab {
File diff suppressed because one or more lines are too long
@@ -212,8 +212,7 @@
</asp:TemplateField>
<asp:TemplateField HeaderText="Ore" SortExpression="budgetTime" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Panel runat="server" ID="pnlTime" CssClass='<%# colorByVal(Eval("totOre"),Eval("budgetTime"))%>' Style="font-size: 8pt; padding: .3em;"
Width="6em" Visible='<%# Bind("enableTime") %>'>
<asp:Panel runat="server" ID="pnlTime" CssClass='<%# colorByVal(Eval("totOre"),Eval("budgetTime"))%>' Style="font-size: 8pt; padding: 0.3em;" Width="6em">
<asp:Label ID="lblRealTime" runat="server" Text='<%# Eval("totOre","{0:#,###.##}") %>' ToolTip="Ore Erogate" />
/
<asp:Label ID="lblbudgetTime" runat="server" Text='<%# Eval("budgetTime","{0:#,###.##}") %>' ToolTip="OreBudget" />
@@ -570,9 +570,19 @@ namespace PROJ_ETS.WebUserControls
cell.Text = TabellaRisorse[pos_x, pos_y].Label;
}
// controllo se la cella è selezionata, nel caso BOLD!
if (TabellaRisorse[pos_x, pos_y].IdxDipendente == IdxDipSel && TabellaRisorse[pos_x, pos_y].IdxFase == IdxFaseSel)
//if (TabellaRisorse[pos_x, pos_y].IdxDipendente == IdxDipSel && TabellaRisorse[pos_x, pos_y].IdxFase == IdxFaseSel)
if (TabellaRisorse[pos_x, pos_y].IdxFase == IdxFaseSel)
{
cell.CssClass = "selCel";
if (TabellaRisorse[pos_x, pos_y].IdxDipendente == IdxDipSel)
{
cell.CssClass = "selCel";
}
// se è la commessa della riga selezionata la segno...
else
{
cell.CssClass = "myLockLight";
}
}
// altrimenti controllo se la COLONNA di un dip bloccato, nel caso SEGNALO e blocco....
else if (userIsLocked(TabellaRisorse[pos_x, pos_y].IdxDipendente))
@@ -586,6 +596,7 @@ namespace PROJ_ETS.WebUserControls
cell.CssClass = "lockCol";
}
}
// carico in cella di tabella il linkButton
riga.Cells.Add(cell);
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.