fix edit x 345...

This commit is contained in:
Samuele E. Locatelli
2017-09-05 10:19:12 +02:00
parent 86fc479c29
commit cbe94e6fce
10 changed files with 734 additions and 518 deletions
Binary file not shown.
+8 -4
View File
@@ -110,22 +110,26 @@
border-radius: 3em;
/*35px*/
}
.btn-selected {
.btn-selected,
.navbar-nav > li > .btn-selected {
background-color: #FF8833;
font-weight: 600;
color: white;
}
.btn-selected:hover {
.btn-selected:hover,
.navbar-nav > li .btn-selected:hover {
background-color: #ffa567;
font-weight: 600;
color: #333;
}
.btn-unselected {
.btn-unselected,
.navbar-nav > li .btn-unselected {
background-color: #EFEFEF;
font-weight: 600;
color: #333333;
}
.btn-unselected:hover {
.btn-unselected:hover,
.navbar-nav > li > .btn-unselected:hover {
background-color: #333333;
font-weight: 600;
color: #EFEFEF;
+8 -4
View File
@@ -124,24 +124,28 @@
border-radius: 3em; /*35px*/
}
.btn-selected {
.btn-selected,
.navbar-nav > li > .btn-selected{
background-color: @colore;
font-weight: 600;
color: white;
}
.btn-selected:hover {
.btn-selected:hover,
.navbar-nav > li .btn-selected:hover {
background-color: @coloreChiaro;
font-weight: 600;
color: #333;
}
.btn-unselected {
.btn-unselected,
.navbar-nav > li .btn-unselected {
background-color: #EFEFEF;
font-weight: 600;
color: #333333;
}
.btn-unselected:hover {
.btn-unselected:hover,
.navbar-nav > li > .btn-unselected:hover {
background-color: #333333;
font-weight: 600;
color: #EFEFEF;
+1 -1
View File
@@ -1 +1 @@
.uppercase{text-transform:uppercase}.bigBtn{min-height:2.2em;font-size:1.2em}.VVF-CL-01{color:#060;background-color:#fff}.VVF-CL-02{color:#ff3;background-color:#22f}.VVF-CL-03{color:#ff3;background-color:#181}.VVF-CL-04{background-color:#ff1}.VVF-CL-05{color:#ff3;background-color:#e62}.VVF-CL-06{color:#ff1;background-color:#ff0c0c}.headerRow{background-color:#eee;font-weight:600;color:#000}.text-center{text-align:center;margin:auto}.tStrong{font-weight:bold;font-size:1.3em}.flRight{float:right}.errore{color:#f00}.headLine{background-color:#f83;color:#fff}.hBlock{background-color:#d7d7d7;color:#000}.hBlockDrk{background-color:#585858;color:#fff}.fBlock{background-color:#f2f2f2;color:#000}.btn-circle{width:2.2em;height:2.2em;text-align:center;padding:.3em 0;font-size:1em;line-height:1.6;border-radius:1em}.btn-circle.btn-lg{width:3.5em;height:3.5em;padding:.6em 1em;font-size:1.5em;line-height:1.5;border-radius:1.8em}.btn-circle.btn-xl{width:5em;height:5em;padding:.6em 1em;font-size:2em;line-height:1.5;border-radius:3em}.btn-selected{background-color:#f83;font-weight:600;color:#fff}.btn-selected:hover{background-color:#ffa567;font-weight:600;color:#333}.btn-unselected{background-color:#efefef;font-weight:600;color:#333}.btn-unselected:hover{background-color:#333;font-weight:600;color:#efefef}.RowStyle{background-color:#fbf3ef;text-align:left}.rowStyle{background-color:#fbf3ef}.editRowStyle{background-color:#cf6124}.selectedRowStyle{background-color:#f1ccc1;font-weight:bold;Color:#f63}.alternatingRowStyle{background-color:#fff}.footerRowStyle{background-color:#ff7c50;font-weight:bold;color:#fff}.headerRowStyle{background-color:#ff7c50;font-weight:bold;color:#fff}.spacedRow{line-height:3em}.baseRow{background-color:#fbf3ef}.altRow{background-color:#fff}.editRow{background-color:#cf6124}.selectedRow{background-color:#ffa567;font-weight:600;color:#333}.headerHighlight{background-color:#f83;font-weight:600;color:#fff}.footerRow{background-color:#f83;font-weight:600;color:#fff}.pagerRow{background-color:#cf6124;color:#fff;text-align:center;margin:auto}.stortAscCellStyle{background-color:#f5f7fb}.stortAscHeadStyle{background-color:#6d95e1}.stortDescCellStyle{background-color:#e9ebef}.stortDescHeadStyle{background-color:#4870be}.GridPager{background-color:#ff7c50}.GridPager a,.GridPager span{display:block;height:2em;width:2em;text-align:center;vertical-align:baseline;text-decoration:none;background-color:#cf6124}.GridPager a{background-color:#f5f5f5;color:#969696}.GridPager span{background-color:#f2dca1;color:#000;font-weight:bold}.imgNoPad{margin-top:-3px;margin-bottom:-7px}@media all and (min-width:768px){#textWrapper{font-size:1em}#headData{margin-top:0}}@media all and (min-width:1024px){#textWrapper{font-size:1.2em}#headData{margin-top:0}}@media all and (min-width:1440px){#textWrapper{font-size:1.4em}#headData{margin-top:0}}@media all and (min-width:1600px){#textWrapper{font-size:1.6em}#headData{margin-top:0}}@media all and (min-width:1900px){#textWrapper{font-size:1.8em}#headData{margin-top:0}}@media all and (min-width:2200px){#textWrapper{font-size:2em}#headData{margin-top:0}}@media all and (max-width:767px){#textWrapper{font-size:.8em}#headData{margin-top:6px}}@media all and (max-width:480px){#textWrapper{font-size:.6em}#headData{margin-top:14px}}@media all and (max-width:320px){#textWrapper{font-size:.5em}#headData{margin-top:18px}}
.uppercase{text-transform:uppercase}.bigBtn{min-height:2.2em;font-size:1.2em}.VVF-CL-01{color:#060;background-color:#fff}.VVF-CL-02{color:#ff3;background-color:#22f}.VVF-CL-03{color:#ff3;background-color:#181}.VVF-CL-04{background-color:#ff1}.VVF-CL-05{color:#ff3;background-color:#e62}.VVF-CL-06{color:#ff1;background-color:#ff0c0c}.headerRow{background-color:#eee;font-weight:600;color:#000}.text-center{text-align:center;margin:auto}.tStrong{font-weight:bold;font-size:1.3em}.flRight{float:right}.errore{color:#f00}.headLine{background-color:#f83;color:#fff}.hBlock{background-color:#d7d7d7;color:#000}.hBlockDrk{background-color:#585858;color:#fff}.fBlock{background-color:#f2f2f2;color:#000}.btn-circle{width:2.2em;height:2.2em;text-align:center;padding:.3em 0;font-size:1em;line-height:1.6;border-radius:1em}.btn-circle.btn-lg{width:3.5em;height:3.5em;padding:.6em 1em;font-size:1.5em;line-height:1.5;border-radius:1.8em}.btn-circle.btn-xl{width:5em;height:5em;padding:.6em 1em;font-size:2em;line-height:1.5;border-radius:3em}.btn-selected,.navbar-nav>li>.btn-selected{background-color:#f83;font-weight:600;color:#fff}.btn-selected:hover,.navbar-nav>li .btn-selected:hover{background-color:#ffa567;font-weight:600;color:#333}.btn-unselected,.navbar-nav>li .btn-unselected{background-color:#efefef;font-weight:600;color:#333}.btn-unselected:hover,.navbar-nav>li>.btn-unselected:hover{background-color:#333;font-weight:600;color:#efefef}.RowStyle{background-color:#fbf3ef;text-align:left}.rowStyle{background-color:#fbf3ef}.editRowStyle{background-color:#cf6124}.selectedRowStyle{background-color:#f1ccc1;font-weight:bold;Color:#f63}.alternatingRowStyle{background-color:#fff}.footerRowStyle{background-color:#ff7c50;font-weight:bold;color:#fff}.headerRowStyle{background-color:#ff7c50;font-weight:bold;color:#fff}.spacedRow{line-height:3em}.baseRow{background-color:#fbf3ef}.altRow{background-color:#fff}.editRow{background-color:#cf6124}.selectedRow{background-color:#ffa567;font-weight:600;color:#333}.headerHighlight{background-color:#f83;font-weight:600;color:#fff}.footerRow{background-color:#f83;font-weight:600;color:#fff}.pagerRow{background-color:#cf6124;color:#fff;text-align:center;margin:auto}.stortAscCellStyle{background-color:#f5f7fb}.stortAscHeadStyle{background-color:#6d95e1}.stortDescCellStyle{background-color:#e9ebef}.stortDescHeadStyle{background-color:#4870be}.GridPager{background-color:#ff7c50}.GridPager a,.GridPager span{display:block;height:2em;width:2em;text-align:center;vertical-align:baseline;text-decoration:none;background-color:#cf6124}.GridPager a{background-color:#f5f5f5;color:#969696}.GridPager span{background-color:#f2dca1;color:#000;font-weight:bold}.imgNoPad{margin-top:-3px;margin-bottom:-7px}@media all and (min-width:768px){#textWrapper{font-size:1em}#headData{margin-top:0}}@media all and (min-width:1024px){#textWrapper{font-size:1.2em}#headData{margin-top:0}}@media all and (min-width:1440px){#textWrapper{font-size:1.4em}#headData{margin-top:0}}@media all and (min-width:1600px){#textWrapper{font-size:1.6em}#headData{margin-top:0}}@media all and (min-width:1900px){#textWrapper{font-size:1.8em}#headData{margin-top:0}}@media all and (min-width:2200px){#textWrapper{font-size:2em}#headData{margin-top:0}}@media all and (max-width:767px){#textWrapper{font-size:.8em}#headData{margin-top:6px}}@media all and (max-width:480px){#textWrapper{font-size:.6em}#headData{margin-top:14px}}@media all and (max-width:320px){#textWrapper{font-size:.5em}#headData{margin-top:18px}}
+4 -4
View File
@@ -350,7 +350,7 @@
<div class="col-xs-3">
<small>secondi</small>
<asp:RequiredFieldValidator runat="server" ID="rfvCD" ControlToValidate="txtCD" ErrorMessage="Richiesto!" CssClass="errore small" Display="Dynamic" />
<asp:RegularExpressionValidator runat="server" ID="revCD" ControlToValidate="txtCD" ValidationExpression="^(\d|,)*\.?\d*$" ErrorMessage="[0..60].0" CssClass="errore small" Display="Dynamic" />
<asp:RegularExpressionValidator runat="server" ID="revCD" ControlToValidate="txtCD" ValidationExpression="^(\d|,)*\.?\d*$" ErrorMessage="00.0" CssClass="errore small" Display="Dynamic" />
</div>
<div class="col-xs-9">
<asp:TextBox CssClass="tStrong text-right form-control" runat="server" ID="txtCD" Text='<%# Bind("CD") %>' />
@@ -516,7 +516,7 @@
<asp:Button runat="server" CssClass="btn btn-success form-control" ID="btnInsert" CausesValidation="False" CommandName="Insert" Text="Salva" />
</div>
<div class="col-xs-6">
<asp:Button runat="server" CssClass="btn btn-default form-control" ID="btnCancel" CausesValidation="False" CommandName="Cancel" Text="Cancel" OnClientClick="return confirm('Sei sicuro di voler eliminare il record?')" />
<asp:Button runat="server" CssClass="btn btn-default form-control" ID="btnCancel" CausesValidation="False" CommandName="Cancel" Text="Cancel" />
</div>
</div>
</li>
@@ -612,7 +612,7 @@
<div class="col-xs-4">
<small>secondi</small>
<asp:RequiredFieldValidator runat="server" ID="rfvCD" ControlToValidate="txtCD" ErrorMessage="Richiesto!" CssClass="errore small" Display="Dynamic" />
<asp:RegularExpressionValidator runat="server" ID="revCD" ControlToValidate="txtCD" ValidationExpression="^(\d|,)*\.?\d*$" ErrorMessage="[0..60].0" CssClass="errore small" Display="Dynamic" />
<asp:RegularExpressionValidator runat="server" ID="revCD" ControlToValidate="txtCD" ValidationExpression="^(\d|,)*\.?\d*$" ErrorMessage="00.0" CssClass="errore small" Display="Dynamic" />
</div>
<div class="col-xs-8">
<asp:TextBox CssClass="tStrong text-right form-control" runat="server" ID="txtCD" Text='<%# Bind("CD", "{0:N1}") %>' />
@@ -778,7 +778,7 @@
<asp:Button runat="server" CssClass="btn btn-success form-control" ID="btnUpdate" CausesValidation="False" CommandName="Update" Text="Salva" />
</div>
<div class="col-xs-6">
<asp:Button runat="server" CssClass="btn btn-default form-control" ID="btnCancel" CausesValidation="False" CommandName="Cancel" Text="Cancel" OnClientClick="return confirm('Sei sicuro di voler eliminare il record?')" />
<asp:Button runat="server" CssClass="btn btn-default form-control" ID="btnCancel" CausesValidation="False" CommandName="Cancel" Text="Cancel" />
</div>
</div>
</li>
+3 -1
View File
@@ -97,14 +97,16 @@ namespace ScheMe
protected void frmView_ItemUpdating(object sender, FormViewUpdateEventArgs e)
{
// fix decimale x float...
e.NewValues["CD"] = decimal.Parse(e.NewValues["CD"].ToString().Replace(".", ","));
e.NewValues["Altezza"] = decimal.Parse(e.NewValues["Altezza"].ToString().Replace(".", ","));
e.NewValues["Peso"] = decimal.Parse(e.NewValues["Peso"].ToString().Replace(".", ","));
e.NewValues["CD"] = decimal.Parse(e.NewValues["CD"].ToString().Replace(".", ","));
}
protected void frmView_ItemInserting(object sender, FormViewInsertEventArgs e)
{
// fix decimale x float...
e.Values["Altezza"] = decimal.Parse(e.Values["Altezza"].ToString().Replace(".", ","));
e.Values["Peso"] = decimal.Parse(e.Values["Peso"].ToString().Replace(".", ","));
e.Values["CD"] = decimal.Parse(e.Values["CD"].ToString().Replace(".", ","));
}
}
+695 -492
View File
File diff suppressed because it is too large Load Diff
+4
View File
@@ -97,6 +97,8 @@ namespace ScheMe
protected void frmView_ItemUpdating(object sender, FormViewUpdateEventArgs e)
{
// fix decimale x campi float...
e.NewValues["Altezza"] = decimal.Parse(e.NewValues["Altezza"].ToString().Replace(".", ","));
e.NewValues["Peso"] = decimal.Parse(e.NewValues["Peso"].ToString().Replace(".", ","));
e.NewValues["CD"] = decimal.Parse(e.NewValues["CD"].ToString().Replace(".", ","));
e.NewValues["ES"] = decimal.Parse(e.NewValues["ES"].ToString().Replace(".", ","));
e.NewValues["EB"] = decimal.Parse(e.NewValues["EB"].ToString().Replace(".", ","));
@@ -105,6 +107,8 @@ namespace ScheMe
protected void frmView_ItemInserting(object sender, FormViewInsertEventArgs e)
{
e.Values["Altezza"] = decimal.Parse(e.Values["Altezza"].ToString().Replace(".", ","));
e.Values["Peso"] = decimal.Parse(e.Values["Peso"].ToString().Replace(".", ","));
e.Values["CD"] = decimal.Parse(e.Values["CD"].ToString().Replace(".", ","));
e.Values["ES"] = decimal.Parse(e.Values["ES"].ToString().Replace(".", ","));
e.Values["EB"] = decimal.Parse(e.Values["EB"].ToString().Replace(".", ","));
+11 -12
View File
@@ -1,15 +1,14 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_bottom.ascx.cs" Inherits="ScheMe.WebUserControls.mod_bottom" %>
<div class="row" id="divFooterMenu" runat="server">
<div class="col-xs-4 text-center">
<a href="Accettazione" class='btn bigBtn form-control <%: liClass("Accettazione") %>'><i class="fa fa-users fa-lg" aria-hidden="true"></i>&nbsp;Accettazione</a>
</div>
<div class="col-xs-4 text-center">
<ul class="nav navbar-nav text-center" style="width:100%;" id="divFooterMenu" runat="server">
<li class="nav-item" style="width:33%;">
<a href="Accettazione" class='btn bigBtn <%: liClass("Accettazione") %>'><i class="fa fa-users fa-lg" aria-hidden="true"></i>&nbsp;Accettazione</a>
</li>
<li class="nav-item" style="width:33%;">
<%--<a href="Valutazioni" class='btn bigBtn form-control <%: liClass("Valutazioni") %>'><i class="fa fa-stethoscope fa-lg" aria-hidden="true"></i>&nbsp;Visite</a>--%>
<a href="Valutazioni" class='btn bigBtn form-control <%: liClass("Valutazioni") %>'><i class="fa fa-universal-access fa-lg" aria-hidden="true"></i>&nbsp;Valutazioni</a>
</div>
<div class="col-xs-4 text-center">
<a href="Attivita" class='btn bigBtn form-control <%: liClass("Attivita") %>'><i class="fa fa-files-o fa-lg" aria-hidden="true"></i>&nbsp;Files</a>
</div>
</div>
<a href="Valutazioni" class='btn bigBtn <%: liClass("Valutazioni") %>'><i class="fa fa-universal-access fa-lg" aria-hidden="true"></i>&nbsp;Valutazioni</a>
</li>
<li class="nav-item" style="width:33%;">
<a href="Attivita" class='btn bigBtn <%: liClass("Attivita") %>'><i class="fa fa-files-o fa-lg" aria-hidden="true"></i>&nbsp;Files</a>
</li>
</ul>
Binary file not shown.