diff --git a/MP-Tablet/App_Start/BundleConfig.cs b/MP-Tablet/App_Start/BundleConfig.cs index a5089eb6..17a3c2b3 100644 --- a/MP-Tablet/App_Start/BundleConfig.cs +++ b/MP-Tablet/App_Start/BundleConfig.cs @@ -28,29 +28,24 @@ namespace MoonProTablet bundles.Add(new ScriptBundle("~/bundles/modernizr").Include( "~/Scripts/modernizr-*")); - bundles.Add(new ScriptBundle("~/bundles/jqueryui-i18n").Include( - "~/Scripts/jquery-ui-i18n.min.js")); - - bundles.Add(new ScriptBundle("~/bundles/jquery").Include( - "~/Scripts/jquery-2.0.3.min.js")); - - bundles.Add(new ScriptBundle("~/bundles/jquerymobile").Include( - "~/Scripts/jquery.mobile-1.3.2.min.js")); - - bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include( - "~/Scripts/jquery-ui-1.10.3.min.js")); - + //bundles.Add(new ScriptBundle("~/bundles/jqueryui-i18n").Include( + // "~/Scripts/jquery-ui-i18n.min.js")); //bundles.Add(new ScriptBundle("~/bundles/jquery").Include( - // "~/Scripts/jquery-{version}.js")); + // "~/Scripts/jquery-2.0.3.min.js")); //bundles.Add(new ScriptBundle("~/bundles/jquerymobile").Include( - // "~/Scripts/jquery.mobile-{version}.js")); + // "~/Scripts/jquery.mobile-1.3.2.min.js")); //bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include( - // "~/Scripts/jquery-ui-{version}.js")); + // "~/Scripts/jquery-ui-1.10.3.min.js")); + bundles.Add(new ScriptBundle("~/bundles/jquery").Include( + "~/Scripts/jquery-{version}.js")); + bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include( + "~/Scripts/jquery-ui-{version}.js")); + // aggiungo bundle dinamico x less --> css //bundles.Add(new DynamicFolderBundle("less", "*.less")); diff --git a/MP-Tablet/Content/baseStyle.css b/MP-Tablet/Content/baseStyle.css index b633f45e..f4ff5b5a 100644 --- a/MP-Tablet/Content/baseStyle.css +++ b/MP-Tablet/Content/baseStyle.css @@ -56,6 +56,59 @@ body .ui-overlay-c { border-bottom-right-radius: 0; } /* END: gestione blocchi base */ +/* Gestione switch*/ +/* The switch - the box around the slider */ +.switch { + position: relative; + display: inline-block; + width: 60px; + height: 34px; +} +/* Hide default HTML checkbox */ +.switch input { + display: none; +} +/* The slider */ +.slider { + position: absolute; + cursor: pointer; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: #ccc; + -webkit-transition: .4s; + transition: .4s; +} +.slider:before { + position: absolute; + content: ""; + height: 26px; + width: 26px; + left: 4px; + bottom: 4px; + background-color: white; + -webkit-transition: .4s; + transition: .4s; +} +input:checked + .slider { + background-color: #2196F3; +} +input:focus + .slider { + box-shadow: 0 0 1px #2196F3; +} +input:checked + .slider:before { + -webkit-transform: translateX(26px); + -ms-transform: translateX(26px); + transform: translateX(26px); +} +/* Rounded sliders */ +.slider.round { + border-radius: 34px; +} +.slider.round:before { + border-radius: 50%; +} /* zona blocchi Sx/DX */ .divSx { float: left; diff --git a/MP-Tablet/Content/baseStyle.less b/MP-Tablet/Content/baseStyle.less index fc44318b..99abd574 100644 --- a/MP-Tablet/Content/baseStyle.less +++ b/MP-Tablet/Content/baseStyle.less @@ -63,6 +63,69 @@ body { } /* END: gestione blocchi base */ +/* Gestione switch*/ +/* The switch - the box around the slider */ +.switch { + position: relative; + display: inline-block; + width: 60px; + height: 34px; +} + + /* Hide default HTML checkbox */ + .switch input { + display: none; + } + +/* The slider */ +.slider { + position: absolute; + cursor: pointer; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: #ccc; + -webkit-transition: .4s; + transition: .4s; +} + + .slider:before { + position: absolute; + content: ""; + height: 26px; + width: 26px; + left: 4px; + bottom: 4px; + background-color: white; + -webkit-transition: .4s; + transition: .4s; + } + +input:checked + .slider { + background-color: #2196F3; +} + +input:focus + .slider { + box-shadow: 0 0 1px #2196F3; +} + +input:checked + .slider:before { + -webkit-transform: translateX(26px); + -ms-transform: translateX(26px); + transform: translateX(26px); +} + +/* Rounded sliders */ +.slider.round { + border-radius: 34px; +} + + .slider.round:before { + border-radius: 50%; + } + + /* zona blocchi Sx/DX */ .divSx { float: left; diff --git a/MP-Tablet/Content/baseStyle.min.css b/MP-Tablet/Content/baseStyle.min.css index 03ac765c..3fff6f6f 100644 --- a/MP-Tablet/Content/baseStyle.min.css +++ b/MP-Tablet/Content/baseStyle.min.css @@ -1 +1 @@ -body{font-family:'Open Sans',sans-serif;color:#fff;background-image:linear-gradient(#444,#222);}body .ui-body-a,body .ui-body-c,body .ui-overlay-c{text-shadow:0 0 0;}.bodyDark{color:#fff;background-image:linear-gradient(#444,#222);}.bg-black{color:#fff;background-image:linear-gradient(#111,#000);}.titleBlock{font-family:'Open Sans Condensed',sans-serif;}.mapBlock{font-family:'Open Sans Condensed',sans-serif;color:#fff;background-image:linear-gradient(#111,#000);box-shadow:15px 15px 20px 0 rgba(150,150,150,.2),10px 10px 20px 0 rgba(200,200,200,.39);min-width:13em;}.rCAll{border-radius:10px;}.rCTop{border-radius:10px 10px 0 0;}.rCBot{border-radius:0 0 10px 10px;}.labelTopDx{padding:.1em .4em;width:auto;min-height:0;top:0;left:auto;bottom:auto;color:#c0c0c0;background:#909;background:rgba(153,0,153,.8);-webkit-border-top-right-radius:inherit;border-top-right-radius:inherit;-webkit-border-bottom-left-radius:inherit;border-bottom-left-radius:inherit;-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0;}.divSx{float:left;padding:0;margin:0;}.divDx{float:right;padding:0;margin:0;}.divCenter{float:none;text-align:center;padding:0;margin:0 auto 0 auto;}.clearDiv{clear:both;}.stdFont{color:#000;text-shadow:0 0 0 #111;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}.rowStyle{background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f1f1f1));background-image:-webkit-linear-gradient(#fff,#f1f1f1);background-image:-moz-linear-gradient(#fff,#f1f1f1);background-image:-ms-linear-gradient(#fff,#f1f1f1);background-image:-o-linear-gradient(#fff,#f1f1f1);background-image:linear-gradient(#fff,#f1f1f1);border:1px solid #cdcdcd;}.alternatingRowStyle{border:1px solid #cdcdcd;background-image:-webkit-gradient(linear,left top,left bottom,from(#ddf),to(#e1f1ff));background-image:-webkit-linear-gradient(#ddf,#e1f1ff);background-image:-moz-linear-gradient(#ddf,#e1f1ff);background-image:-ms-linear-gradient(#ddf,#e1f1ff);background-image:-o-linear-gradient(#ddf,#e1f1ff);background-image:linear-gradient(#ddf,#e1f1ff);}.my-page{background:#222;}.my-page .ui-title,.my-page .ui-li-aside{font-family:'Open Sans',sans-serif;font-weight:400;}.my-page .ui-header{color:#909;}.my-page .ui-footer{color:#666;}.my-page .ui-li-desc{color:#c0c0c0;}.my-page .ui-li-aside{color:#909;}.my-page .ui-listview .ui-li.ui-btn{background-image:none;border-color:#222;}@media all and (min-width:768px){.my-page .ui-content{padding:9px;}.my-page .ui-listview .ui-li.ui-btn{float:left;width:30.9333%;height:232px;margin:9px 1.2%;border-width:0;}.my-page .ui-listview .ui-li.ui-btn-inner{border:inherit;border-width:1px;margin:-1px;}.my-page .ui-listview .ui-btn-inner,.my-page .ui-listview .ui-btn-text,.my-page .ui-listview .ui-link-inherit,.my-page .ui-listview .ui-li-thumb{width:100%;height:100%;display:block;overflow:hidden;}.my-page .ui-listview .ui-link-inherit{padding:0 !important;position:relative;}.my-page .ui-listview .ui-li,.my-page .ui-listview .ui-btn-text,.my-page .ui-listview .ui-link-inherit,.my-page .ui-listview .ui-li-thumb{-webkit-border-radius:inherit;border-radius:inherit;}.my-page .ui-listview .ui-li-thumb{height:auto;max-width:100%;max-height:none;margin:0;left:0;z-index:-1;}.my-page .ui-listview .ui-icon{display:none;}.my-page .ui-listview .ui-li-heading,.my-page .ui-listview .ui-li-desc{font-family:'Open Sans Condensed',sans-serif;white-space:normal;overflow:visible;position:absolute;left:0;right:0;}.my-page .ui-listview .ui-li-heading{margin:0;padding:20px;bottom:50%;}.my-page .ui-listview .ui-li-desc{font-family:'Open Sans',sans-serif;margin:0;padding:0 20px;min-height:50%;bottom:0;line-height:1.5;}.ui-listview .ui-li-has-thumb .ui-li-heading,.ui-listview .ui-li-has-thumb .ui-li-desc{background:#111;background:rgba(0,0,0,.8);-webkit-background-clip:padding;background-clip:padding-box;}.ui-listview .ui-li-has-thumb .ui-li-heading{padding:10px;bottom:20%;}.ui-listview .ui-li-has-thumb .ui-li-desc{padding:0 10px;min-height:20%;-webkit-border-bottom-left-radius:inherit;border-bottom-left-radius:inherit;-webkit-border-bottom-right-radius:inherit;border-bottom-right-radius:inherit;}.my-page .ui-listview .ui-li-desc.ui-li-aside{padding:2px 10px;width:auto;min-height:0;top:0;left:auto;bottom:auto;color:#c0c0c0;background:#909;background:rgba(153,0,153,.85);-webkit-border-top-right-radius:inherit;border-top-right-radius:inherit;-webkit-border-bottom-left-radius:inherit;border-bottom-left-radius:inherit;-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0;}.my-page .ui-listview .ui-btn:not(.ui-focus){-moz-box-shadow:0 0 9px #111;-webkit-box-shadow:0 0 9px #111;box-shadow:0 0 9px #111;}.my-page .ui-listview .ui-btn:hover{-moz-box-shadow:0 0 12px #387bbe;-webkit-box-shadow:0 0 12px #387bbe;box-shadow:0 0 12px #387bbe;}.my-page .ui-listview .ui-btn{-webkit-transition:all 500ms ease;-moz-transition:all 500ms ease;-o-transition:all 500ms ease;-ms-transition:all 500ms ease;transition:all 500ms ease;}}@media all and (min-width:1020px){.my-page .ui-content{padding:10px;}.my-page .ui-listview{max-width:1000px;margin:0 auto;}.my-page .ui-listview .ui-li.ui-btn{width:23%;height:230px;margin:10px 1%;}}@media all and (min-width:1270px){.my-page .ui-content{padding:10px;}.my-page .ui-listview{max-width:1250px;margin:0 auto;}.my-page .ui-listview .ui-li.ui-btn{width:18%;height:230px;margin:10px 1%;}}@media all and (min-width:1520px){.my-page .ui-content{padding:10px;}.my-page .ui-listview{max-width:1500px;margin:0 auto;}.my-page .ui-listview .ui-li.ui-btn{width:14%;height:230px;margin:10px 1%;}}@media all and (min-width:1770px){.my-page .ui-content{padding:10px;}.my-page .ui-listview{max-width:1750px;margin:0 auto;}.my-page .ui-listview .ui-li.ui-btn{width:12%;height:230px;margin:10px 1%;}}@media all and (min-width:1900px){.my-page .ui-content{padding:10px;}.my-page .ui-listview{max-width:1900px;margin:0 auto;}.my-page .ui-listview .ui-li.ui-btn{width:10%;height:230px;margin:10px 1%;}}.sVe{text-align:left;background:#009036;background:rgba(0,255,80,.6);color:#ff0;}.sGi{text-align:left;background:#ffec00;background:rgba(255,220,0,.6);}.sRo{text-align:left;background-color:#e2001a;background:rgba(240,0,10,.6);}.sBl{text-align:left;background:#3690ff;background:rgba(0,80,255,.6);color:#ff0;}.sGr{text-align:left;background-color:#bcbcbc;background:rgba(180,180,180,.6);}#demo-page #left-panel.ui-panel{width:15em;}#demo-page #left-panel.ui-panel-closed{width:0;}#demo-page .ui-panel-position-left.ui-panel-display-reveal{left:0;}#demo-page .ui-panel-content-wrap-position-left.ui-panel-content-wrap-open,.ui-panel-dismiss-position-left.ui-panel-dismiss-open{left:15em;right:-15em;}#demo-page .ui-panel-animate.ui-panel-content-wrap-position-left.ui-panel-content-wrap-open.ui-panel-content-wrap-display-reveal{left:0;right:0;-webkit-transform:translate3d(15em,0,0);-moz-transform:translate3d(15em,0,0);transform:translate3d(15em,0,0);}#left-panel .ui-panel-inner>.ui-listview{margin-bottom:0;}#left-panel .ui-collapsible-set{margin:0;}#left-panel .ui-panel-inner>.ui-collapsible>.ui-collapsible-content{padding-top:0;padding-bottom:0;border-bottom:none;}#left-panel .ui-panel-inner>.ui-collapsible>.ui-collapsible-heading .ui-btn,#left-panel .ui-collapsible.ui-first-child .ui-collapsible-heading .ui-btn{border-top:none;}#left-panel .ui-collapsible-heading .ui-btn-inner{padding:.7em 40px .7em 15px;}#left-panel .ui-collapsible-set .ui-collapsible-heading .ui-btn-inner{padding:.5em 40px .5em 15px;font-size:14px;}#demo-page .ui-panel-inner>.ui-listview .ui-first-child{background:#eee;}#demo-page .ui-panel-display-reveal{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}#demo-page .ui-panel-content-wrap-position-left{-webkit-box-shadow:-5px 0 5px rgba(0,0,0,.15);-moz-box-shadow:-5px 0 5px rgba(0,0,0,.15);box-shadow:-5px 0 5px rgba(0,0,0,.15);}#demo-page .ui-body-d{background-image:url(../../_assets/img/bg-pattern.png);background-repeat:repeat-x;background-position:left bottom;}.article p{margin:0 0 1em;line-height:1.5;}.article p img{max-width:100%;}.article p:first-child{text-align:center;}.article small{display:block;font-size:75%;color:#c0c0c0;}.article p:last-child{text-align:right;}.article a.ui-btn{margin-right:2em;-webkit-border-radius:.4em;border-radius:.4em;}@media all and (min-width:769px){.article{max-width:994px;margin:0 auto;padding-top:4em;-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:2em;-moz-column-gap:2em;column-gap:2em;}.article a.ui-btn{-webkit-transform:translate3d(0,0,0);}} \ No newline at end of file +body{font-family:'Open Sans',sans-serif;color:#fff;background-image:linear-gradient(#444,#222);}body .ui-body-a,body .ui-body-c,body .ui-overlay-c{text-shadow:0 0 0;}.bodyDark{color:#fff;background-image:linear-gradient(#444,#222);}.bg-black{color:#fff;background-image:linear-gradient(#111,#000);}.titleBlock{font-family:'Open Sans Condensed',sans-serif;}.mapBlock{font-family:'Open Sans Condensed',sans-serif;color:#fff;background-image:linear-gradient(#111,#000);box-shadow:15px 15px 20px 0 rgba(150,150,150,.2),10px 10px 20px 0 rgba(200,200,200,.39);min-width:13em;}.rCAll{border-radius:10px;}.rCTop{border-radius:10px 10px 0 0;}.rCBot{border-radius:0 0 10px 10px;}.labelTopDx{padding:.1em .4em;width:auto;min-height:0;top:0;left:auto;bottom:auto;color:#c0c0c0;background:#909;background:rgba(153,0,153,.8);-webkit-border-top-right-radius:inherit;border-top-right-radius:inherit;-webkit-border-bottom-left-radius:inherit;border-bottom-left-radius:inherit;-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0;}.switch{position:relative;display:inline-block;width:60px;height:34px;}.switch input{display:none;}.slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;-webkit-transition:.4s;transition:.4s;}.slider:before{position:absolute;content:"";height:26px;width:26px;left:4px;bottom:4px;background-color:#fff;-webkit-transition:.4s;transition:.4s;}input:checked+.slider{background-color:#2196f3;}input:focus+.slider{box-shadow:0 0 1px #2196f3;}input:checked+.slider:before{-webkit-transform:translateX(26px);-ms-transform:translateX(26px);transform:translateX(26px);}.slider.round{border-radius:34px;}.slider.round:before{border-radius:50%;}.divSx{float:left;padding:0;margin:0;}.divDx{float:right;padding:0;margin:0;}.divCenter{float:none;text-align:center;padding:0;margin:0 auto 0 auto;}.clearDiv{clear:both;}.stdFont{color:#000;text-shadow:0 0 0 #111;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}.rowStyle{background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f1f1f1));background-image:-webkit-linear-gradient(#fff,#f1f1f1);background-image:-moz-linear-gradient(#fff,#f1f1f1);background-image:-ms-linear-gradient(#fff,#f1f1f1);background-image:-o-linear-gradient(#fff,#f1f1f1);background-image:linear-gradient(#fff,#f1f1f1);border:1px solid #cdcdcd;}.alternatingRowStyle{border:1px solid #cdcdcd;background-image:-webkit-gradient(linear,left top,left bottom,from(#ddf),to(#e1f1ff));background-image:-webkit-linear-gradient(#ddf,#e1f1ff);background-image:-moz-linear-gradient(#ddf,#e1f1ff);background-image:-ms-linear-gradient(#ddf,#e1f1ff);background-image:-o-linear-gradient(#ddf,#e1f1ff);background-image:linear-gradient(#ddf,#e1f1ff);}.my-page{background:#222;}.my-page .ui-title,.my-page .ui-li-aside{font-family:'Open Sans',sans-serif;font-weight:400;}.my-page .ui-header{color:#909;}.my-page .ui-footer{color:#666;}.my-page .ui-li-desc{color:#c0c0c0;}.my-page .ui-li-aside{color:#909;}.my-page .ui-listview .ui-li.ui-btn{background-image:none;border-color:#222;}@media all and (min-width:768px){.my-page .ui-content{padding:9px;}.my-page .ui-listview .ui-li.ui-btn{float:left;width:30.9333%;height:232px;margin:9px 1.2%;border-width:0;}.my-page .ui-listview .ui-li.ui-btn-inner{border:inherit;border-width:1px;margin:-1px;}.my-page .ui-listview .ui-btn-inner,.my-page .ui-listview .ui-btn-text,.my-page .ui-listview .ui-link-inherit,.my-page .ui-listview .ui-li-thumb{width:100%;height:100%;display:block;overflow:hidden;}.my-page .ui-listview .ui-link-inherit{padding:0 !important;position:relative;}.my-page .ui-listview .ui-li,.my-page .ui-listview .ui-btn-text,.my-page .ui-listview .ui-link-inherit,.my-page .ui-listview .ui-li-thumb{-webkit-border-radius:inherit;border-radius:inherit;}.my-page .ui-listview .ui-li-thumb{height:auto;max-width:100%;max-height:none;margin:0;left:0;z-index:-1;}.my-page .ui-listview .ui-icon{display:none;}.my-page .ui-listview .ui-li-heading,.my-page .ui-listview .ui-li-desc{font-family:'Open Sans Condensed',sans-serif;white-space:normal;overflow:visible;position:absolute;left:0;right:0;}.my-page .ui-listview .ui-li-heading{margin:0;padding:20px;bottom:50%;}.my-page .ui-listview .ui-li-desc{font-family:'Open Sans',sans-serif;margin:0;padding:0 20px;min-height:50%;bottom:0;line-height:1.5;}.ui-listview .ui-li-has-thumb .ui-li-heading,.ui-listview .ui-li-has-thumb .ui-li-desc{background:#111;background:rgba(0,0,0,.8);-webkit-background-clip:padding;background-clip:padding-box;}.ui-listview .ui-li-has-thumb .ui-li-heading{padding:10px;bottom:20%;}.ui-listview .ui-li-has-thumb .ui-li-desc{padding:0 10px;min-height:20%;-webkit-border-bottom-left-radius:inherit;border-bottom-left-radius:inherit;-webkit-border-bottom-right-radius:inherit;border-bottom-right-radius:inherit;}.my-page .ui-listview .ui-li-desc.ui-li-aside{padding:2px 10px;width:auto;min-height:0;top:0;left:auto;bottom:auto;color:#c0c0c0;background:#909;background:rgba(153,0,153,.85);-webkit-border-top-right-radius:inherit;border-top-right-radius:inherit;-webkit-border-bottom-left-radius:inherit;border-bottom-left-radius:inherit;-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0;}.my-page .ui-listview .ui-btn:not(.ui-focus){-moz-box-shadow:0 0 9px #111;-webkit-box-shadow:0 0 9px #111;box-shadow:0 0 9px #111;}.my-page .ui-listview .ui-btn:hover{-moz-box-shadow:0 0 12px #387bbe;-webkit-box-shadow:0 0 12px #387bbe;box-shadow:0 0 12px #387bbe;}.my-page .ui-listview .ui-btn{-webkit-transition:all 500ms ease;-moz-transition:all 500ms ease;-o-transition:all 500ms ease;-ms-transition:all 500ms ease;transition:all 500ms ease;}}@media all and (min-width:1020px){.my-page .ui-content{padding:10px;}.my-page .ui-listview{max-width:1000px;margin:0 auto;}.my-page .ui-listview .ui-li.ui-btn{width:23%;height:230px;margin:10px 1%;}}@media all and (min-width:1270px){.my-page .ui-content{padding:10px;}.my-page .ui-listview{max-width:1250px;margin:0 auto;}.my-page .ui-listview .ui-li.ui-btn{width:18%;height:230px;margin:10px 1%;}}@media all and (min-width:1520px){.my-page .ui-content{padding:10px;}.my-page .ui-listview{max-width:1500px;margin:0 auto;}.my-page .ui-listview .ui-li.ui-btn{width:14%;height:230px;margin:10px 1%;}}@media all and (min-width:1770px){.my-page .ui-content{padding:10px;}.my-page .ui-listview{max-width:1750px;margin:0 auto;}.my-page .ui-listview .ui-li.ui-btn{width:12%;height:230px;margin:10px 1%;}}@media all and (min-width:1900px){.my-page .ui-content{padding:10px;}.my-page .ui-listview{max-width:1900px;margin:0 auto;}.my-page .ui-listview .ui-li.ui-btn{width:10%;height:230px;margin:10px 1%;}}.sVe{text-align:left;background:#009036;background:rgba(0,255,80,.6);color:#ff0;}.sGi{text-align:left;background:#ffec00;background:rgba(255,220,0,.6);}.sRo{text-align:left;background-color:#e2001a;background:rgba(240,0,10,.6);}.sBl{text-align:left;background:#3690ff;background:rgba(0,80,255,.6);color:#ff0;}.sGr{text-align:left;background-color:#bcbcbc;background:rgba(180,180,180,.6);}#demo-page #left-panel.ui-panel{width:15em;}#demo-page #left-panel.ui-panel-closed{width:0;}#demo-page .ui-panel-position-left.ui-panel-display-reveal{left:0;}#demo-page .ui-panel-content-wrap-position-left.ui-panel-content-wrap-open,.ui-panel-dismiss-position-left.ui-panel-dismiss-open{left:15em;right:-15em;}#demo-page .ui-panel-animate.ui-panel-content-wrap-position-left.ui-panel-content-wrap-open.ui-panel-content-wrap-display-reveal{left:0;right:0;-webkit-transform:translate3d(15em,0,0);-moz-transform:translate3d(15em,0,0);transform:translate3d(15em,0,0);}#left-panel .ui-panel-inner>.ui-listview{margin-bottom:0;}#left-panel .ui-collapsible-set{margin:0;}#left-panel .ui-panel-inner>.ui-collapsible>.ui-collapsible-content{padding-top:0;padding-bottom:0;border-bottom:none;}#left-panel .ui-panel-inner>.ui-collapsible>.ui-collapsible-heading .ui-btn,#left-panel .ui-collapsible.ui-first-child .ui-collapsible-heading .ui-btn{border-top:none;}#left-panel .ui-collapsible-heading .ui-btn-inner{padding:.7em 40px .7em 15px;}#left-panel .ui-collapsible-set .ui-collapsible-heading .ui-btn-inner{padding:.5em 40px .5em 15px;font-size:14px;}#demo-page .ui-panel-inner>.ui-listview .ui-first-child{background:#eee;}#demo-page .ui-panel-display-reveal{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}#demo-page .ui-panel-content-wrap-position-left{-webkit-box-shadow:-5px 0 5px rgba(0,0,0,.15);-moz-box-shadow:-5px 0 5px rgba(0,0,0,.15);box-shadow:-5px 0 5px rgba(0,0,0,.15);}#demo-page .ui-body-d{background-image:url(../../_assets/img/bg-pattern.png);background-repeat:repeat-x;background-position:left bottom;}.article p{margin:0 0 1em;line-height:1.5;}.article p img{max-width:100%;}.article p:first-child{text-align:center;}.article small{display:block;font-size:75%;color:#c0c0c0;}.article p:last-child{text-align:right;}.article a.ui-btn{margin-right:2em;-webkit-border-radius:.4em;border-radius:.4em;}@media all and (min-width:769px){.article{max-width:994px;margin:0 auto;padding-top:4em;-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:2em;-moz-column-gap:2em;column-gap:2em;}.article a.ui-btn{-webkit-transform:translate3d(0,0,0);}} \ No newline at end of file diff --git a/MP-Tablet/Dichiarazione.aspx.designer.cs b/MP-Tablet/Dichiarazione.aspx.designer.cs index 60c703d8..ddd481e4 100644 --- a/MP-Tablet/Dichiarazione.aspx.designer.cs +++ b/MP-Tablet/Dichiarazione.aspx.designer.cs @@ -1,42 +1,41 @@ //------------------------------------------------------------------------------ -// -// This code was generated by a tool. +// +// Codice generato da uno strumento. // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// //------------------------------------------------------------------------------ -namespace MoonProTablet -{ - - +namespace MoonProTablet { + + public partial class Dichiarazione { /// - /// mod_dettMacchina1 control. + /// Controllo mod_dettMacchina1. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::MoonProTablet.WebUserControls.mod_dettMacchina mod_dettMacchina1; /// - /// mod_insComm1 control. + /// Controllo mod_insComm1. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::MoonProTablet.WebUserControls.mod_insComm mod_insComm1; /// - /// mod_dichiarazione1 control. + /// Controllo mod_dichiarazione1. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::MoonProTablet.WebUserControls.mod_dichiarazione mod_dichiarazione1; } diff --git a/MP-Tablet/Site.Mobile.Master b/MP-Tablet/Site.Mobile.Master deleted file mode 100644 index 1f47f661..00000000 --- a/MP-Tablet/Site.Mobile.Master +++ /dev/null @@ -1,23 +0,0 @@ -<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.Mobile.master.cs" Inherits="MoonProTablet.Site_Mobile" %> -<%@ Register Src="~/ViewSwitcher.ascx" TagPrefix="friendlyUrls" TagName="ViewSwitcher" %> - - - - - - - - - -
-
-

Mobile Master Page

- -
- -
- -
-
- - diff --git a/MP-Tablet/Site.Mobile.Master.cs b/MP-Tablet/Site.Mobile.Master.cs deleted file mode 100644 index b3dc0aef..00000000 --- a/MP-Tablet/Site.Mobile.Master.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace MoonProTablet -{ - public partial class Site_Mobile : System.Web.UI.MasterPage - { - protected void Page_Load(object sender, EventArgs e) - { - - } - } -} \ No newline at end of file diff --git a/MP-Tablet/Site.Mobile.Master.designer.cs b/MP-Tablet/Site.Mobile.Master.designer.cs deleted file mode 100644 index bb959219..00000000 --- a/MP-Tablet/Site.Mobile.Master.designer.cs +++ /dev/null @@ -1,52 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace MoonProTablet -{ - - - public partial class Site_Mobile { - - /// - /// HeadContent control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.ContentPlaceHolder HeadContent; - - /// - /// form1 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.HtmlControls.HtmlForm form1; - - /// - /// FeaturedContent control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.ContentPlaceHolder FeaturedContent; - - /// - /// MainContent control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.ContentPlaceHolder MainContent; - } -} diff --git a/MP-Tablet/Turni.aspx b/MP-Tablet/Turni.aspx index 85bf1f6d..ed381caf 100644 --- a/MP-Tablet/Turni.aspx +++ b/MP-Tablet/Turni.aspx @@ -1,15 +1,18 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/jQueryMobile.Master" AutoEventWireup="true" CodeBehind="Turni.aspx.cs" - Inherits="MoonProTablet.Turni" %> +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Bootstrap.Master" AutoEventWireup="true" CodeBehind="Turni.aspx.cs" + Inherits="MoonProTablet.Turni" %> <%@ Register Src="WebUserControls/mod_dettMacchina.ascx" TagName="mod_dettMacchina" TagPrefix="uc1" %> <%@ Register Src="WebUserControls/mod_turni.ascx" TagName="mod_turni" TagPrefix="uc2" %> - - + -
+
+
+
-
-
+
+
+
+
diff --git a/MP-Tablet/Turni.aspx.designer.cs b/MP-Tablet/Turni.aspx.designer.cs index 71c3ca71..9bd2fb37 100644 --- a/MP-Tablet/Turni.aspx.designer.cs +++ b/MP-Tablet/Turni.aspx.designer.cs @@ -1,33 +1,32 @@ //------------------------------------------------------------------------------ -// -// This code was generated by a tool. +// +// Codice generato da uno strumento. // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// //------------------------------------------------------------------------------ -namespace MoonProTablet -{ - - +namespace MoonProTablet { + + public partial class Turni { /// - /// mod_dettMacchina1 control. + /// Controllo mod_dettMacchina1. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::MoonProTablet.WebUserControls.mod_dettMacchina mod_dettMacchina1; /// - /// mod_turni1 control. + /// Controllo mod_turni1. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::MoonProTablet.WebUserControls.mod_turni mod_turni1; } diff --git a/MP-Tablet/WebUserControls/mod_turni.ascx b/MP-Tablet/WebUserControls/mod_turni.ascx index 69e2ae9a..0558f05b 100644 --- a/MP-Tablet/WebUserControls/mod_turni.ascx +++ b/MP-Tablet/WebUserControls/mod_turni.ascx @@ -1,42 +1,31 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_turni.ascx.cs" Inherits="MoonProTablet.WebUserControls.mod_turni" %> - -
-
-
-

- Turno 1:

-
-
- - - - -
-
-
-
-

- Turno 2:

-
-
- - - - -
-
-
-
-

- Turno 3:

-
-
- - - - -
-
+
+
+

Turno 1:

+
+ +
+

Turno 2:

+
+
+ +
+
+

Turno 3:

+
+
+ +
- diff --git a/MP-Tablet/WebUserControls/mod_turni.ascx.cs b/MP-Tablet/WebUserControls/mod_turni.ascx.cs index d68579b9..dd040fe8 100644 --- a/MP-Tablet/WebUserControls/mod_turni.ascx.cs +++ b/MP-Tablet/WebUserControls/mod_turni.ascx.cs @@ -38,9 +38,10 @@ namespace MoonProTablet.WebUserControls try { DS_ProdTempi.TurniMacchinaRow rigaTurni = DataLayer.obj.taTurniMacc.getByIdxMacc(idxMacchina.ToString())[0]; - ddlT1.SelectedValue = rigaTurni.T1.ToString(); - ddlT2.SelectedValue = rigaTurni.T2.ToString(); - ddlT3.SelectedValue = rigaTurni.T3.ToString(); + // fix checkboxes + chkT1.Checked = rigaTurni.T1; + chkT2.Checked = rigaTurni.T2; + chkT3.Checked = rigaTurni.T3; } catch { } @@ -55,17 +56,17 @@ namespace MoonProTablet.WebUserControls setupTurni(); } - protected void ddlT1_SelectedIndexChanged(object sender, EventArgs e) + protected void chkT1_CheckedChanged(object sender, EventArgs e) { toggleTurno(1); } - protected void ddlT2_SelectedIndexChanged(object sender, EventArgs e) + protected void chkT2_CheckedChanged(object sender, EventArgs e) { toggleTurno(2); } - protected void ddlT3_SelectedIndexChanged(object sender, EventArgs e) + protected void chkT3_CheckedChanged(object sender, EventArgs e) { toggleTurno(3); } diff --git a/MP-Tablet/WebUserControls/mod_turni.ascx.designer.cs b/MP-Tablet/WebUserControls/mod_turni.ascx.designer.cs index e0011eb6..8e9abc46 100644 --- a/MP-Tablet/WebUserControls/mod_turni.ascx.designer.cs +++ b/MP-Tablet/WebUserControls/mod_turni.ascx.designer.cs @@ -1,43 +1,42 @@ //------------------------------------------------------------------------------ -// -// This code was generated by a tool. +// +// Codice generato da uno strumento. // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// //------------------------------------------------------------------------------ -namespace MoonProTablet.WebUserControls -{ - - +namespace MoonProTablet.WebUserControls { + + public partial class mod_turni { /// - /// ddlT1 control. + /// Controllo chkT1. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// - protected global::System.Web.UI.WebControls.DropDownList ddlT1; + protected global::System.Web.UI.WebControls.CheckBox chkT1; /// - /// ddlT2 control. + /// Controllo chkT2. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// - protected global::System.Web.UI.WebControls.DropDownList ddlT2; + protected global::System.Web.UI.WebControls.CheckBox chkT2; /// - /// ddlT3 control. + /// Controllo chkT3. /// /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// - protected global::System.Web.UI.WebControls.DropDownList ddlT3; + protected global::System.Web.UI.WebControls.CheckBox chkT3; } }