diff --git a/.vs/ScheMe-SP/v15/sqlite3/storage.ide b/.vs/ScheMe-SP/v15/sqlite3/storage.ide index a4105b0..1410fca 100644 Binary files a/.vs/ScheMe-SP/v15/sqlite3/storage.ide and b/.vs/ScheMe-SP/v15/sqlite3/storage.ide differ diff --git a/ScheMe-SP/AccettazioneEdit.aspx b/ScheMe-SP/AccettazioneEdit.aspx index 3914795..9283075 100644 --- a/ScheMe-SP/AccettazioneEdit.aspx +++ b/ScheMe-SP/AccettazioneEdit.aspx @@ -26,7 +26,7 @@
- +
@@ -65,10 +65,10 @@
-
+
- - + +
@@ -176,7 +176,7 @@
- +
@@ -214,9 +214,9 @@
- - - + + +
@@ -324,7 +324,7 @@
- +
diff --git a/ScheMe-SP/AccettazioneEdit.aspx.cs b/ScheMe-SP/AccettazioneEdit.aspx.cs index 7dd84af..05c914b 100644 --- a/ScheMe-SP/AccettazioneEdit.aspx.cs +++ b/ScheMe-SP/AccettazioneEdit.aspx.cs @@ -179,5 +179,50 @@ namespace ScheMe btnSave.Enabled = false; } } + + /// + /// Fix grafico radiobuttonlist Sesso + /// + /// + /// + protected void rblSex_PreRender(object sender, EventArgs e) + { + RadioButtonList rblTipo = (RadioButtonList)sender; + // applico stile a tutti oggetti listitem! + foreach (ListItem item in rblTipo.Items) + { + item.Attributes.Remove("class"); + if (item.Selected) + { + item.Attributes.Add("class", "btn btn-primary btn-xs"); + } + else + { + item.Attributes.Add("class", "btn btn-default btn-xs"); + } + } } + /// + /// update selezione... + /// + /// + /// + protected void rblSex_SelectedIndexChanged(object sender, EventArgs e) + { + RadioButtonList rblTipo = (RadioButtonList)sender; + // applico stile a tutti oggetti listitem! + foreach (ListItem item in rblTipo.Items) + { + item.Attributes.Remove("class"); + if (item.Selected) + { + item.Attributes.Add("class", "btn btn-primary btn-xs"); + } + else + { + item.Attributes.Add("class", "btn btn-default btn-xs"); + } + } + } + } } \ No newline at end of file diff --git a/ScheMe-SP/Bootstrap.Master b/ScheMe-SP/Bootstrap.Master index 4791502..1b52151 100644 --- a/ScheMe-SP/Bootstrap.Master +++ b/ScheMe-SP/Bootstrap.Master @@ -51,12 +51,7 @@
- -
+
@@ -68,13 +63,7 @@ -
- -
+
diff --git a/ScheMe-SP/Content/Style.css b/ScheMe-SP/Content/Style.css index 0256e63..d4b52d1 100644 --- a/ScheMe-SP/Content/Style.css +++ b/ScheMe-SP/Content/Style.css @@ -10,12 +10,12 @@ .smaller { font-size: 0.7em; } -.navbar-nav { +.fullWidth > .navbar-nav { display: table; width: 100%; margin: 0; } -.navbar-nav > li { +.fullWidth > .navbar-nav > li { float: none; display: table-cell; text-align: center; diff --git a/ScheMe-SP/Content/Style.less b/ScheMe-SP/Content/Style.less index 5d196a3..660d6a2 100644 --- a/ScheMe-SP/Content/Style.less +++ b/ScheMe-SP/Content/Style.less @@ -27,13 +27,13 @@ font-size: 0.7em; } -.navbar-nav { +.fullWidth > .navbar-nav { display: table; width: 100%; margin: 0; } - .navbar-nav > li { + .fullWidth > .navbar-nav > li { float: none; display: table-cell; text-align: center; diff --git a/ScheMe-SP/Content/Style.min.css b/ScheMe-SP/Content/Style.min.css index c1d00f1..b959c50 100644 --- a/ScheMe-SP/Content/Style.min.css +++ b/ScheMe-SP/Content/Style.min.css @@ -1 +1 @@ -.uppercase{text-transform:uppercase;}.bigBtn{min-height:2.2em;font-size:1.2em;}.smaller{font-size:.7em;}.navbar-nav{display:table;width:100%;margin:0;}.navbar-nav>li{float:none;display:table-cell;text-align:center;}.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;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:#38c;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:#38c;font-weight:600;color:#fff;}.btn-selected:hover,.navbar-nav>li .btn-selected:hover{background-color:#d1ddf1;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:#eff3fb;text-align:left;}.rowStyle{background-color:#eff3fb;}.editRowStyle{background-color:#2461bf;}.selectedRowStyle{background-color:#c1ccf1;font-weight:bold;Color:#36f;}.alternatingRowStyle{background-color:#fff;}.footerRowStyle{background-color:#5d7b9d;font-weight:bold;color:#fff;}.headerRowStyle{background-color:#5d7b9d;font-weight:bold;color:#fff;}.spacedRow{line-height:3em;}.baseRow{background-color:#eff3fb;}.altRow{background-color:#fff;}.editRow{background-color:#2461bf;}.selectedRow{background-color:#d1ddf1;font-weight:600;color:#333;}.headerHighlight{font-weight:600;color:#38c;font-size:1.2em;}.footerRow{background-color:#38c;font-weight:600;color:#fff;}.pagerRow{background-color:#2461bf;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:#2461bf;}.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;}} \ No newline at end of file +.uppercase{text-transform:uppercase;}.bigBtn{min-height:2.2em;font-size:1.2em;}.smaller{font-size:.7em;}.fullWidth>.navbar-nav{display:table;width:100%;margin:0;}.fullWidth>.navbar-nav>li{float:none;display:table-cell;text-align:center;}.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;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:#38c;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:#38c;font-weight:600;color:#fff;}.btn-selected:hover,.navbar-nav>li .btn-selected:hover{background-color:#d1ddf1;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:#eff3fb;text-align:left;}.rowStyle{background-color:#eff3fb;}.editRowStyle{background-color:#2461bf;}.selectedRowStyle{background-color:#c1ccf1;font-weight:bold;Color:#36f;}.alternatingRowStyle{background-color:#fff;}.footerRowStyle{background-color:#5d7b9d;font-weight:bold;color:#fff;}.headerRowStyle{background-color:#5d7b9d;font-weight:bold;color:#fff;}.spacedRow{line-height:3em;}.baseRow{background-color:#eff3fb;}.altRow{background-color:#fff;}.editRow{background-color:#2461bf;}.selectedRow{background-color:#d1ddf1;font-weight:600;color:#333;}.headerHighlight{font-weight:600;color:#38c;font-size:1.2em;}.footerRow{background-color:#38c;font-weight:600;color:#fff;}.pagerRow{background-color:#2461bf;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:#2461bf;}.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;}} \ No newline at end of file diff --git a/ScheMe-SP/WebUserControls/mod_bottom.ascx b/ScheMe-SP/WebUserControls/mod_bottom.ascx index b7b6d0f..9ee9953 100644 --- a/ScheMe-SP/WebUserControls/mod_bottom.ascx +++ b/ScheMe-SP/WebUserControls/mod_bottom.ascx @@ -1,14 +1,19 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_bottom.ascx.cs" Inherits="ScheMe.WebUserControls.mod_bottom" %> - + diff --git a/ScheMe-SP/WebUserControls/mod_top.ascx b/ScheMe-SP/WebUserControls/mod_top.ascx index 7b2eed7..bb1f120 100644 --- a/ScheMe-SP/WebUserControls/mod_top.ascx +++ b/ScheMe-SP/WebUserControls/mod_top.ascx @@ -1,35 +1,50 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_top.ascx.cs" Inherits="ScheMe.WebUserControls.mod_top" %> +