From 0aa5e56c788ecce3f068f08d64ccea144d3f733c Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 28 Sep 2015 18:39:04 +0200 Subject: [PATCH] completata gestioen (grafica) user + auth + stato utente... --- GMW/Content/Style.css | 22 ++++ GMW/Content/Style.less | 26 +++++ GMW/Content/Style.min.css | 2 +- GMW/FullPage.master | 15 ++- GMW/FullPage.master.cs | 33 +++++- GMW/FullPage.master.designer.cs | 27 +++++ GMW/GMW.csproj | 8 ++ GMW/Web.config | 2 + GMW/WebUserControls/mod_numKey.ascx | 21 ++++ GMW/WebUserControls/mod_numKey.ascx.cs | 17 +++ .../mod_numKey.ascx.designer.cs | 17 +++ GMW/WebUserControls/mod_testata.ascx | 36 +++--- GMW/WebUserControls/mod_testata.ascx.cs | 106 ++++++++++++++++-- .../mod_testata.ascx.designer.cs | 13 +-- GMW/bin/GMW.dll | Bin 1759232 -> 1759744 bytes GMW/bin/GMW.dll.config | 2 + 16 files changed, 305 insertions(+), 42 deletions(-) create mode 100644 GMW/WebUserControls/mod_numKey.ascx create mode 100644 GMW/WebUserControls/mod_numKey.ascx.cs create mode 100644 GMW/WebUserControls/mod_numKey.ascx.designer.cs diff --git a/GMW/Content/Style.css b/GMW/Content/Style.css index 632ffcfc..560ff59d 100644 --- a/GMW/Content/Style.css +++ b/GMW/Content/Style.css @@ -20,6 +20,23 @@ .checkKo { color: #5f2121; } +.divNumKeyb { + float: right; + background-color: rgba(128, 255, 128, 0.5); + width: 20%; + min-width: 100px; + min-height: 400px; +} +.divMain { + float: none; +} +.divMainKeyb { + float: right; + width: 80%; +} +.img-thumbnail { + max-width: 70%; +} /*------------------------------------------------------------------ [ navbar / .navbar ] */ @@ -66,6 +83,11 @@ .navbar > .container-fluid .navbar-brand { margin-left: 0px; } +.navbar-inverse .navbar-nav > .active > a { + background: #333; + color: #F90; + margin: -5px; +} /*------------------------------------------------------------------ [ Subnavbar / .subnavbar ] */ diff --git a/GMW/Content/Style.less b/GMW/Content/Style.less index 0b3f7ea2..8ee223d2 100644 --- a/GMW/Content/Style.less +++ b/GMW/Content/Style.less @@ -19,13 +19,34 @@ .noShadows { text-shadow: none; } + .checkOk { color: #99FF99; } + .checkKo { color: #5f2121; } +.divNumKeyb { + float: right; + background-color: rgba(128,255,128, 0.5); + width: 20%; + min-width: 100px; + min-height: 400px; +} + +.divMain { + float: none; +} +.divMainKeyb { + float: right; + width: 80%; +} + +.img-thumbnail{ + max-width:70%; +} /*------------------------------------------------------------------ [ navbar / .navbar ] @@ -82,6 +103,11 @@ .navbar > .container-fluid .navbar-brand { margin-left: 0px; } +.navbar-inverse .navbar-nav > .active > a { + background: #333; + color: #F90; + margin: -5px; +} /*------------------------------------------------------------------ [ Subnavbar / .subnavbar ] diff --git a/GMW/Content/Style.min.css b/GMW/Content/Style.min.css index 0957be0f..4d301a92 100644 --- a/GMW/Content/Style.min.css +++ b/GMW/Content/Style.min.css @@ -1 +1 @@ -.warnRed{color:#f00}.warnOrange{color:#ffa500}.allOk{color:#008000}.nopadding{padding:0 !important;margin:0 !important}.noShadows{text-shadow:none}.checkOk{color:#9f9}.checkKo{color:#5f2121}.navbar.navbar-inverse .navbar-form .search-query{width:225px;margin-top:2px;background-color:#333;font-size:11px;font-weight:bold;line-height:20px;border-color:#000;border-radius:20px;box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0 rgba(255,255,255,.15)}.navbar.navbar-inverse .navbar-form .search-query:focus{background-color:#fff}.navbar.navbar-inverse .navbar-form .search-query::-webkit-input-placeholder{color:#666}.navbar.navbar-inverse .navbar-form .search-query::-moz-placeholder{color:#666}.nav>li>a{padding:4px 8px;font-size:1em;line-height:1em}.navbar-nav{margin:5px 2px}.navbar-brand{font-size:1.2em;line-height:1.3em;height:30px}.navbarSep{border-right:1px solid #999}.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:0}.subnavbar{margin-bottom:.5em;border-top:1px solid #595959}.subnavbar .subnav-toggle{display:none;padding:.5em 0;margin:0 auto;font-size:18px;text-align:center;color:#f90}.subnavbar .subnav-toggle:hover{text-decoration:none}.subnavbar .subnavbar-inner{height:80px;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#414141),to(#323232));background-image:-webkit-linear-gradient(top,#414141,0%,#323232,100%);background-image:-moz-linear-gradient(top,#414141 0%,#323232 100%);background-image:linear-gradient(to bottom,#414141 0%,#323232 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff414141',endColorstr='#ff323232',GradientType=0);border-bottom:1px solid #000}.subnavbar .btn-subnavbar{display:none;padding:10px 0 8px;color:#f90;font-size:16px;text-align:center;cursor:pointer}.subnavbar .btn-subnavbar:hover{text-decoration:none}.subnavbar .dropdown .caret{margin-top:-16px;border-top-color:#888;border-bottom-color:#888;opacity:35;filter:alpha(opacity=3500)}.subnavbar .dropdown.open .caret{display:none}.subnavbar .mainnav{display:inline-block;height:80px;padding:0;margin:0;border-left:1px solid #292929;border-right:1px solid #4a4a4a}.subnavbar .mainnav>li{float:left;min-width:90px;height:80px;padding:0;margin:0;text-align:center;list-style:none;border-left:1px solid #4a4a4a;border-right:1px solid #292929}.subnavbar .mainnav>li>a{display:block;height:100%;padding:0 15px;font-size:12px;font-weight:bold;color:#636363;text-shadow:1px 1px 1px rgba(0,0,0,.2)}.subnavbar .mainnav>li>a:hover{color:#888;text-decoration:none}.subnavbar .mainnav>li>a>i{position:relative;top:2px;display:inline-block;width:24px;height:24px;margin-top:12px;margin-bottom:9px;font-size:28px}.subnavbar .mainnav>li>a>span{display:block;padding-bottom:2px}.subnavbar .mainnav>li.open>a{text-decoration:none}.subnavbar .mainnav>li.active>a{background:#333;color:#f90}.subnavbar .mainnav>li.active>a .caret{border-top-color:#f90;border-bottom-color:#f90}.subnavbar .dropdown>.dropdown-menu{top:97%;text-align:left;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;border-top-left-radius:0;border-top-right-radius:0}.subnavbar .dropdown>.dropdown-menu a{font-size:12px}.subnavbar .dropdown>.dropdown-menu::before,.subnavbar .dropdown>.dropdown-menu::after{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,.2);position:absolute;top:-7px;left:9px}.subnavbar .dropdown>.dropdown-menu::after{border-left-width:6px;border-right-width:6px;border-bottom-width:6px;border-bottom-color:#fff;top:-6px;left:10px}.subnavbar .dropdown-submenu .dropdown-menu:after,.subnavbar .dropdown-submenu .dropdown-menu:before{display:none}.subnavbar .subnav-collapse.collapse{height:auto\9;overflow:visible\9}.shortcuts{text-align:center}.shortcuts .shortcut{width:110px;display:inline-block;padding:15px 0;margin:0 5px 1em;vertical-align:top;text-decoration:none;background:#f3f3f3;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fff),to(#eee));background-image:-webkit-linear-gradient(top,#fff,0%,#eee,100%);background-image:-moz-linear-gradient(top,#fff 0%,#eee 100%);background-image:linear-gradient(to bottom,#fff 0%,#eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffeeeeee',GradientType=0);border:1px solid #ddd;box-sizing:border-box;border-radius:5px}.shortcuts .shortcut .shortcut-icon{width:100%;margin-top:0;margin-bottom:0;font-size:32px;color:#555}.shortcuts .shortcut:hover{background:#e8e8e8;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fafafa),to(#e1e1e1));background-image:-webkit-linear-gradient(top,#fafafa,0%,#e1e1e1,100%);background-image:-moz-linear-gradient(top,#fafafa 0%,#e1e1e1 100%);background-image:linear-gradient(to bottom,#fafafa 0%,#e1e1e1 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa',endColorstr='#ffe1e1e1',GradientType=0)}.shortcuts .shortcut:active{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.shortcuts .shortcut:hover .shortcut-icon{color:#666}.shortcuts .shortcut-label{display:block;margin-top:.75em;font-weight:400;color:#666}.widget{position:relative;clear:both;width:auto;margin-bottom:2em}.widget .widget-header{position:relative;height:40px;line-height:40px;background:#e9e9e9;background:-moz-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#fafafa),color-stop(100%,#e9e9e9));background:-webkit-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-o-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-ms-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:linear-gradient(top,#fafafa 0%,#e9e9e9 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA',endColorstr='#E9E9E9');-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')";border:1px solid #d5d5d5;-webkit-border-top-left-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-topright:4px;border-top-left-radius:4px;border-top-right-radius:4px;-webkit-background-clip:padding-box}.widget .widget-header h3{top:0;position:relative;left:10px;display:inline-block;margin-right:3em;font-size:15px;font-weight:400;color:#555;line-height:18px;text-shadow:1px 1px 2px rgba(255,255,255,.5)}.widget .widget-header [class^="fa-"],.widget .widget-header [class*=" fa-"]{display:inline-block;margin-top:-3px;margin-left:13px;margin-right:-2px;font-size:16px;color:#555;vertical-align:middle}.widget .widget-content{padding:25px 15px 15px;background:#fff;border:1px solid #d5d5d5;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.widget .widget-header+.widget-content{border-top:none;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;border-top-left-radius:0;border-top-right-radius:0}.widget.widget-nopad .widget-content{padding:0}.widget .widget-content:before,.widget .widget-content:after{content:" ";display:table}.widget .widget-content:after{clear:both}.widget .widget-content:before,.widget .widget-content:after{content:" ";display:table}.widget .widget-content:after{clear:both}.widget.widget-table .widget-content{padding:0}.widget.widget-table .table{margin-bottom:0;border:none}.widget.widget-table .table tr td:first-child,.widget.widget-table .table tr th:first-child{border-left:none}.widget.widget-plain{background:transparent;border:none}.widget.widget-plain .widget-content{padding:0;background:transparent;border:none}.widget.widget-box .widget-content{background:#e3e3e3;background:#fff}.stacked{position:relative}.stacked:after,.stacked:before{content:'';position:absolute;display:block;height:1px;bottom:-2px;left:3px;right:3px;background-color:#fff;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;border:1px solid #d3d3d3;border-top:0}.stacked:before{bottom:-4px;left:6px;right:6px}.stats{width:100%;display:table;padding:0 0 0 10px;margin-top:.5em;margin-bottom:1.9em}.stats .stat{display:table-cell;width:40%;vertical-align:top;font-size:11px;font-weight:bold;color:#999}.stat-value{display:block;margin-bottom:.55em;font-size:30px;font-weight:bold;letter-spacing:-2px;color:#444}.stat-time{text-align:center;padding-top:1.5em}.stat-time .stat-value{color:#f90;font-size:40px}.stats #donut-chart{height:100px;margin-left:-20px}.news-items{padding:0;margin:1em 0 0}.news-items li{display:table;padding:0 2em 0 1.5em;padding-bottom:1em;margin-bottom:1em;border-bottom:1px dotted #ccc}.news-items li:last-child{padding-bottom:0;border:none}.news-item-date{display:table-cell}.news-item-detail{display:table-cell}.news-item-title{font-size:13px;font-weight:600}.news-item-date{width:75px;vertical-align:middle;text-align:right}.news-item-day{display:block;margin-bottom:.25em;font-size:24px;color:#888}.news-item-preview{margin-bottom:0;color:#777}.news-item-month{display:block;padding-right:1px;font-size:12px;font-weight:600;color:#888}.action-table .btn-small{padding:4px 5px 5px;font-size:10px}.action-table .td-actions{width:80px;text-align:center}.action-table .td-actions .btn{margin-right:.5em}.action-table .td-actions .btn:last-child{margin-rigth:0}@media(max-width:480px){.stats .stat{margin-bottom:3em}.stats .stat .stat-value{margin-bottom:.15em;font-size:20px}.stats{float:left;display:block;margin-bottom:0}#chart-stats{margin:2em 0 1em}}@media(max-width:480px){.error-container h1{font-size:72px}.shortcuts .shortcut{width:95px}.shortcuts .shortcut .shortcut-label{font-size:12px}.shortcuts .shortcut .shortcut-icon{font-size:24px}}@media(max-width:979px){.navbar-fixed-top{position:static;margin-bottom:0}.navbar .btn-navbar{font-size:16px;background:none;filter:none;border:none;-webkit-box-shadow:none;box-shadow:none}.navbar .container{padding:0 10px}.subnavbar .subnavbar .container{width:auto}}@media(max-width:768px){body{font-size:12px}.navbar .mainnav>li>a{padding:0 10px;font-size:1em;line-height:1em}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;font-size:1em;line-height:1em}.subnavbar .subnav-toggle{display:block}.extra{margin-right:-20px;margin-left:-20px}.main .container{padding:0}.main .row{margin-right:-15px;margin-left:-15px}.footer{margin-right:-20px;margin-left:-20px}.footer #footer-terms{margin-top:1em;text-align:left}.footer #footer-terms a{margin-left:0;margin-right:1em}.item-row{display:block}.item-row:before,.item-row:after{content:" ";display:table}.item-row:after{clear:both}.item-row .item-label{display:block;width:100%;margin-bottom:1.5em}.item-row .item-content{display:block;width:100%}.subnavbar{margin-left:-20px;margin-right:-20px}.subnavbar .btn-subnavbar{display:block}.subnavbar .subnavbar-inner{height:auto}.subnavbar .mainnav{display:block;width:100%;height:auto;margin-top:1em;margin-bottom:1.5em;border:none}.subnavbar .mainnav>li{float:none;width:100%;height:auto;margin-bottom:1em;text-align:left;border:none}.subnavbar .mainnav>li>a{display:block;margin-right:.5em;color:#ccc;font-weight:600;padding:0 10px;font-size:1em;line-height:1em}.subnavbar .mainnav>li>a>span{display:inline}.subnavbar .mainnav>li>a>i{display:inline;margin-right:.5em;margin-bottom:0;font-size:14px}.subnavbar .mainnav>li>a .caret{margin-top:-2px;margin-left:3px}.subnavbar .mainnav>li.active>a{color:#f90;background:transparent}.subnavbar .dropdown .dropdown-menu{position:static;float:none;width:100%;background:transparent;border:none;box-shadow:none}.subnavbar .dropdown .dropdown-menu a{padding:12px 40px;color:#fff;font-weight:600}.subnavbar .dropdown .dropdown-menu a:active,.subnavbar .dropdown .dropdown-menu a:focus{background:#555 !important;outline:none}.subnavbar .dropdown .dropdown-menu::before,.subnavbar .dropdown .dropdown-menu::after{display:none}.subnavbar .dropdown.open .caret{display:inline-block}.subnavbar .dropdown-submenu>a:after{display:none}.subnavbar .dropdown-submenu>.dropdown-menu{display:block}.subnavbar .dropdown-submenu>.dropdown-menu>li>a{padding-right:20px;padding-left:60px}}@media(min-width:768px){.subnav-collapse.collapse{display:block !important;height:auto !important;padding-bottom:0;overflow:visible !important}}@media(min-width:1200px){.navbar .container,.subnavbar .container{padding-right:0;padding-left:0}.page-title{margin-left:-15px}}.stileAttesa{background:#aaa;text-align:center}.stileComandoOk{background:#afa;text-align:center}.stileComandoKo{background:#ff9595;text-align:center}.stileComandoWarn{background:#ffc168;text-align:center}.stileComandoAdd{background:#aaf;text-align:center}.stileComandoND{background:#ffa;text-align:center}.sidebar{position:fixed;top:120px;bottom:24px;left:0;z-index:1000;display:block;padding:16px;overflow-x:hidden;overflow-y:auto;background-color:#f5f5f5;border-right:1px solid #eee}.ombra{box-shadow:0 20px 20px black}.ctrHeaderPager{background-color:#b8b8b8;color:#fff}.ctrHeaderPagerRight{background-color:#b8b8b8;font-weight:bold;color:#fff;text-align:right}.ctrHeaderPagerBlue{background-color:#507cd1;height:1px}.ctrHeaderPagerBlueRight{background-color:#507cd1;height:1px;text-align:right}.ctrFooter{background-color:#507cd1;font-weight:bold;color:#fff}.ctrRowStyle{background-color:#eff3fb}.ctrAltRowStyle{background-color:#fff}.ctrRowStyleRight{background-color:#eff3fb;text-align:right}.ctrAltRowStyleRight{background-color:#fff;text-align:right}.ctrInsRowStyle{background-color:#b8b8b8}.ctrEditRowStyle{background-color:#d1ddf1}.ctrSelRowStyle{font-weight:bold;color:#333;background-color:#d1ddf1}.ctrSelRowStyleYellow{font-weight:bold;color:#333;background-color:#ff0}.ctrCommRow{font-weight:bold;background-color:#d1ddf1}.ctrFiledHead{background-color:#dee8f5;font-weight:bold;width:25%}.ctrLabelStrong{font-weight:bold}.ctrFieldEdit{font-size:8pt}.sv{text-align:center;font-size:7pt;height:20px;background-image:url(../images/verde_20.png)}.sg{text-align:center;font-size:7pt;height:20px;background-image:url(../images/giallo_20.png)}.sr{text-align:center;font-size:7pt;height:20px;background-image:url(../images/rosso_20.png);color:#fff}.ss{text-align:center;font-size:7pt;height:20px;background-image:url(../images/grigio_20.png);color:#fff}.cellaLibera{text-align:center;font-size:8pt;height:40px;background-image:url(../images/grigioChiaro_80.png);border:solid 1px #777}.cellaSelezDett{text-align:center;font-size:8pt;height:40px;background-image:url(../images/giallo_80.png);border:solid 1px #777}.cellaOccupata{text-align:center;font-size:8pt;height:40px;background-image:url(../images/arancio_80.png);color:#fff;border:solid 1px #777}.cellaPiena{text-align:center;font-size:8pt;height:40px;background-image:url(../images/verde_80.png);color:#fff;border:solid 1px #777}.cellaInattiva{text-align:center;font-size:8pt;height:40px;background-image:url(../images/grigio_80.png);color:#fff;border:solid 1px #777}.cellaInattiva a{color:#fff}.cellaSelezAll{text-align:center;font-size:8pt;height:40px;background-image:url(../images/blu_80.png);border:solid 1px #777}.cellaBianca{text-align:center;font-size:8pt;font-weight:bold}.selectedCell{border:dashed 2px #000;text-align:center}.didascalia{color:#696969;font-size:7pt}.ShadowText{text-shadow:2px 2px 2px rgba(0,0,0,.4)}.boxShadowLight{-webkit-box-shadow:3px 3px 6px rgba(0,0,0,.1);-moz-box-shadow:3px 3px 6px rgba(0,0,0,.1);box-shadow:3px 3px 6px rgba(0,0,0,.1)}.boxShadowDark{-webkit-box-shadow:3px 3px 6px rgba(0,0,0,.3);-moz-box-shadow:3px 3px 6px rgba(0,0,0,.3);box-shadow:3px 3px 6px rgba(0,0,0,.3)} \ No newline at end of file +.warnRed{color:#f00}.warnOrange{color:#ffa500}.allOk{color:#008000}.nopadding{padding:0 !important;margin:0 !important}.noShadows{text-shadow:none}.checkOk{color:#9f9}.checkKo{color:#5f2121}.divNumKeyb{float:right;background-color:rgba(128,255,128,.5);width:20%;min-width:100px;min-height:400px}.divMain{float:none}.divMainKeyb{float:right;width:80%}.img-thumbnail{max-width:70%}.navbar.navbar-inverse .navbar-form .search-query{width:225px;margin-top:2px;background-color:#333;font-size:11px;font-weight:bold;line-height:20px;border-color:#000;border-radius:20px;box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0 rgba(255,255,255,.15)}.navbar.navbar-inverse .navbar-form .search-query:focus{background-color:#fff}.navbar.navbar-inverse .navbar-form .search-query::-webkit-input-placeholder{color:#666}.navbar.navbar-inverse .navbar-form .search-query::-moz-placeholder{color:#666}.nav>li>a{padding:4px 8px;font-size:1em;line-height:1em}.navbar-nav{margin:5px 2px}.navbar-brand{font-size:1.2em;line-height:1.3em;height:30px}.navbarSep{border-right:1px solid #999}.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:0}.navbar-inverse .navbar-nav>.active>a{background:#333;color:#f90;margin:-5px}.subnavbar{margin-bottom:.5em;border-top:1px solid #595959}.subnavbar .subnav-toggle{display:none;padding:.5em 0;margin:0 auto;font-size:18px;text-align:center;color:#f90}.subnavbar .subnav-toggle:hover{text-decoration:none}.subnavbar .subnavbar-inner{height:80px;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#414141),to(#323232));background-image:-webkit-linear-gradient(top,#414141,0%,#323232,100%);background-image:-moz-linear-gradient(top,#414141 0%,#323232 100%);background-image:linear-gradient(to bottom,#414141 0%,#323232 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff414141',endColorstr='#ff323232',GradientType=0);border-bottom:1px solid #000}.subnavbar .btn-subnavbar{display:none;padding:10px 0 8px;color:#f90;font-size:16px;text-align:center;cursor:pointer}.subnavbar .btn-subnavbar:hover{text-decoration:none}.subnavbar .dropdown .caret{margin-top:-16px;border-top-color:#888;border-bottom-color:#888;opacity:35;filter:alpha(opacity=3500)}.subnavbar .dropdown.open .caret{display:none}.subnavbar .mainnav{display:inline-block;height:80px;padding:0;margin:0;border-left:1px solid #292929;border-right:1px solid #4a4a4a}.subnavbar .mainnav>li{float:left;min-width:90px;height:80px;padding:0;margin:0;text-align:center;list-style:none;border-left:1px solid #4a4a4a;border-right:1px solid #292929}.subnavbar .mainnav>li>a{display:block;height:100%;padding:0 15px;font-size:12px;font-weight:bold;color:#636363;text-shadow:1px 1px 1px rgba(0,0,0,.2)}.subnavbar .mainnav>li>a:hover{color:#888;text-decoration:none}.subnavbar .mainnav>li>a>i{position:relative;top:2px;display:inline-block;width:24px;height:24px;margin-top:12px;margin-bottom:9px;font-size:28px}.subnavbar .mainnav>li>a>span{display:block;padding-bottom:2px}.subnavbar .mainnav>li.open>a{text-decoration:none}.subnavbar .mainnav>li.active>a{background:#333;color:#f90}.subnavbar .mainnav>li.active>a .caret{border-top-color:#f90;border-bottom-color:#f90}.subnavbar .dropdown>.dropdown-menu{top:97%;text-align:left;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;border-top-left-radius:0;border-top-right-radius:0}.subnavbar .dropdown>.dropdown-menu a{font-size:12px}.subnavbar .dropdown>.dropdown-menu::before,.subnavbar .dropdown>.dropdown-menu::after{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,.2);position:absolute;top:-7px;left:9px}.subnavbar .dropdown>.dropdown-menu::after{border-left-width:6px;border-right-width:6px;border-bottom-width:6px;border-bottom-color:#fff;top:-6px;left:10px}.subnavbar .dropdown-submenu .dropdown-menu:after,.subnavbar .dropdown-submenu .dropdown-menu:before{display:none}.subnavbar .subnav-collapse.collapse{height:auto\9;overflow:visible\9}.shortcuts{text-align:center}.shortcuts .shortcut{width:110px;display:inline-block;padding:15px 0;margin:0 5px 1em;vertical-align:top;text-decoration:none;background:#f3f3f3;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fff),to(#eee));background-image:-webkit-linear-gradient(top,#fff,0%,#eee,100%);background-image:-moz-linear-gradient(top,#fff 0%,#eee 100%);background-image:linear-gradient(to bottom,#fff 0%,#eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffeeeeee',GradientType=0);border:1px solid #ddd;box-sizing:border-box;border-radius:5px}.shortcuts .shortcut .shortcut-icon{width:100%;margin-top:0;margin-bottom:0;font-size:32px;color:#555}.shortcuts .shortcut:hover{background:#e8e8e8;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fafafa),to(#e1e1e1));background-image:-webkit-linear-gradient(top,#fafafa,0%,#e1e1e1,100%);background-image:-moz-linear-gradient(top,#fafafa 0%,#e1e1e1 100%);background-image:linear-gradient(to bottom,#fafafa 0%,#e1e1e1 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa',endColorstr='#ffe1e1e1',GradientType=0)}.shortcuts .shortcut:active{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.shortcuts .shortcut:hover .shortcut-icon{color:#666}.shortcuts .shortcut-label{display:block;margin-top:.75em;font-weight:400;color:#666}.widget{position:relative;clear:both;width:auto;margin-bottom:2em}.widget .widget-header{position:relative;height:40px;line-height:40px;background:#e9e9e9;background:-moz-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#fafafa),color-stop(100%,#e9e9e9));background:-webkit-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-o-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-ms-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:linear-gradient(top,#fafafa 0%,#e9e9e9 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA',endColorstr='#E9E9E9');-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')";border:1px solid #d5d5d5;-webkit-border-top-left-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-topright:4px;border-top-left-radius:4px;border-top-right-radius:4px;-webkit-background-clip:padding-box}.widget .widget-header h3{top:0;position:relative;left:10px;display:inline-block;margin-right:3em;font-size:15px;font-weight:400;color:#555;line-height:18px;text-shadow:1px 1px 2px rgba(255,255,255,.5)}.widget .widget-header [class^="fa-"],.widget .widget-header [class*=" fa-"]{display:inline-block;margin-top:-3px;margin-left:13px;margin-right:-2px;font-size:16px;color:#555;vertical-align:middle}.widget .widget-content{padding:25px 15px 15px;background:#fff;border:1px solid #d5d5d5;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.widget .widget-header+.widget-content{border-top:none;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;border-top-left-radius:0;border-top-right-radius:0}.widget.widget-nopad .widget-content{padding:0}.widget .widget-content:before,.widget .widget-content:after{content:" ";display:table}.widget .widget-content:after{clear:both}.widget .widget-content:before,.widget .widget-content:after{content:" ";display:table}.widget .widget-content:after{clear:both}.widget.widget-table .widget-content{padding:0}.widget.widget-table .table{margin-bottom:0;border:none}.widget.widget-table .table tr td:first-child,.widget.widget-table .table tr th:first-child{border-left:none}.widget.widget-plain{background:transparent;border:none}.widget.widget-plain .widget-content{padding:0;background:transparent;border:none}.widget.widget-box .widget-content{background:#e3e3e3;background:#fff}.stacked{position:relative}.stacked:after,.stacked:before{content:'';position:absolute;display:block;height:1px;bottom:-2px;left:3px;right:3px;background-color:#fff;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;border:1px solid #d3d3d3;border-top:0}.stacked:before{bottom:-4px;left:6px;right:6px}.stats{width:100%;display:table;padding:0 0 0 10px;margin-top:.5em;margin-bottom:1.9em}.stats .stat{display:table-cell;width:40%;vertical-align:top;font-size:11px;font-weight:bold;color:#999}.stat-value{display:block;margin-bottom:.55em;font-size:30px;font-weight:bold;letter-spacing:-2px;color:#444}.stat-time{text-align:center;padding-top:1.5em}.stat-time .stat-value{color:#f90;font-size:40px}.stats #donut-chart{height:100px;margin-left:-20px}.news-items{padding:0;margin:1em 0 0}.news-items li{display:table;padding:0 2em 0 1.5em;padding-bottom:1em;margin-bottom:1em;border-bottom:1px dotted #ccc}.news-items li:last-child{padding-bottom:0;border:none}.news-item-date{display:table-cell}.news-item-detail{display:table-cell}.news-item-title{font-size:13px;font-weight:600}.news-item-date{width:75px;vertical-align:middle;text-align:right}.news-item-day{display:block;margin-bottom:.25em;font-size:24px;color:#888}.news-item-preview{margin-bottom:0;color:#777}.news-item-month{display:block;padding-right:1px;font-size:12px;font-weight:600;color:#888}.action-table .btn-small{padding:4px 5px 5px;font-size:10px}.action-table .td-actions{width:80px;text-align:center}.action-table .td-actions .btn{margin-right:.5em}.action-table .td-actions .btn:last-child{margin-rigth:0}@media(max-width:480px){.stats .stat{margin-bottom:3em}.stats .stat .stat-value{margin-bottom:.15em;font-size:20px}.stats{float:left;display:block;margin-bottom:0}#chart-stats{margin:2em 0 1em}}@media(max-width:480px){.error-container h1{font-size:72px}.shortcuts .shortcut{width:95px}.shortcuts .shortcut .shortcut-label{font-size:12px}.shortcuts .shortcut .shortcut-icon{font-size:24px}}@media(max-width:979px){.navbar-fixed-top{position:static;margin-bottom:0}.navbar .btn-navbar{font-size:16px;background:none;filter:none;border:none;-webkit-box-shadow:none;box-shadow:none}.navbar .container{padding:0 10px}.subnavbar .subnavbar .container{width:auto}}@media(max-width:768px){body{font-size:12px}.navbar .mainnav>li>a{padding:0 10px;font-size:1em;line-height:1em}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;font-size:1em;line-height:1em}.subnavbar .subnav-toggle{display:block}.extra{margin-right:-20px;margin-left:-20px}.main .container{padding:0}.main .row{margin-right:-15px;margin-left:-15px}.footer{margin-right:-20px;margin-left:-20px}.footer #footer-terms{margin-top:1em;text-align:left}.footer #footer-terms a{margin-left:0;margin-right:1em}.item-row{display:block}.item-row:before,.item-row:after{content:" ";display:table}.item-row:after{clear:both}.item-row .item-label{display:block;width:100%;margin-bottom:1.5em}.item-row .item-content{display:block;width:100%}.subnavbar{margin-left:-20px;margin-right:-20px}.subnavbar .btn-subnavbar{display:block}.subnavbar .subnavbar-inner{height:auto}.subnavbar .mainnav{display:block;width:100%;height:auto;margin-top:1em;margin-bottom:1.5em;border:none}.subnavbar .mainnav>li{float:none;width:100%;height:auto;margin-bottom:1em;text-align:left;border:none}.subnavbar .mainnav>li>a{display:block;margin-right:.5em;color:#ccc;font-weight:600;padding:0 10px;font-size:1em;line-height:1em}.subnavbar .mainnav>li>a>span{display:inline}.subnavbar .mainnav>li>a>i{display:inline;margin-right:.5em;margin-bottom:0;font-size:14px}.subnavbar .mainnav>li>a .caret{margin-top:-2px;margin-left:3px}.subnavbar .mainnav>li.active>a{color:#f90;background:transparent}.subnavbar .dropdown .dropdown-menu{position:static;float:none;width:100%;background:transparent;border:none;box-shadow:none}.subnavbar .dropdown .dropdown-menu a{padding:12px 40px;color:#fff;font-weight:600}.subnavbar .dropdown .dropdown-menu a:active,.subnavbar .dropdown .dropdown-menu a:focus{background:#555 !important;outline:none}.subnavbar .dropdown .dropdown-menu::before,.subnavbar .dropdown .dropdown-menu::after{display:none}.subnavbar .dropdown.open .caret{display:inline-block}.subnavbar .dropdown-submenu>a:after{display:none}.subnavbar .dropdown-submenu>.dropdown-menu{display:block}.subnavbar .dropdown-submenu>.dropdown-menu>li>a{padding-right:20px;padding-left:60px}}@media(min-width:768px){.subnav-collapse.collapse{display:block !important;height:auto !important;padding-bottom:0;overflow:visible !important}}@media(min-width:1200px){.navbar .container,.subnavbar .container{padding-right:0;padding-left:0}.page-title{margin-left:-15px}}.stileAttesa{background:#aaa;text-align:center}.stileComandoOk{background:#afa;text-align:center}.stileComandoKo{background:#ff9595;text-align:center}.stileComandoWarn{background:#ffc168;text-align:center}.stileComandoAdd{background:#aaf;text-align:center}.stileComandoND{background:#ffa;text-align:center}.sidebar{position:fixed;top:120px;bottom:24px;left:0;z-index:1000;display:block;padding:16px;overflow-x:hidden;overflow-y:auto;background-color:#f5f5f5;border-right:1px solid #eee}.ombra{box-shadow:0 20px 20px black}.ctrHeaderPager{background-color:#b8b8b8;color:#fff}.ctrHeaderPagerRight{background-color:#b8b8b8;font-weight:bold;color:#fff;text-align:right}.ctrHeaderPagerBlue{background-color:#507cd1;height:1px}.ctrHeaderPagerBlueRight{background-color:#507cd1;height:1px;text-align:right}.ctrFooter{background-color:#507cd1;font-weight:bold;color:#fff}.ctrRowStyle{background-color:#eff3fb}.ctrAltRowStyle{background-color:#fff}.ctrRowStyleRight{background-color:#eff3fb;text-align:right}.ctrAltRowStyleRight{background-color:#fff;text-align:right}.ctrInsRowStyle{background-color:#b8b8b8}.ctrEditRowStyle{background-color:#d1ddf1}.ctrSelRowStyle{font-weight:bold;color:#333;background-color:#d1ddf1}.ctrSelRowStyleYellow{font-weight:bold;color:#333;background-color:#ff0}.ctrCommRow{font-weight:bold;background-color:#d1ddf1}.ctrFiledHead{background-color:#dee8f5;font-weight:bold;width:25%}.ctrLabelStrong{font-weight:bold}.ctrFieldEdit{font-size:8pt}.sv{text-align:center;font-size:7pt;height:20px;background-image:url(../images/verde_20.png)}.sg{text-align:center;font-size:7pt;height:20px;background-image:url(../images/giallo_20.png)}.sr{text-align:center;font-size:7pt;height:20px;background-image:url(../images/rosso_20.png);color:#fff}.ss{text-align:center;font-size:7pt;height:20px;background-image:url(../images/grigio_20.png);color:#fff}.cellaLibera{text-align:center;font-size:8pt;height:40px;background-image:url(../images/grigioChiaro_80.png);border:solid 1px #777}.cellaSelezDett{text-align:center;font-size:8pt;height:40px;background-image:url(../images/giallo_80.png);border:solid 1px #777}.cellaOccupata{text-align:center;font-size:8pt;height:40px;background-image:url(../images/arancio_80.png);color:#fff;border:solid 1px #777}.cellaPiena{text-align:center;font-size:8pt;height:40px;background-image:url(../images/verde_80.png);color:#fff;border:solid 1px #777}.cellaInattiva{text-align:center;font-size:8pt;height:40px;background-image:url(../images/grigio_80.png);color:#fff;border:solid 1px #777}.cellaInattiva a{color:#fff}.cellaSelezAll{text-align:center;font-size:8pt;height:40px;background-image:url(../images/blu_80.png);border:solid 1px #777}.cellaBianca{text-align:center;font-size:8pt;font-weight:bold}.selectedCell{border:dashed 2px #000;text-align:center}.didascalia{color:#696969;font-size:7pt}.ShadowText{text-shadow:2px 2px 2px rgba(0,0,0,.4)}.boxShadowLight{-webkit-box-shadow:3px 3px 6px rgba(0,0,0,.1);-moz-box-shadow:3px 3px 6px rgba(0,0,0,.1);box-shadow:3px 3px 6px rgba(0,0,0,.1)}.boxShadowDark{-webkit-box-shadow:3px 3px 6px rgba(0,0,0,.3);-moz-box-shadow:3px 3px 6px rgba(0,0,0,.3);box-shadow:3px 3px 6px rgba(0,0,0,.3)} \ No newline at end of file diff --git a/GMW/FullPage.master b/GMW/FullPage.master index 4570fa40..8658ea42 100644 --- a/GMW/FullPage.master +++ b/GMW/FullPage.master @@ -1,5 +1,8 @@ <%@ Master Language="C#" MasterPageFile="~/Bootstrap.Master" AutoEventWireup="true" CodeBehind="FullPage.master.cs" Inherits="GMW.FullPage" %> +<%@ Register Src="~/WebUserControls/mod_numKey.ascx" TagPrefix="uc1" TagName="mod_numKey" %> + + @@ -9,6 +12,14 @@ - - +
+
+
+ NUMERIC KEYPAD + +
+
+ + +
diff --git a/GMW/FullPage.master.cs b/GMW/FullPage.master.cs index 709f0347..274d0ad5 100644 --- a/GMW/FullPage.master.cs +++ b/GMW/FullPage.master.cs @@ -1,4 +1,5 @@ -using System; +using SteamWare; +using System; using System.Collections.Generic; using System.Linq; using System.Web; @@ -11,7 +12,35 @@ namespace GMW { protected void Page_Load(object sender, EventArgs e) { - + if(!Page.IsPostBack) + { + // se è richiesto mostro calcolatrice e di conseguenza imposto DIV... altrimenti + if(showCalc) + { + divMain.Attributes.Remove("class"); + divMain.Attributes.Add("class", "divMainKeyb"); + } + divNumKeyb.Visible = showCalc; + } } + + protected bool showCalc + { + get + { + bool answ = false; + // cerco da sessione SE C'E'... + if(memLayer.ML.isInSessionObject("showNumKey")) + { + answ = memLayer.ML.BoolSessionObj("showNumKey"); + } + else + { + // cerco da web.config + answ = memLayer.ML.CRB("showNumKey"); + } + return answ; + } + } } } \ No newline at end of file diff --git a/GMW/FullPage.master.designer.cs b/GMW/FullPage.master.designer.cs index 6b3993a8..24b4cab5 100644 --- a/GMW/FullPage.master.designer.cs +++ b/GMW/FullPage.master.designer.cs @@ -30,6 +30,33 @@ namespace GMW { /// protected global::System.Web.UI.WebControls.ContentPlaceHolder FeaturedContent; + /// + /// divNumKeyb control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl divNumKeyb; + + /// + /// mod_numKey control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_numKey mod_numKey; + + /// + /// divMain control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl divMain; + /// /// MCon control. /// diff --git a/GMW/GMW.csproj b/GMW/GMW.csproj index f9131cee..287f0561 100644 --- a/GMW/GMW.csproj +++ b/GMW/GMW.csproj @@ -481,6 +481,7 @@ + @@ -1526,6 +1527,13 @@ mod_metodiNoSearch.ascx + + mod_numKey.ascx + ASPXCodeBehind + + + mod_numKey.ascx + mod_nuovaListaPrelievo.ascx ASPXCodeBehind diff --git a/GMW/Web.config b/GMW/Web.config index fb91da8c..5203720b 100644 --- a/GMW/Web.config +++ b/GMW/Web.config @@ -70,6 +70,8 @@ + + diff --git a/GMW/WebUserControls/mod_numKey.ascx b/GMW/WebUserControls/mod_numKey.ascx new file mode 100644 index 00000000..80db3e09 --- /dev/null +++ b/GMW/WebUserControls/mod_numKey.ascx @@ -0,0 +1,21 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_numKey.ascx.cs" Inherits="GMW.WebUserControls.mod_numKey" %> +
+
7
+
8
+
9
+
+
+
4
+
5
+
6
+
+
+
1
+
2
+
3
+
+
+
-
+
0
+
+
+
\ No newline at end of file diff --git a/GMW/WebUserControls/mod_numKey.ascx.cs b/GMW/WebUserControls/mod_numKey.ascx.cs new file mode 100644 index 00000000..fd2eb604 --- /dev/null +++ b/GMW/WebUserControls/mod_numKey.ascx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW.WebUserControls +{ + public partial class mod_numKey : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/GMW/WebUserControls/mod_numKey.ascx.designer.cs b/GMW/WebUserControls/mod_numKey.ascx.designer.cs new file mode 100644 index 00000000..71c86dd2 --- /dev/null +++ b/GMW/WebUserControls/mod_numKey.ascx.designer.cs @@ -0,0 +1,17 @@ +//------------------------------------------------------------------------------ +// +// 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 GMW.WebUserControls +{ + + + public partial class mod_numKey + { + } +} diff --git a/GMW/WebUserControls/mod_testata.ascx b/GMW/WebUserControls/mod_testata.ascx index a3a61098..32c944d9 100644 --- a/GMW/WebUserControls/mod_testata.ascx +++ b/GMW/WebUserControls/mod_testata.ascx @@ -8,23 +8,33 @@