diff --git a/C2P/C2P.csproj b/C2P/C2P.csproj index 079ac9b..a1a91a6 100644 --- a/C2P/C2P.csproj +++ b/C2P/C2P.csproj @@ -281,8 +281,14 @@ + + + + + + @@ -486,6 +492,13 @@ mod_autocomplete.ascx + + mod_display.ascx + ASPXCodeBehind + + + mod_display.ascx + mod_lemmiVocab.ascx ASPXCodeBehind @@ -521,6 +534,41 @@ mod_QuoteList.ascx + + mod_Q_Costs.ascx + ASPXCodeBehind + + + mod_Q_Costs.ascx + + + mod_Q_ExtrPar.ascx + ASPXCodeBehind + + + mod_Q_ExtrPar.ascx + + + mod_Q_Header.ascx + ASPXCodeBehind + + + mod_Q_Header.ascx + + + mod_Q_PackPar.ascx + ASPXCodeBehind + + + mod_Q_PackPar.ascx + + + mod_Q_Quot.ascx + ASPXCodeBehind + + + mod_Q_Quot.ascx + mod_selPeriodo.ascx ASPXCodeBehind diff --git a/C2P/Content/Style.css b/C2P/Content/Style.css index 7ed42d7..05f7577 100644 --- a/C2P/Content/Style.css +++ b/C2P/Content/Style.css @@ -32,6 +32,11 @@ a:focus { outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } +/* linea separazione bottom */ +.bottomLine { + padding-bottom: 1px; + border-bottom: 1px solid#CCC; +} /* formato gridview compatto (es magazzini) */ .didascalia { color: #696969; diff --git a/C2P/Content/Style.less b/C2P/Content/Style.less index 38d6d97..dcb121e 100644 --- a/C2P/Content/Style.less +++ b/C2P/Content/Style.less @@ -13,32 +13,38 @@ .input-group-sm > .form-control, .input-group-sm > .input-group-addon, .input-group-sm > .input-group-btn > .btn { - height: 30px; - padding: 4px 8px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; + height: 30px; + padding: 4px 8px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; } /* fix font e body principale (x tema richiesto) */ body { - font: 12px/1.5em 'Open Sans'; - color: #333333; - background: #e9e9e9 url(../images/tiny_grid.png) repeat 0 0; - background-color: #ffffff; + font: 12px/1.5em 'Open Sans'; + color: #333333; + background: #e9e9e9 url(../images/tiny_grid.png) repeat 0 0; + background-color: #ffffff; } + a { - color: #ff9900; - text-decoration: none; -} -a:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; + color: #ff9900; + text-decoration: none; } + a:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; + } +/* linea separazione bottom */ +.bottomLine { + padding-bottom: 1px; + border-bottom: 1px solid#CCC; +} @@ -55,9 +61,11 @@ a:focus { .warnRed { color: red; } + .warnOrange { color: orange; } + .allOk { color: green; } @@ -66,230 +74,261 @@ a:focus { [ navbar / .navbar ] */ .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, 0.1), 0 1px 0 rgba(255, 255, 255, 0.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; + 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, 0.1), 0 1px 0 rgba(255, 255, 255, 0.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; + } + /*------------------------------------------------------------------ [ Subnavbar / .subnavbar ] */ .subnavbar { - /*margin-bottom: 2.5em;*/ - margin-bottom: 0.5em; - border-top: 1px solid #595959; -} -.subnavbar .subnav-toggle { - display: none; - padding: .5em 0; - margin: 0 auto; - font-size: 18px; - text-align: center; - color: #ff9900; -} -.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, 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: #ff9900; - border-bottom-color: #ff9900; -} -.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, 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; + /*margin-bottom: 2.5em;*/ + margin-bottom: 0.5em; + border-top: 1px solid #595959; } + .subnavbar .subnav-toggle { + display: none; + padding: .5em 0; + margin: 0 auto; + font-size: 18px; + text-align: center; + color: #ff9900; + } + + .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, 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: #ff9900; + border-bottom-color: #ff9900; + } + + .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, 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 / .shortcuts ] */ .shortcuts { - text-align: center; + 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(#ffffff), to(#eeeeee)); - background-image: -webkit-linear-gradient(top, #ffffff, 0%, #eeeeee, 100%); - background-image: -moz-linear-gradient(top, #ffffff 0%, #eeeeee 100%); - background-image: linear-gradient(to bottom, #ffffff 0%, #eeeeee 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: .25em; + + .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(#ffffff), to(#eeeeee)); + background-image: -webkit-linear-gradient(top, #ffffff, 0%, #eeeeee, 100%); + background-image: -moz-linear-gradient(top, #ffffff 0%, #eeeeee 100%); + background-image: linear-gradient(to bottom, #ffffff 0%, #eeeeee 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: .25em; margin-bottom: .35em;*/ - 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, 0.125); -} -.shortcuts .shortcut:hover .shortcut-icon { - color: #666; -} -.shortcuts .shortcut-label { - display: block; - margin-top: .75em; - font-weight: 400; - color: #666; -} + 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, 0.125); + } + + .shortcuts .shortcut:hover .shortcut-icon { + color: #666; + } + + .shortcuts .shortcut-label { + display: block; + margin-top: .75em; + font-weight: 400; + color: #666; + } @@ -297,171 +336,175 @@ a:focus { [ widget / .widget ] */ .widget { - position: relative; - clear: both; - width: auto; - margin-bottom: 2em; - /* Clearfix Hack */ + position: relative; + clear: both; + width: auto; + margin-bottom: 2em; + /* Clearfix Hack */ + /* Widget Table */ + /* Widget Plain */ + /* Widget Box */ +} - /* Widget Table */ + .widget .widget-header { + position: relative; + height: 40px; + line-height: 40px; + background: #E9E9E9; + background: -moz-linear-gradient(top, #fafafa 0%, #e9e9e9 100%); + /* FF3.6+ */ + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa), color-stop(100%, #e9e9e9)); + /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, #fafafa 0%, #e9e9e9 100%); + /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #fafafa 0%, #e9e9e9 100%); + /* Opera11.10+ */ + background: -ms-linear-gradient(top, #fafafa 0%, #e9e9e9 100%); + /* IE10+ */ + background: linear-gradient(top, #fafafa 0%, #e9e9e9 100%); + /* W3C */ + 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 Plain */ + .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, 0.5); + } - /* Widget Box */ + .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-header { - position: relative; - height: 40px; - line-height: 40px; - background: #E9E9E9; - background: -moz-linear-gradient(top, #fafafa 0%, #e9e9e9 100%); - /* FF3.6+ */ + .widget .widget-content { + padding: 25px 15px 15px; + background: #FFF; + border: 1px solid #D5D5D5; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + } - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa), color-stop(100%, #e9e9e9)); - /* Chrome,Safari4+ */ + .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; + } - background: -webkit-linear-gradient(top, #fafafa 0%, #e9e9e9 100%); - /* Chrome10+,Safari5.1+ */ + .widget.widget-nopad .widget-content { + padding: 0; + } - background: -o-linear-gradient(top, #fafafa 0%, #e9e9e9 100%); - /* Opera11.10+ */ + .widget .widget-content:before, + .widget .widget-content:after { + content: " "; + /* 1 */ + display: table; + /* 2 */ + } - background: -ms-linear-gradient(top, #fafafa 0%, #e9e9e9 100%); - /* IE10+ */ + .widget .widget-content:after { + clear: both; + } - background: linear-gradient(top, #fafafa 0%, #e9e9e9 100%); - /* W3C */ + .widget .widget-content:before, + .widget .widget-content:after { + content: " "; + /* 1 */ + display: table; + /* 2 */ + } - 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, 0.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: " "; - /* 1 */ + .widget .widget-content:after { + clear: both; + } - display: table; - /* 2 */ + .widget.widget-table .widget-content { + padding: 0; + } -} -.widget .widget-content:after { - clear: both; -} -.widget .widget-content:before, -.widget .widget-content:after { - content: " "; - /* 1 */ + .widget.widget-table .table { + margin-bottom: 0; + border: none; + } - display: table; - /* 2 */ + .widget.widget-table .table tr td:first-child, + .widget.widget-table .table tr th:first-child { + border-left: none; + } -} -.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; -} + .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 / .stacked ] */ .stacked { - position: relative; -} -.stacked:after, -.stacked:before { - content: ''; - position: absolute; - display: block; - height: 1px; - bottom: -2px; - left: 3px; - right: 3px; - background-color: #ffffff; - -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; + position: relative; } + .stacked:after, + .stacked:before { + content: ''; + position: absolute; + display: block; + height: 1px; + bottom: -2px; + left: 3px; + right: 3px; + background-color: #ffffff; + -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; + } + /*------------------------------------------------------------------ [2. Stats / .stats] */ @@ -474,20 +517,18 @@ a:focus { margin-bottom: 1.9em; } -.stats .stat { - display: table-cell; - width: 40%; - vertical-align: top; - - font-size: 11px; - font-weight: bold; - color: #999; -} + .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; @@ -499,14 +540,14 @@ a:focus { padding-top: 1.5em; } -.stat-time .stat-value { - color: #F90; - font-size: 40px; -} + .stat-time .stat-value { + color: #F90; + font-size: 40px; + } .stats #donut-chart { height: 100px; - margin-left: -20px; + margin-left: -20px; } @@ -522,16 +563,18 @@ a:focus { 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 { + 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-items li:last-child { + padding-bottom: 0; + border: none; + } .news-item-date { display: table-cell; @@ -549,28 +592,24 @@ a:focus { .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; - + padding-right: 1px; font-size: 12px; font-weight: 600; color: #888; @@ -584,53 +623,46 @@ a:focus { .action-table .btn-small { padding: 4px 5px 5px; - font-size: 10px; } -.action-table .td-actions { - width: 80px; - - text-align: center; +.action-table .td-actions { + width: 80px; + text-align: center; } - .action-table .td-actions .btn { - margin-right: .5em; + .action-table .td-actions .btn { + margin-right: .5em; } - - .action-table .td-actions .btn:last-child { - margin-rigth: 0; - } - - + + .action-table .td-actions .btn:last-child { + margin-rigth: 0; + } + + @media (max-width: 979px) { - } @media (max-width: 480px) { - + .stats .stat { - margin-bottom: 3em; } - - .stats .stat .stat-value { - margin-bottom: .15em; - - font-size: 20px; - } - + + .stats .stat .stat-value { + margin-bottom: .15em; + font-size: 20px; + } + .stats { float: left; - display: block; - margin-bottom: 0; } - + #chart-stats { - margin: 2em 0 1em; + margin: 2em 0 1em; } } @@ -640,219 +672,255 @@ a:focus { [1. Max Width: 480px] */ @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; - } + .error-container h1 { + font-size: 72px; + } + + .shortcuts .shortcut { + width: 95px; + } + + .shortcuts .shortcut .shortcut-label { + font-size: 12px; + } + + .shortcuts .shortcut .shortcut-icon { + font-size: 24px; + } } /*------------------------------------------------------------------ [3. Max Width: 979px] */ @media (max-width: 979px) { - .navbar-fixed-top { - position: static; - margin-bottom: 0; - } - .navbar .btn-navbar { - font-size: 18px; - background: none; - filter: none; - border: none; - -webkit-box-shadow: none; - box-shadow: none; - } - .navbar .container { - padding: 0 10px; - } - .subnavbar .subnavbar .container { - width: auto; - } + .navbar-fixed-top { + position: static; + margin-bottom: 0; + } + + .navbar .btn-navbar { + font-size: 18px; + background: none; + filter: none; + border: none; + -webkit-box-shadow: none; + box-shadow: none; + } + + .navbar .container { + padding: 0 10px; + } + + .subnavbar .subnavbar .container { + width: auto; + } } /* Extra small devices (phones, up to 480px) */ /* No media query since this is the default in Bootstrap */ @media (max-width: 768px) { - .navbar { - padding-left: 10px; - padding-right: 10px; - margin-right: -20px; - margin-left: -20px; - } - .navbar .navbar-nav > li > .dropdown-menu::before, - .navbar .navbar-nav > li > .dropdown-menu::after { - display: none; - } - .subnavbar .subnav-toggle { - display: block; - } - #main { - padding: 0 10px; - margin-right: -20px; - margin-left: -20px; - } - .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: " "; - /* 1 */ - - display: table; - /* 2 */ - - } - .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; - padding-top: 5px; - padding-bottom: 5px; - margin-right: .5em; - color: #CCC; - font-size: 13px; - font-weight: 600; - } - .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; - } + .navbar { + padding-left: 10px; + padding-right: 10px; + margin-right: -20px; + margin-left: -20px; + } + + .navbar .navbar-nav > li > .dropdown-menu::before, + .navbar .navbar-nav > li > .dropdown-menu::after { + display: none; + } + + .subnavbar .subnav-toggle { + display: block; + } + + #main { + padding: 0 10px; + margin-right: -20px; + margin-left: -20px; + } + + .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: " "; + /* 1 */ + display: table; + /* 2 */ + } + + .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; + padding-top: 5px; + padding-bottom: 5px; + margin-right: .5em; + color: #CCC; + font-size: 13px; + font-weight: 600; + } + + .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; + } } /* Small devices (tablets, 768px and up) */ @media (min-width: 768px) { - .subnav-collapse.collapse { - display: block!important; - height: auto!important; - padding-bottom: 0; - overflow: visible!important; - } + .subnav-collapse.collapse { + display: block!important; + height: auto!important; + padding-bottom: 0; + overflow: visible!important; + } } /* Medium devices (desktops, 992px and up) */ @media (min-width: 992px) { - } /* Large devices (large desktops, 1200px and up) */ @media (min-width: 1200px) { - .navbar .container, - .subnavbar .container { - padding-right: 0; - padding-left: 0; - } - .page-title { - margin-left: -15px; - } + .navbar .container, + .subnavbar .container { + padding-right: 0; + padding-left: 0; + } + + .page-title { + margin-left: -15px; + } } diff --git a/C2P/Content/Style.min.css b/C2P/Content/Style.min.css index 671b1f8..e631489 100644 --- a/C2P/Content/Style.min.css +++ b/C2P/Content/Style.min.css @@ -1 +1 @@ -#uppFeatured{margin-top:140px}.table-striped>tbody>tr:nth-child(odd)>th{background-image:linear-gradient(to bottom,#f5f5f5 0%,#e2e2e2 100%)}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:4px 8px;font-size:12px;line-height:1.5;border-radius:3px}body{font:12px/1.5em 'Open Sans';color:#333;background:#e9e9e9 url(../images/tiny_grid.png) repeat 0 0;background-color:#fff}a{color:#f90;text-decoration:none}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.didascalia{color:#696969;font-size:7pt}.warnRed{color:red}.warnOrange{color:#ffa500}.allOk{color:green}.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}.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:18px;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){.navbar{padding-left:10px;padding-right:10px;margin-right:-20px;margin-left:-20px}.navbar .navbar-nav>li>.dropdown-menu::before,.navbar .navbar-nav>li>.dropdown-menu::after{display:none}.subnavbar .subnav-toggle{display:block}#main{padding:0 10px;margin-right:-20px;margin-left:-20px}.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;padding-top:5px;padding-bottom:5px;margin-right:.5em;color:#ccc;font-size:13px;font-weight:600}.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}} \ No newline at end of file +#uppFeatured{margin-top:140px}.table-striped>tbody>tr:nth-child(odd)>th{background-image:linear-gradient(to bottom,#f5f5f5 0%,#e2e2e2 100%)}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:4px 8px;font-size:12px;line-height:1.5;border-radius:3px}body{font:12px/1.5em 'Open Sans';color:#333;background:#e9e9e9 url(../images/tiny_grid.png) repeat 0 0;background-color:#fff}a{color:#f90;text-decoration:none}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.bottomLine{padding-bottom:1px;border-bottom:1px solid #ccc}.didascalia{color:#696969;font-size:7pt}.warnRed{color:red}.warnOrange{color:#ffa500}.allOk{color:green}.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}.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:18px;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){.navbar{padding-left:10px;padding-right:10px;margin-right:-20px;margin-left:-20px}.navbar .navbar-nav>li>.dropdown-menu::before,.navbar .navbar-nav>li>.dropdown-menu::after{display:none}.subnavbar .subnav-toggle{display:block}#main{padding:0 10px;margin-right:-20px;margin-left:-20px}.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;padding-top:5px;padding-bottom:5px;margin-right:.5em;color:#ccc;font-size:13px;font-weight:600}.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}} \ No newline at end of file diff --git a/C2P/Quote.aspx b/C2P/Quote.aspx index a8af761..680df93 100644 --- a/C2P/Quote.aspx +++ b/C2P/Quote.aspx @@ -1,16 +1,22 @@ <%@ Page Title="" Language="C#" MasterPageFile="~/FullPage.Master" AutoEventWireup="true" CodeBehind="Quote.aspx.cs" Inherits="C2P.Quote" %> -<%@ Register Src="WebUserControls/mod_newQuote.ascx" TagName="mod_newQuote" TagPrefix="uc1" %> -<%@ Register Src="WebUserControls/mod_QuoteList.ascx" TagName="mod_QuoteList" TagPrefix="uc2" %> +<%@ Register src="~/WebUserControls/mod_QuoteDet.ascx" tagname="mod_QuoteDet" tagprefix="uc1" %> + + + +
+
+ +
-
+

Nuova offerta (click x dettaglio)

@@ -20,7 +26,7 @@
-
+

Alternativa meno preferita (click x dettaglio)

@@ -30,19 +36,5 @@
-
-
-
-

Archivio Offerte (click x dettaglio)

-
-
- -
-
-
- <%-- - --%> -
-
diff --git a/C2P/Quote.aspx.designer.cs b/C2P/Quote.aspx.designer.cs index a5396b7..3e350d0 100644 --- a/C2P/Quote.aspx.designer.cs +++ b/C2P/Quote.aspx.designer.cs @@ -12,6 +12,15 @@ namespace C2P { public partial class Quote { + /// + /// mod_QuoteDet1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::C2P.WebUserControls.mod_QuoteDet mod_QuoteDet1; + /// /// HyperLink1 control. /// @@ -29,14 +38,5 @@ namespace C2P { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.HyperLink HyperLink2; - - /// - /// HyperLink3 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.HyperLink HyperLink3; } } diff --git a/C2P/Scripts/jSteamware.js b/C2P/Scripts/jSteamware.js index ec0f631..0439631 100644 --- a/C2P/Scripts/jSteamware.js +++ b/C2P/Scripts/jSteamware.js @@ -6,59 +6,44 @@ */ -//// Gestione oggetti datepicker (globale) -//function fixDatePicker() { -// $.datepicker.setDefaults($.datepicker.regional["it"]); -// $(".datepicker").datepicker({ -// //showOtherMonths: true, -// //selectOtherMonths: true, -// showButtonPanel: true, -// changeMonth: true, -// changeYear: true, -// dateFormat: "dd/mm/yy" -// }); -//} +/*------------------------------------------------------------------ +- Formattazione date (standard e formato AS400 tipo yyyyMMdd +------------------------------------------------------------------*/ +function dtStandard() { + $.datepicker.setDefaults($.datepicker.regional["it"]); + $(".datepicker").datepicker({ + //showOtherMonths: true, + //selectOtherMonths: true, + showButtonPanel: true, + changeMonth: true, + changeYear: true, + dateFormat: "dd/mm/yy" + }); +} -//// richiamo quando il DOM della pagina è ok... -//$(function () { -// fixDatePicker(); -//}); +/*------------------------------------------------------------------ +- Abilitazione tabs jQueryui +------------------------------------------------------------------*/ +function fixTabs() { + $(".tabGroup").tabs(); +} -//// oggetto da legare all'update parziale ajax x sistemare script vari -//var prm = Sys.WebForms.PageRequestManager.getInstance(); -//prm.add_endRequest(function () { -// // re-bind your jQuery events here -// $(function () { -// fixDatePicker(); -// }); -//}); -//$(function () { -// $.datepicker.setDefaults($.datepicker.regional["it"]); -// $(".datepicker").datepicker({ -// //showOtherMonths: true, -// //selectOtherMonths: true, -// showButtonPanel: true, -// changeMonth: true, -// changeYear: true, -// dateFormat: "dd/mm/yy" -// }); -//}); -//// oggetto da legare all'update parziale ajax x sistemare btns & co -//var prm = Sys.WebForms.PageRequestManager.getInstance(); -//prm.add_endRequest(function () { -// // re-bind your jQuery events here -// $(function () { -// $.datepicker.setDefaults($.datepicker.regional["it"]); -// $(".datepicker").datepicker({ -// //showOtherMonths: true, -// //selectOtherMonths: true, -// showButtonPanel: true, -// changeMonth: true, -// changeYear: true, -// dateFormat: "dd/mm/yy" -// }); -// }); -//}); \ No newline at end of file +/*------------------------------------------------------------------ +- Chiamate al DOM pagina pronta jQuery +------------------------------------------------------------------*/ +$(function () { + dtStandard(); + fixTabs(); +}); +// oggetto da legare all'update parziale ajax di asp.net +var prm = Sys.WebForms.PageRequestManager.getInstance(); +prm.add_endRequest(function () { + // re-bind your jQuery events here + $(function () { + dtStandard(); + fixTabs(); + }); +}); \ No newline at end of file diff --git a/C2P/WebUserControls/mod_Q_Costs.ascx b/C2P/WebUserControls/mod_Q_Costs.ascx new file mode 100644 index 0000000..190a4dc --- /dev/null +++ b/C2P/WebUserControls/mod_Q_Costs.ascx @@ -0,0 +1,2 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_Q_Costs.ascx.cs" Inherits="C2P.WebUserControls.mod_Q_Costs" %> +costs \ No newline at end of file diff --git a/C2P/WebUserControls/mod_Q_Costs.ascx.cs b/C2P/WebUserControls/mod_Q_Costs.ascx.cs new file mode 100644 index 0000000..40d19e4 --- /dev/null +++ b/C2P/WebUserControls/mod_Q_Costs.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 C2P.WebUserControls +{ + public partial class mod_Q_Costs : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/C2P/WebUserControls/mod_Q_Costs.ascx.designer.cs b/C2P/WebUserControls/mod_Q_Costs.ascx.designer.cs new file mode 100644 index 0000000..a43304b --- /dev/null +++ b/C2P/WebUserControls/mod_Q_Costs.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 C2P.WebUserControls +{ + + + public partial class mod_Q_Costs + { + } +} diff --git a/C2P/WebUserControls/mod_Q_ExtrPar.ascx b/C2P/WebUserControls/mod_Q_ExtrPar.ascx new file mode 100644 index 0000000..efcd99c --- /dev/null +++ b/C2P/WebUserControls/mod_Q_ExtrPar.ascx @@ -0,0 +1,2 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_Q_ExtrPar.ascx.cs" Inherits="C2P.WebUserControls.mod_Q_ExtrPar" %> +extrusion param \ No newline at end of file diff --git a/C2P/WebUserControls/mod_Q_ExtrPar.ascx.cs b/C2P/WebUserControls/mod_Q_ExtrPar.ascx.cs new file mode 100644 index 0000000..24cecc8 --- /dev/null +++ b/C2P/WebUserControls/mod_Q_ExtrPar.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 C2P.WebUserControls +{ + public partial class mod_Q_ExtrPar : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/C2P/WebUserControls/mod_Q_ExtrPar.ascx.designer.cs b/C2P/WebUserControls/mod_Q_ExtrPar.ascx.designer.cs new file mode 100644 index 0000000..1e3c01b --- /dev/null +++ b/C2P/WebUserControls/mod_Q_ExtrPar.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 C2P.WebUserControls +{ + + + public partial class mod_Q_ExtrPar + { + } +} diff --git a/C2P/WebUserControls/mod_Q_Header.ascx b/C2P/WebUserControls/mod_Q_Header.ascx new file mode 100644 index 0000000..cfb4c0b --- /dev/null +++ b/C2P/WebUserControls/mod_Q_Header.ascx @@ -0,0 +1,95 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_Q_Header.ascx.cs" Inherits="C2P.WebUserControls.mod_Q_Header" %> + + +<%@ Register Src="~/WebUserControls/mod_display.ascx" TagName="mod_display" TagPrefix="uc1" %> + + + + +
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+ +
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
+
+ + + + + + + + + + + diff --git a/C2P/WebUserControls/mod_Q_Header.ascx.cs b/C2P/WebUserControls/mod_Q_Header.ascx.cs new file mode 100644 index 0000000..387bc13 --- /dev/null +++ b/C2P/WebUserControls/mod_Q_Header.ascx.cs @@ -0,0 +1,73 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace C2P.WebUserControls +{ + public partial class mod_Q_Header : SteamWare.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + /// + /// tipo di quote x la scheda corrente + /// + public string QuoteType + { + get + { + return lblQuoteType.Text; + } + set + { + lblQuoteType.Text = value; + } + } + /// + /// codice quote x la scheda corrente + /// + public string CodQuote + { + get + { + return lblCodQuote.Text; + } + set + { + lblCodQuote.Text = value; + } + } + /// + /// rev quote x la scheda corrente + /// + public string QuoteRev + { + get + { + return lblQuoteRev.Text; + } + set + { + lblQuoteRev.Text = value; + } + } + /// + /// fa toggle tra modo edit e read/item + /// + public void toggleMode() + { + if (frmView.CurrentMode == FormViewMode.ReadOnly) + { + frmView.ChangeMode(FormViewMode.Edit); + } + else + { + frmView.ChangeMode(FormViewMode.ReadOnly); + } + } + } +} \ No newline at end of file diff --git a/C2P/WebUserControls/mod_Q_Header.ascx.designer.cs b/C2P/WebUserControls/mod_Q_Header.ascx.designer.cs new file mode 100644 index 0000000..940d95d --- /dev/null +++ b/C2P/WebUserControls/mod_Q_Header.ascx.designer.cs @@ -0,0 +1,60 @@ +//------------------------------------------------------------------------------ +// +// 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 C2P.WebUserControls { + + + public partial class mod_Q_Header { + + /// + /// frmView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.FormView frmView; + + /// + /// odsQuotes control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsQuotes; + + /// + /// lblQuoteType control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblQuoteType; + + /// + /// lblCodQuote control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCodQuote; + + /// + /// lblQuoteRev control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblQuoteRev; + } +} diff --git a/C2P/WebUserControls/mod_Q_PackPar.ascx b/C2P/WebUserControls/mod_Q_PackPar.ascx new file mode 100644 index 0000000..e2fc639 --- /dev/null +++ b/C2P/WebUserControls/mod_Q_PackPar.ascx @@ -0,0 +1,2 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_Q_PackPar.ascx.cs" Inherits="C2P.WebUserControls.mod_Q_PackPar" %> +parametri pack \ No newline at end of file diff --git a/C2P/WebUserControls/mod_Q_PackPar.ascx.cs b/C2P/WebUserControls/mod_Q_PackPar.ascx.cs new file mode 100644 index 0000000..650dd01 --- /dev/null +++ b/C2P/WebUserControls/mod_Q_PackPar.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 C2P.WebUserControls +{ + public partial class mod_Q_PackPar : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/C2P/WebUserControls/mod_Q_PackPar.ascx.designer.cs b/C2P/WebUserControls/mod_Q_PackPar.ascx.designer.cs new file mode 100644 index 0000000..a708b7c --- /dev/null +++ b/C2P/WebUserControls/mod_Q_PackPar.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 C2P.WebUserControls +{ + + + public partial class mod_Q_PackPar + { + } +} diff --git a/C2P/WebUserControls/mod_Q_Quot.ascx b/C2P/WebUserControls/mod_Q_Quot.ascx new file mode 100644 index 0000000..84c1904 --- /dev/null +++ b/C2P/WebUserControls/mod_Q_Quot.ascx @@ -0,0 +1,2 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_Q_Quot.ascx.cs" Inherits="C2P.WebUserControls.mod_Q_Quot" %> +quotazione \ No newline at end of file diff --git a/C2P/WebUserControls/mod_Q_Quot.ascx.cs b/C2P/WebUserControls/mod_Q_Quot.ascx.cs new file mode 100644 index 0000000..695a125 --- /dev/null +++ b/C2P/WebUserControls/mod_Q_Quot.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 C2P.WebUserControls +{ + public partial class mod_Q_Quot : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/C2P/WebUserControls/mod_Q_Quot.ascx.designer.cs b/C2P/WebUserControls/mod_Q_Quot.ascx.designer.cs new file mode 100644 index 0000000..3c90505 --- /dev/null +++ b/C2P/WebUserControls/mod_Q_Quot.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 C2P.WebUserControls +{ + + + public partial class mod_Q_Quot + { + } +} diff --git a/C2P/WebUserControls/mod_QuoteDet.ascx b/C2P/WebUserControls/mod_QuoteDet.ascx index 123e798..6e02b74 100644 --- a/C2P/WebUserControls/mod_QuoteDet.ascx +++ b/C2P/WebUserControls/mod_QuoteDet.ascx @@ -1,14 +1,76 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_QuoteDet.ascx.cs" Inherits="C2P.WebUserControls.mod_QuoteDet" %> +<%@ Register Src="~/WebUserControls/mod_Q_Costs.ascx" TagName="mod_Q_Costs" TagPrefix="uc1" %> +<%@ Register Src="~/WebUserControls/mod_Q_ExtrPar.ascx" TagName="mod_Q_ExtrPar" TagPrefix="uc2" %> +<%@ Register Src="~/WebUserControls/mod_Q_Header.ascx" TagName="mod_Q_Header" TagPrefix="uc3" %> +<%@ Register Src="~/WebUserControls/mod_Q_PackPar.ascx" TagName="mod_Q_PackPar" TagPrefix="uc4" %> +<%@ Register Src="~/WebUserControls/mod_Q_Quot.ascx" TagName="mod_Q_Quot" TagPrefix="uc5" %> <%if (false) { %> <%} %> + + +
+
+ <%: traduci("ReturnOffersArchive") %> + + + +
+
+
+ <%--
--%> +
+
+  <%: traduci("HEADER") %> +
+
+  <%: traduci("COSTS") %> +
+
+  <%: traduci("EXTRUS-PARAM") %> +
+
+  <%: traduci("PACK-PARAM") %> +
+
+ <%--
--%> +
+ + + + +
+
+
+ +
+
+  <%: traduci("CheckStd") %> +
+
+
+   +
+
+
+ <%--
--%> +
+
+ +
+
+ <%--
--%> +
+ +
+
+
+
+ +
- - - - - + <%-- Vers: @@ -509,19 +571,35 @@
- - - - - - - - - - - - -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
@@ -851,7 +929,8 @@
-

Cliente Test

+ +

Cliente Test

@@ -904,6 +983,3 @@
-
-
- diff --git a/C2P/WebUserControls/mod_QuoteDet.ascx.cs b/C2P/WebUserControls/mod_QuoteDet.ascx.cs index 8fa0ab0..a1d5e7f 100644 --- a/C2P/WebUserControls/mod_QuoteDet.ascx.cs +++ b/C2P/WebUserControls/mod_QuoteDet.ascx.cs @@ -23,6 +23,7 @@ namespace C2P.WebUserControls set { lblQuoteType.Text = value; + mod_Q_Header1.QuoteType = value; } } /// @@ -37,6 +38,7 @@ namespace C2P.WebUserControls set { lblCodQuote.Text = value; + mod_Q_Header1.CodQuote = value; } } /// @@ -51,6 +53,21 @@ namespace C2P.WebUserControls set { lblQuoteRev.Text = value; + mod_Q_Header1.QuoteRev = value; + } + } + /// + /// precedente valore richiesto... + /// + protected string prevReq + { + get + { + return memLayer.ML.StringSessionObj("prevReqQD"); + } + set + { + memLayer.ML.setSessionVal("prevReqQD", value); } } protected void Page_Load(object sender, EventArgs e) @@ -62,6 +79,7 @@ namespace C2P.WebUserControls QuoteType = Request.QueryString["QuoteType"]; CodQuote = Request.QueryString["CodQuote"]; QuoteRev = Request.QueryString["QuoteRev"]; + setModVisibility(""); } } /// @@ -108,5 +126,45 @@ namespace C2P.WebUserControls } return answ; } + /// + /// premuto uno dei buttons dell'header + /// + /// + /// + protected void lbt_Click(object sender, EventArgs e) + { + LinkButton lBtn = ((LinkButton)sender); + setModVisibility(lBtn.CommandArgument); + } + /// + /// sistemazione della visibilità dei moduli di dettaglio/editing + /// + private void setModVisibility(string req) + { + mod_Q_Costs1.Visible = false; + mod_Q_ExtrPar1.Visible = false; + mod_Q_Header1.Visible = false; + mod_Q_PackPar1.Visible = false; + switch (req) + { + case "Costs": + mod_Q_Costs1.Visible = true; + break; + case "ExtrPar": + mod_Q_ExtrPar1.Visible = true; + break; + case "Header": + if (prevReq==req) mod_Q_Header1.toggleMode(); + mod_Q_Header1.Visible = true; + break; + case "PackPar": + mod_Q_PackPar1.Visible = true; + break; + default: + mod_Q_Header1.Visible = true; + break; + } + prevReq = req; + } } } \ No newline at end of file diff --git a/C2P/WebUserControls/mod_QuoteDet.ascx.designer.cs b/C2P/WebUserControls/mod_QuoteDet.ascx.designer.cs index b70249f..0645ab3 100644 --- a/C2P/WebUserControls/mod_QuoteDet.ascx.designer.cs +++ b/C2P/WebUserControls/mod_QuoteDet.ascx.designer.cs @@ -57,6 +57,96 @@ namespace C2P.WebUserControls { /// protected global::System.Web.UI.WebControls.Label lblQuoteRev; + /// + /// lbHeader control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lbHeader; + + /// + /// lbCosts control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lbCosts; + + /// + /// lbExtrPar control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lbExtrPar; + + /// + /// lbPAckPar control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lbPAckPar; + + /// + /// mod_Q_Costs1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::C2P.WebUserControls.mod_Q_Costs mod_Q_Costs1; + + /// + /// mod_Q_ExtrPar1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::C2P.WebUserControls.mod_Q_ExtrPar mod_Q_ExtrPar1; + + /// + /// mod_Q_Header1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::C2P.WebUserControls.mod_Q_Header mod_Q_Header1; + + /// + /// mod_Q_PackPar1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::C2P.WebUserControls.mod_Q_PackPar mod_Q_PackPar1; + + /// + /// LinkButton1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton LinkButton1; + + /// + /// mod_Q_Quot1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::C2P.WebUserControls.mod_Q_Quot mod_Q_Quot1; + /// /// FormView1 control. /// diff --git a/C2P/WebUserControls/mod_display.ascx b/C2P/WebUserControls/mod_display.ascx new file mode 100644 index 0000000..41c1c83 --- /dev/null +++ b/C2P/WebUserControls/mod_display.ascx @@ -0,0 +1,4 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_display.ascx.cs" Inherits="C2P.WebUserControls.mod_display" %> + +
+ diff --git a/C2P/WebUserControls/mod_display.ascx.cs b/C2P/WebUserControls/mod_display.ascx.cs new file mode 100644 index 0000000..3cf2e6d --- /dev/null +++ b/C2P/WebUserControls/mod_display.ascx.cs @@ -0,0 +1,60 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace C2P.WebUserControls +{ + public partial class mod_display : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + /// + /// etichetta + /// + public string etichetta + { + get + { + return lblLab.Text; + } + set + { + lblLab.Text = value; + } + } + /// + /// valore + /// + public string valore + { + get + { + return lblVal.Text; + } + set + { + lblVal.Text = value; + } + } + /// + /// valore + /// + public string toolTipVal + { + get + { + return lblVal.ToolTip; + } + set + { + lblVal.ToolTip = value; + } + } + + } +} \ No newline at end of file diff --git a/C2P/WebUserControls/mod_display.ascx.designer.cs b/C2P/WebUserControls/mod_display.ascx.designer.cs new file mode 100644 index 0000000..46a4f68 --- /dev/null +++ b/C2P/WebUserControls/mod_display.ascx.designer.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// 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 C2P.WebUserControls { + + + public partial class mod_display { + + /// + /// lblLab control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblLab; + + /// + /// lblVal control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblVal; + } +} diff --git a/C2P/bin/C2P.dll b/C2P/bin/C2P.dll index c157c72..18257be 100644 Binary files a/C2P/bin/C2P.dll and b/C2P/bin/C2P.dll differ diff --git a/C2P/bin/C2P_Data.dll b/C2P/bin/C2P_Data.dll index a340f69..d57e1f0 100644 Binary files a/C2P/bin/C2P_Data.dll and b/C2P/bin/C2P_Data.dll differ diff --git a/C2P/bin/C2P_Data.pdb b/C2P/bin/C2P_Data.pdb index f5fbadd..4fe02ea 100644 Binary files a/C2P/bin/C2P_Data.pdb and b/C2P/bin/C2P_Data.pdb differ diff --git a/C2P/bin/SteamWare.dll b/C2P/bin/SteamWare.dll index 39b1e04..7bec45a 100644 Binary files a/C2P/bin/SteamWare.dll and b/C2P/bin/SteamWare.dll differ diff --git a/C2P/bin/SteamWare.xml b/C2P/bin/SteamWare.xml index 8903187..790694b 100644 --- a/C2P/bin/SteamWare.xml +++ b/C2P/bin/SteamWare.xml @@ -3109,6 +3109,20 @@ The tooltip. + + + Base class for every user control in the application, containing some common + behaviour and utility methods. + It is not meant to be be used directly. + + + + + wrapper traduzione + + + + classe gestione utente: auth e permission/ruoli - versione GENERICA