From MAILER-DAEMON Sun Jun 06 07:32:06 2021 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1lpr0f-0004D3-UB for mharc-noalyss-commit@gnu.org; Sun, 06 Jun 2021 07:32:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpr0b-0004CM-Li for noalyss-commit@nongnu.org; Sun, 06 Jun 2021 07:32:01 -0400 Received: from vcs0.savannah.gnu.org ([209.51.188.201]:33055) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpr0b-0001WL-DU for noalyss-commit@nongnu.org; Sun, 06 Jun 2021 07:32:01 -0400 Received: by vcs0.savannah.gnu.org (Postfix, from userid 68660) id CFF84209AA; Sun, 6 Jun 2021 07:32:00 -0400 (EDT) To: noalyss-commit@nongnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <20210606113159.2052.47334@vcs0.savannah.gnu.org> Mail-Followup-To: noalyss-generale@nongnu.org X-Git-Repo: noalyss X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 2fca23e67bbff2a9ea4ac62faa273e6f32e3fc64 X-Git-Newrev: c3cb74283d2c7ee613e1cdd95026bc2833f9fb39 Auto-Submitted: auto-generated Date: Sun, 6 Jun 2021 07:32:00 -0400 (EDT) From: dany@alchimerys.be (Dany De Bontridder) Subject: [Noalyss-commit] [noalyss] branch master updated (2fca23e -> c3cb742) X-BeenThere: noalyss-commit@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2021 11:32:01 -0000 sparkyx pushed a change to branch master in repository noalyss. from 2fca23e Balance : code cleaning and cosmetic new b77ade6 Cosmetic and remove other stylesheets new 0ef7467 Manage Table : improve, set option for the column and header (CSS style, javascript,...) new c3cb742 Document : new function export to the filesystem and transform into a PDF The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: html/css/style-classic.css | 2540 -------------------------------- html/css/style-classic7.css | 4 +- html/css/style-light.css | 2474 ------------------------------- html/index.php | 2 +- include/class/document.class.php | 60 + include/constant.php | 2 +- include/lib/manage_table_sql.class.php | 121 +- include/sql/patch/ac-upgrade19.sql | 8 + scenario/test_manage_table_sql.php | 5 +- 9 files changed, 168 insertions(+), 5048 deletions(-) delete mode 100644 html/css/style-classic.css delete mode 100644 html/css/style-light.css create mode 100644 include/sql/patch/ac-upgrade19.sql From MAILER-DAEMON Sun Jun 06 07:32:09 2021 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1lpr0j-0004EA-NS for mharc-noalyss-commit@gnu.org; Sun, 06 Jun 2021 07:32:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpr0b-0004CL-Ln for noalyss-commit@nongnu.org; Sun, 06 Jun 2021 07:32:01 -0400 Received: from vcs0.savannah.gnu.org ([209.51.188.201]:33057) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpr0b-0001WM-BP for noalyss-commit@nongnu.org; Sun, 06 Jun 2021 07:32:01 -0400 Received: by vcs0.savannah.gnu.org (Postfix, from userid 68660) id 45FDB20150; Sun, 6 Jun 2021 07:32:01 -0400 (EDT) To: noalyss-commit@nongnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Reply-To: sparkyx Mail-Followup-To: noalyss-generale@nongnu.org In-Reply-To: <20210606113159.2052.47334@vcs0.savannah.gnu.org> References: <20210606113159.2052.47334@vcs0.savannah.gnu.org> X-Git-Repo: noalyss X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: b77ade6941e40a74ee15c9a05af7c9160be7c16a Auto-Submitted: auto-generated Message-Id: <20210606113201.45FDB20150@vcs0.savannah.gnu.org> Date: Sun, 6 Jun 2021 07:32:01 -0400 (EDT) From: dany@alchimerys.be (Dany De Bontridder) Subject: [Noalyss-commit] [noalyss] 01/03: Cosmetic and remove other stylesheets X-BeenThere: noalyss-commit@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2021 11:32:01 -0000 sparkyx pushed a commit to branch master in repository noalyss. commit b77ade6941e40a74ee15c9a05af7c9160be7c16a Author: sparkyx AuthorDate: Sat May 29 19:09:43 2021 +0200 Cosmetic and remove other stylesheets --- html/css/style-classic.css | 2540 ------------------------------------ html/css/style-classic7.css | 4 +- html/css/style-light.css | 2474 ----------------------------------- html/index.php | 2 +- include/constant.php | 2 +- include/sql/patch/ac-upgrade19.sql | 8 + 6 files changed, 11 insertions(+), 5019 deletions(-) diff --git a/html/css/style-classic.css b/html/css/style-classic.css deleted file mode 100644 index 4a65fad..0000000 --- a/html/css/style-classic.css +++ /dev/null @@ -1,2540 +0,0 @@ - /* */ -#add_todo_list , div.add_todo_list { - border:1px solid #0000FF; - background-color:#DDE6FF; - padding:0.07%; - position:absolute; - text-align:left; - z-index:1; - width:480px; - width:30rem; - height:auto; -} -div.welcome { - -} -div.gest_name { - float:left; - margin-left:150px; - margin-top:15px; -} -h2.gest_name { - border-right: 2px solid #403a8d; - border-bottom:2px solid #403a8d; - border-top:1px solid #b4bbc2; - border-left: 1px solid #b4bbc2; - padding: 5px; - width: 80%; - font-size:140%; - margin-left: 10%; -} -body.op_detail_frame,div.op_detail_frame { - background-color:#e4e7ed; - height:100%; width:100%; --moz-box-shadow: 10px 10px 5px #888; --webkit-box-shadow: 10px 10px 5px #888; -box-shadow: 10px 10px 5px #888; - - -} -div.inner_box { - background-color: #DCE1EF; - font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif; - font-family: 'openSansRegular'; - padding:2px; - margin:0px; - overflow:hidden; - z-index:3; - position:absolute; - left:10%; - border:1px solid #00008B; --moz-box-shadow: 10px 10px 5px #888; --webkit-box-shadow: 10px 10px 5px #888; -box-shadow: 10px 10px 5px #888; -font-size:14.4px; -font-size:0.90rem; -} -div.inner_box { - width: 85%; - } -@media only screen and (min-width: 1281px) { -div.inner_box { - width: 85%; - border-radius: 9px; - padding: 5px; - } -} -div.op_detail_title { - background-color:#888; - /* width:500;*/ - - -} - -div#div_cat{ - position:absolute; - border:1px solid #000000; - top:15%;left:100px; - visibility:hidden; - z-index:2; - width:50em; - background-color:#EDF3FF; - -} - -div.divinfo -{ - color:#FF0000; - text-align:right; - display:block; - width:480px; - width:30rem; - height:13px; - font-weight:bold; -} - -div#search_form -{ - position:absolute; - border:1px solid #000000; - top:15%;left:100px; - margin-left:25%; - z-index:2; - width:50%; - display:none; - background-color:#e4e7ed; - -moz-box-shadow: 10px 10px 5px #888; - -webkit-box-shadow: 10px 10px 5px #888; - box-shadow: 10px 10px 5px #888; -} -@media only screen and (max-width: 995px) { - div#search_form { - width:90%; - margin-left:5%; - left:0px; - } -} - -table.sortable td, table.table_large td, table.result td -{ - padding-left:5px; - padding-right:5px; -} -table.info_op -{ - width:100%; -} -table.info_op tr -{ - background:#FFFFFF; -} -h2#jrn_name -{ - color:#0000FF; - margin-right:30%; - float: right; -} -tr.footer{ - font-style: italic; - font-weight: bold; - -} -span.remain { - font-weight: bold; - color:#000000; -} - div#jrn_name_div - { - float: right; - margin-right:150px; - - - } - #predef_form { - } -@media only screen and (min-width: 1155px) { - div#jrn_name_div - { - float: right; - - } - #predef_form { - } -} -@media only screen and (max-width: 1155px) { - div#jrn_name_div - { - display: none; - } - #predef_form { - } - .visible_gt1155 { - display:none; - } -} -@media only screen and (max-width: 900px) { - #predef_form { - display: none; - } -} -#direct -{ - display:inline; - float:left; -} -#calc -{ - display:inline; - float:left; -} -div#wait_box -{ - background-color:#DDE6FF; - text-align: center; - width: 300px; - padding:0px; - margin:0px; - overflow:hidden; - z-index:10; - position:absolute; - left:30%; - top:30%; - border:1px solid #00008B; - width: 260px; - opacity: 0.8; - border-radius: 5px; -} -#wait_box h2 -{ - margin-top:2px; - /* color:#000000; */ - text-align:center; - /* width: 50%; */ -} -#navi_tb { -width: 95%; -margin-left: 2%; -border-spacing: 0em 0.50em; -border-collapse: separate; -} -div#div_jrnsearch_op{ - - border:1px solid #000000; - width:800px; - width:50rem; - background-color:#EDF3FF; - z-index: 5; - -} -ul { - padding-left: 110px; -} -a.line,div.content a.line -{ - text-decoration:underline; - display:inline; - /* color: #0000FF; */ -} -a.line:hover,div_content a.line -{ - text-decoration:underline; - display:inline; - color: #FFFFFF; - background-color:#336699; -} -table.table_large tr.odd ,table.table_large tr.even { - - height:32px; -} -#calc1 -{ - position:fixed; - display:block; - top:30px; - left:150px; - width:300px; - border:1px solid #000000; - background-color:#aec3e8; - padding: 20px 20px; -} -span.invoice -{ - font-style: italic; - display:block; - margin: 20px; - font-weight: bold; -} -a.nav,div.content a.nav,div.redcontent a.nav { - display:inline; - text-decoration:none; -} -a.nav:hover,div.content a.nav:hover,div.redcontent a.nav:hover { - display:inline; - text-decoration:none; - background-color:#00008B; - color:#FFFFFF; -} -img:hover { - cursor:inherit ; - background-color:white; - color: transparent; - - } -#dossier { - display:inline; - float:left; - width:100%; - top:0px; - text-align: center; - font-variant:small-caps; - font-weight: bolder; - } -@media only screen and (min-width: 955px) { -#dossier { - display:inline; - float:left; - width:100%; - top:0px; - text-align: center; - font-variant:small-caps; - font-weight: bolder; - } - -} -div.foldercontent { - font-size:14px; - font-size:0.95rem; - width: 95%; - margin-left: 2.5%; - margin-top:30px; -} -@media only screen and (max-width: 955px) { -#dossier { - display:inline; - float:left; - width:100%; - top:0px; - text-align: left; - font-variant:small-caps; - font-weight: bolder; - } -} - -div.foldercontent { - font-size:14px; - font-size:0.95rem; - width: 95%; - margin-left: 2.5%; - margin-top:7%; -} - -h1.title { - color: #0000FF; - font-style: italic; - text-align:center; - text-transform: uppercase; -} -h2.title { - background-color:#606c88; - color:#FFFFFF; - text-align:center; - padding:0.14%; - border:1px solid #00008B; - background: #606c88 !important; /* Old browsers */ - background: -moz-linear-gradient(top, #606c88 0%, #3f4c6b 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#606c88), color-stop(100%,#3f4c6b)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #606c88 0%,#3f4c6b 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #606c88 0%,#3f4c6b 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #606c88 0%,#3f4c6b 100%); /* IE10+ */ - background: linear-gradient(to bottom, #606c88 0%,#3f4c6b 100%); /* W3C */ - border-radius: 3px; -} -h3.title { - color: #0000FF; - margin-left: 30px; -} -h4.title { - color: #0000FF; - margin-left: 45px; - text-decoration: underline; -} -h5.title { - color: #0000FF; - margin-left: 45px; - text-decoration: none; - font-style: italic; -} -div.myfieldset -{ - margin-top: 5px; - margin-left:5px; - margin-right: 5px; - border:#EDF3FF 2px groove; - border-radius: 4px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - -} -#info_div { - display:none; - background-color: #FCFFCC; - color:#000000; - z-index: 15; - position: absolute; - top:0px; - left:45%; -} -div.menu2 a.mtitle{ - font-size:13.6px; - font-size:0.80rem; - display:block; - height: 100%; - width: 100%; -} -div.menu3 { - font-size:13.6px; - font-size:0.80rem; - -} -#go_submit_id { - -} -.decale { - margin-left:30px; -} -#folder { - border: 1px solid #0000ff; - border-collapse: separate; - border-radius: 10px; - border-spacing: 0px; - box-shadow: 10px 10px 5px #888888; - padding: 5px; - width: 100%; -} -#folder tr { - height: 30px; -} -/*#folder tr.odd,#folder tr.even { - font-size : 1.2em; -}*/ -textarea.itextarea{ - border:solid #0000FF 1px; - width:90%; - margin-left:5%; - height:120px; -} - -div#notice { - position:absolute; - right:5%; - top:200px; - background-color:#FCFFCC; - border: 1px solid #000000; -} -div.name { - position:absolute; - top:0px; - left:0px; - display:block; - } -div#modele_op_div{ - display: none; - background-color:#e4e7ed; - font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif; - font-family: 'openSansRegular'; - padding:0px; - margin:0px; - overflow:hidden; - z-index:3; - position:absolute; - left: 10%; - border:1px solid #00008B; - width: 80%; -} -@media only screen and (min-width: 955px) { - div.name { - position:absolute; - top:0px; - left:0px; - } - div#modele_op_div{ - display: none; - background-color:#e4e7ed; - font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif; - font-family: 'openSansRegular'; - padding:0px; - margin:0px; - overflow:hidden; - z-index:3; - position:absolute; - left: 4%; - border:1px solid #00008B; - min-width: 75%; - box-shadow: 10px 10px 5px #888888; -} -div#preference_div { - background-color:#e4e7ed; - font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif; - font-family: 'openSansRegular'; - padding:0px; - margin:0px; - overflow:hidden; - z-index:3; - position:absolute; - border:1px solid #00008B; - top:32px; - top:2rem; - left:20%; - width:50%; -} -} -@media only screen and (max-width: 955px) { - div.name { - position:absolute; - top:0px; - left:0px; - display:none; - } - div#modele_op_div{ - display: none; - background-color:#e4e7ed; - font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif; - font-family: 'openSansRegular'; - padding:0px; - margin:0px; - overflow:hidden; - z-index:3; - position:absolute; - left: 10%; - border:1px solid #00008B; - width: 85%; - box-shadow: 10px 10px 5px #888888; -} -div#preference_div { - background-color:#e4e7ed; - font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif; - font-family: 'openSansRegular'; - padding:0px; - margin:0px; - overflow:hidden; - z-index:3; - position:absolute; - border:1px solid #00008B; - top:32px; - top:2rem; - left:1%; - width:98%; -} -} - -div#box_search_card { - position:absolute; - right:15.625%; - top:115px; -} -div.bxbutton -{ - float:right; - height:10px; - display:block; - margin-top:0.30%; - margin-right:0.48%; -} -div.inner_box tr.odd { - background: #E0EBFF; -} -#modele_op_tab tr.odd { - background: #EDF3FF; -} -div#bookmark_div { - background-color:#e4e7ed; - font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif; - font-family: 'openSansRegular'; - padding:2px; - margin:0px; - overflow:hidden; - z-index:3; - position:absolute; - border:1px solid #00008B; - top:32px; - top:2rem; - left:30%; - width:40%; -} - -#error_div{ - position:absolute; - border:1px solid #000000; - background-color:#DDE6FF; - padding-bottom: 2px; - padding-top: 2px; - padding-left: 2px; - padding-right: 2px; - color:#FF0000; - top:40%;left:25%; - visibility:hidden; - width:640px; - width:40rem; - z-index:20; -} -#error_div h2 { - background: #FF0000; -} -div#error_content_div { - color:#FF0000; - font-weight: bold; - text-align: center; -} -td.workday ol { - margin:0px; - padding:0px; - list-style-type:none; - text-align:left; -} -input.inum { - text-align:right; - border:1px solid #0000FF; - margin:2px -} -div.box { - background-color:#e4e7ed; - font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif; - font-family: 'openSansRegular'; - margin-top:10px; - margin-left:3px; - margin-right:3px; - padding:2px; - overflow:hidden; - border:1px solid #00008B; - width:32%; - height:364px; - float:left; - font-size:14px; - font-size:0.90rem; -} -@media only screen and (max-width: 1426px) { - div.box { - width: 48%; - height: 380px; -} -} -@media only screen and (max-width: 955px) { - div.box { - width: 95%; - height: 380px; - } -} -div.box table{ - border-spacing:0px; - font-size: 96%; -} -div.box tr.odd { - background-color: #F2F6FD; - -} -div.box tr.even { - background-color:#e4e7ed; - -} -#jrn_name_div h2{ - font-size:38.4px; - font-size: 2.4rem; -} -#search_account { - width: 70%; -} -fieldset { - border-width: 1px; -} -#tva_select table { - border-spacing: 0px; -} -#mod_predf_op { - width: 80%; - overflow: auto; -} -/**************************************************************************** - * Tabs - ****************************************************************************/ -ul.tabs { - padding-top: 15px; - display:block; - padding-left: 2px; - list-style: none; - margin-left:2px; -} -ul.tabs a { - display:inline; -} -li.tabs_selected { - display:inline; - background: #C2E3FC; /* Old browsers */ - background: -moz-linear-gradient(top, #C2E3FC 0%, #6393c1 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C2E3FC), color-stop(100%,#6393c1)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #C2E3FC 0%,#6393c1 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #C2E3FC 0%,#6393c1 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #C2E3FC 0%,#6393c1 100%); /* IE10+ */ - background: linear-gradient(to bottom, #C2E3FC 0%,#6393c1 100%); /* W3C */ - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#C2E3FC', endColorstr='#6393c1',GradientType=0 ); /* IE6-9 */ - color:whitesmoke; - margin-left: 2px; - border-top-left-radius: 10px; - border-top-right-radius: 10px; - border:1px #879ed4 solid; - font-weight: bold; - float:left; - padding:5px; - -} -li.tabs { - display:inline; - background-color: inherit; - color:inherit;margin-left: 0px; - padding: 5px; - border-top-left-radius: 10px; - border-top-right-radius: 10px; - border:1px #879ed4 solid; - float:left; - background: whitesmoke; - margin-top:2px; - -} -li.tabs:hover { - display:inline; - background-color: lightblue; - color:wheat;margin-left: 2px; - padding: 5px; - border-top-left-radius: 10px; - border-top-right-radius: 10px; - border:1px #879ed4 solid; - white-space: nowrap; - -} -@media only screen and (min-width: 1280px) { - li.tabs { - display:inline; - background-color: inherit; - color:inherit;margin-left: 2px; - padding: 15px 7px 0px 10px; - border-top-left-radius: 10px; - border-top-right-radius: 10px; - border:1px #879ed4 solid; - -} - li.tabs:hover { - display:inline; - background-color: lightblue; - color:wheat;margin-left: 2px; - padding: 15px 7px 0px 10px; - border-top-left-radius: 5px; - border-top-right-radius: 5px; - border:1px #879ed4 solid; - } - li.tabs_selected { - padding: 12px 15px 15px 15px; - } -} -ul.tabs a { - text-decoration: none; - color:inherit; - display:inline; - white-space: nowrap; - cursor:pointer; - -} -ul.tabs a:hover { - text-decoration: none; - color:white; - display:inline; - background-color: lightblue; -} -/* - * ???? - */ -.previous_year -{ - text-align:right; - color:black; -} -/***************************************************************************** - * autocomplete style - *****************************************************************************/ - -div.autocomplete_fixed { - background-color:#FFFFFF; - border:1px solid #888; - margin:0px; - padding:0px; - text-align:left; -} -div.autocomplete_fixed em { - color:#0000FF; - font-weight:bold; -} -div.autocomplete_fixed ul { - list-style-type:none; - background-color:#FFFFFF; - border:1px solid blue; - width:300px; - margin:0px; - padding:0px; - } -div.tag { - -} -@media only screen and (max-width: 1280px) { - div.autocomplete_fixed ul { - list-style-type:none; - background-color:#FFFFFF; - border:1px solid blue; - width:300px; - margin:0px; - padding:0px; - } - div.tag { - - } - -} -@media only screen and (min-width: 1281px) { - div.autocomplete_fixed ul { - list-style-type:none; - background-color:#FFFFFF; - border:1px solid blue; - width:500px; - margin:0px; - padding:0px; - } - div.tag { - width: 50%; - } - - -} -div.autocomplete_fixed ul li.selected { - background-color: #DDE6FF; - border-bottom: 1px solid black; -} - -div.autocomplete_fixed ul li { - list-style-type:none; - display:block; - margin:0px; - padding:0px; - cursor:pointer; -} -#popup { - font-size:0.9rem; -} -hr { - width:95%; - margin-left:2.5%; - background:#5d90cd; - height:5px; - -} -/****************************************************************************** - * Hightlight row in a table - ******************************************************************************/ -li.highlight,tr.highlight{ - font-weight: bolder; - font-size:14px; - background-color: navy; - color:white !important; - border-width: 2px; - border-style: solid; - border-color: blue; -} -li.highlight a,tr.highlight a{ - color:white !important; - -} -*|*:link { - color: inherit; -} -/******************************************************************************* - * Inner_box on a smaller screen - *******************************************************************************/ -@media only screen and (min-width: 1280px) { - div.inner_box { - width: 95%; - left:2%; - margin-bottom: 2%; - } -} -/***************************************************************************** - * Table of one column to present menu - * as in CFGLED, FORECAST, REPORT - *****************************************************************************/ -table.vert_mtitle { - text-align:center; - /* border:5px solid #99B1DF; */ - border-radius:5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - - width:80%; - margin-left: 10%; - border-collapse: separate; - border-spacing: 10px; - - -} -table.vert_mtitle td.first { - background-color: #DCE1EF; -} -table.vert_mtitle td { - border : 1px solid #99B1DF; - background-color:#EDEDED; - border-top-radius:20px; -} -table.vert_mtitle td a{ - padding : 20px; - font-weight: bold; -} -table.vert_mtitle td:hover { - border : 1px solid #99B1DF; - background-color: #336699; - color:white; -} -table.vert_mtitle td:hover a{ - color:white; - -} - -/******************************************************************************* - * Tiny button example : -X for remove action, remove link... - *******************************************************************************/ -div.content a.tinybutton,a.tinybutton{ - color: blue; - font-weight: bold; - text-decoration: none; - font-family: arial,verdana,sans-serif,helvetica; - /* background-image: url("image/bg-submit2.gif"); - background-repeat: repeat-x; - background-position: left; */ - font-size: 8px; - font-size: 0.7rem; - padding-bottom: 0px; - padding-top: 0px; - padding-right: 0px; - padding-left: 0px; - margin-top: 3px; - cursor: pointer; - margin: 1px 2px 1px 2px; - border-width: 1px; - border-style: solid; - border-color: blue; - border-radius: 2px; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - - display : inline; -} -input[type="button"].tinybutton { - color: blue; - font-weight: bold; - text-decoration: none; - font-family: arial,verdana,sans-serif,helvetica; - font-size: 8px; - font-size: 0.7rem; - padding-bottom: 0px; - padding-top: 0px; - padding-right: 0px; - padding-left: 0px; - margin-top: 3px; - cursor: pointer; - margin: 1px 2px 1px 2px; - border-width: 1px; - border-style: solid; - border-color: blue; - border-radius: 2px; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - - display : inline; -} -/******************************************************************************* - Image Search -*******************************************************************************/ -.image_search { - cursor:pointer; - width:16px; - height:16px; - vertical-align: top; - background-image: url("image/bg-submit2.gif"); - background-repeat: repeat-x; - background-position: left; - - padding : 3px; - -} -/**************************************************************************** - * Aligned button - ****************************************************************************/ -ul.aligned-block { - padding:5px; - display : block; -} -ul.aligned-block li { - display:table-cell; - padding : 10px; - list-style: none; -} -/****************************************************************************** - * Total in confirmation VEN / ACH - ******************************************************************************/ -#total_div_id { - float: right; - margin-right: 150px; - background: snow; - margin-top: 50px; -} -/*************************************************************************** - * column in the dashboard - ***************************************************************************/ - -td.cut { - max-width: 25%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -td.box { - border-left: #9999ff solid 1px; -} - -/**************************************************************************** -* Smoke appearance of modal box - ****************************************************************************/ -.smoke-base { - position: fixed; - top: 0px; - left: 0px; - bottom: 0px; - right: 0px; - visibility: hidden; - opacity: 0; - background: rgba(0,0,0,.3); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#90000000,endColorstr=#900000000); -} - -.smoke-base.smoke-visible { - opacity: 1; - visibility: visible; -} - -.smokebg { - position: fixed; - top: 0px; - left: 0px; - bottom: 0px; - right: 0px; -} - -.smoke-base .dialog { - position: absolute; - top: 25%; - width: 40%; - left: 50%; - margin-left: -20%; -} - -.dialog-prompt { - margin-top: 15px; - text-align: center; -} - -.dialog-buttons { - margin: 20px 0px 5px 0px -} - -.smoke { - text-align: center; - background-color: #DCE1EF; - font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif; - font-family: 'openSansRegular'; - - padding:2px; - margin:0px; - overflow:hidden; - z-index:3; - position:absolute; - left:10%; - border:1px solid #00008B; --moz-box-shadow: 10px 10px 5px #888; --webkit-box-shadow: 10px 10px 5px #888; -box-shadow: 10px 10px 5px #888; -font-size:14.4px; -font-size:0.90rem; -width: 85%; -} -.dialog-buttons button:hover{ - color:beige; - font-weight: bold; -} -.dialog-buttons button { - color:#FFFFFF; - font-weight: normal; - text-decoration:none; - background: #606c88; /* Old browsers */ - background: -moz-linear-gradient(top, #606c88 0%, #3f4c6b 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#606c88), color-stop(100%,#3f4c6b)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #606c88 0%,#3f4c6b 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #606c88 0%,#3f4c6b 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #606c88 0%,#3f4c6b 100%); /* IE10+ */ - background: linear-gradient(to bottom, #606c88 0%,#3f4c6b 100%); /* W3C */ - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#606c88', endColorstr='#3f4c6b',GradientType=0 ); /* IE6-9 */ - border-color: #605D5D; - border-width:0px; - padding:4px; - margin:3px; - cursor:pointer; - margin:1px 2px 1px 2px; - border-radius: 5px; - moz-border-radius:5px; - width:7em; - width:7rem; -} - -.dialog-prompt input { - margin: 0; - border: 0; - font-family: sans-serif; - outline: none; - font-family: Menlo, 'Andale Mono', monospace; - border: 1px solid #aaa; - width: 75%; - display: inline-block; - background-color: transparent; - font-size: 16px; - padding: 8px; -} - -.smoke-base .dialog-inner { - padding: 15px; - - color:#202020; -} - -button.cancel { - background-color: rgba(0,0,0,.40); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#444444,endColorstr=#444444); -} - -.queue{ - display:none; -} -/* - * Menu selected when configuring the profile - */ - -td.selectedmenu { - background-color: beige; - font-weight: bolder; -} -/* - * Hide element for small screen - */ -.visible_gt800 { - -} -.field_follow_up -{ - margin-top:1px; - white-space: -moz-pre-wrap; - white-space: pre-wrap; - border:1px solid blue; - width:95%; -} - -@media only screen and (max-width:850px) { - .visible_gt800 { - display:none; - } - div#bookmark_div { - padding:2px; - margin:0px; - overflow:hidden; - z-index:3; - position:absolute; - border:1px solid #00008B; - top:32px; - top:2rem; - left:5%; - width:90%; -} - - -} -/** - * go_up -*/ -#go_up { - background-color: transparent; - border:0px; - font-size:300%; - box-shadow: none; - color:blue; - -} -#go_up a ,#go_up a:visited{ - background-image: none; - text-decoration: none; - color:blue; -} -/* - * Summary of operation , contains miscelleneous informations - * before confirming sale , purchase - */ -#summary_op1,#summary_op2 -{ - float:left; - padding-left: 150px; -} -/* - * Name of the tiers in GESTION - */ -#gestion_title { - float:right; - margin-right: 5%; - font-size:150%; - color :white; - font-variant: small-caps; - background-color: #5D90CD; - padding: 3px 20px 3px 20px; - margin-top:20px; -} -/* - * Style for the Inplace Edit element - */ -span.inplace_edit -{ - text-decoration: underline; - cursor: pointer; -} -span.inplace_edit_input -{ - text-decoration: none; - font-size: 110%; - cursor: none; -} -/* - * Icon to pop out on the dashboard - */ -#span_cal_div,#span_todo_listg_div,#span_last_operation_box_div,#span_last_operation_management_div { - float:right; - margin-right:5px; - padding-top:0px; - margin-top:0px; -} -/** - * For the icon (font-famillo fontello) - */ -.icon { - font-family: "fontello"; - font-weight:normal; - cursor: pointer; -} -.icon:hover { - font-family: "fontello"; -} -/** - * Icon in the title of Box - */ -div.bxbutton .icon -{ - color:white; - text-decoration:none; - margin-left: 6px; - margin-right:6px; - /*! padding-top:10px; */ - font-size:14px; - font-size:1rem; - cursor: pointer; - border:0px; - height: 18px; -} -div.bxbutton .icon:hover -{ - background-color: white; - color: blue; -} -/** - * progressBar - */ -div.progressbar { - width:300px; - height:30px; - position:fixed; - top:5px; - left:40%; - background-color: white; - color:blue; - z-index:800; - border-color: #596a72; - border-width: 1px; - border-style: solid; -} -#progressValue { - display:block; - width: 0px; - height: 100%; - margin:0px; - padding: 0px; - background-color:darkblue; - color:antiquewhite; - font-weight: bolder; -} -/** - * Warning - */ -span.warning { - color:red; - font-style: normal; - font-weight: bold; - background-color: #eddadd; - padding:10px; - border:red solid 1px; -} - /**********************************************************************************************************************/ - /* LI as list - * Tabs like row - ****************************************************************************/ - ul.tab_row { - padding-top: 15px; - display:block; - width:96%; - padding-left:2%; - padding-right:2%; - list-style: none; - margin-left:2px; - } - ul.tab_row a { - display:block; - width:100%; - } - li.tab_row_selected { - display:block; - width:90%; - background: #C2E3FC; /* Old browsers */ - background: -moz-linear-gradient(top, #C2E3FC 0%, #6393c1 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C2E3FC), color-stop(100%,#6393c1)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #C2E3FC 0%,#6393c1 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #C2E3FC 0%,#6393c1 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #C2E3FC 0%,#6393c1 100%); /* IE10+ */ - background: linear-gradient(to bottom, #C2E3FC 0%,#6393c1 100%); /* W3C */ - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#C2E3FC', endColorstr='#6393c1',GradientType=0 ); /* IE6-9 */ - color:whitesmoke; - margin-left: 2px; - border-top-left-radius: 10px; - border-top-right-radius: 10px; - border:1px #879ed4 solid; - font-weight: bold; - padding:5px; - margin-top:13px; - - - } - li.tab_row { - display:block; - width:90%; - background-color: inherit; - color:inherit;/*! margin-left: 0px; */ - /*! padding: 5px; */ - /*! border-top-left-radius: 10px; */ - /*! border-top-right-radius: 10px; */ - border:1px #879ed4 solid; - background: whitesmoke; - margin-top:13px; - - } - li.tab_row:hover { - display:block; - background-color: lightblue; - color:wheat;margin-left: 2px; - padding: 5px; - border-top-left-radius: 10px; - border-top-right-radius: 10px; - border:1px #879ed4 solid; - white-space: nowrap; - - } - @media only screen and (min-width: 1280px) { - li.tab_row { - display:block; - background-color: inherit; - - - padding: 15px 7px 0px 10px; - border-top-left-radius: 10px; - border-top-right-radius: 10px; - border:1px #879ed4 solid; - - } - li.tab_row:hover { - display:block; - background-color: lightblue; - color:wheat;margin-left: 2px; - padding: 15px 7px 0px 10px; - border-top-left-radius: 5px; - border-top-right-radius: 5px; - border:1px #879ed4 solid; - } - li.tab_row_selected { - padding: 12px 15px 15px 15px; - } - } - ul.tab_row a { - text-decoration: none; - color:inherit; - display:block; - white-space: nowrap; - width: 100%; - height: 100%; - cursor :pointer; - } - ul.tab_row a:hover { - text-decoration: none; - color:white; - display:block; - background-color: lightblue; - } -span.tab_row { - font-style: italic; - font-size:90%; -} -span.title_tab_row { - -} - -/* Selected row in a table */ -.background-selected { - background-color: #000066 !important; - color : white !important; - -} -p.info { - font-size:90%; - font-family: sans-serif; - font-style: italic; -} - -/* Cell with tag */ -span.tagcell { - border:1px solid darkgray; - padding:2px;margin:1px; - display: inline-block; - color:black; - -} -#action_add_action2_list { - height:15rem; - overflow: auto; -} -/********************************************************************************************************************* - * Color for tag - ********************************************************************************************************************/ -.tagcell-color1 { - /* Nothing no color */ -} -.tagcell-color2 { - background-color: #002ba3 !important; - color : white !important; - -} -.tagcell-color3 { - background-color: #336699 !important; - color: white !important; -} -.tagcell-color4 { - background-color: #5d90cd !important; - color: white !important; -} -.tagcell-color5 { - background-color: #C2E3FC !important; - color: #002ba3 !important; -} -.tagcell-color6 { - background-color: #006318 !important; - color : white !important; -} -.tagcell-color7 { - background-color: #008000 !important; - color : white !important; - -} -.tagcell-color8 { - background-color: #00D000 !important; - color : white !important; -} -.tagcell-color9 { - background-color: #87D087 !important; - color: white !important; -} -.tagcell-color10 { - background-color: #C8EEC8 !important; - color: #006318 !important; - -} -.tagcell-color11 { - background-color: red !important; - color: #edeff4 !important; -} -.tagcell-color12 { - background-color: #9D0244 !important; - color:#edeff4 !important; -} -.tagcell-color13 { - background-color: #C14064 !important; - color: #edeff4 !important; -} -.tagcell-color14 { - background-color: #F07396 !important; - color: #edeff4 !important; -} -.tagcell-color15 { - background-color: #F2AABE !important; - color: red !important; -} - -.tagcell-color16 { - background-color: #77420A !important; - color: #edeff4 !important; -} -.tagcell-color17 { - background-color: #B06F2A !important; - color: #edeff4 !important; -} -.tagcell-color18 { - background-color: orange !important; - color: #edeff4 !important; -} -.tagcell-color19 { - background-color: #F2CFAA !important; - color: red !important; -} -.tagcell-color20 { - background-color: yellow !important; - color: orangered !important; -} \ No newline at end of file diff --git a/html/css/style-classic7.css b/html/css/style-classic7.css index e14d5be..a804b66 100644 --- a/html/css/style-classic7.css +++ b/html/css/style-classic7.css @@ -24,8 +24,6 @@ BODY { padding : 0px; margin:0px; color:darkblue !important; - /*font-size:0.9em; - font-size:0.95rem;*/ background-color:#FCFDFD; } input{ @@ -2283,7 +2281,7 @@ td.selectedmenu { font-variant: small-caps; padding: 13px 20px 13px 20px; margin-top:20px; - background-color:#484954; + background-color:#141d77; color:#FE8300; } /* diff --git a/html/css/style-light.css b/html/css/style-light.css deleted file mode 100644 index c624db4..0000000 --- a/html/css/style-light.css +++ /dev/null @@ -1,2474 +0,0 @@ - /* */ -#add_todo_list , div.add_todo_list { - border:1px solid #0000FF; - background-color:#DDE6FF; - padding:0.07%; - position:absolute; - text-align:left; - z-index:1; - width:480px; - width:30rem; - height:auto; -} -div.welcome { - -} -div.gest_name { - float:left; - margin-left:150px; - margin-top:15px; -} -h2.gest_name { - border-right: 2px solid #403a8d; - border-bottom:2px solid #403a8d; - border-top:1px solid #b4bbc2; - border-left: 1px solid #b4bbc2; - padding: 5px; - width: 80%; - font-size:140%; - margin-left: 10%; -} -body.op_detail_frame,div.op_detail_frame { - background-color:#e4e7ed; - height:100%; width:100%; --moz-box-shadow: 10px 10px 5px #888; --webkit-box-shadow: 10px 10px 5px #888; -box-shadow: 10px 10px 5px #888; - - -} -div.inner_box { - background-color: #DCE1EF; - font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif; - font-family: 'openSansRegular'; - padding:2px; - margin:0px; - overflow:hidden; - z-index:3; - position:absolute; - left:10%; - border:1px solid #00008B; --moz-box-shadow: 10px 10px 5px #888; --webkit-box-shadow: 10px 10px 5px #888; -box-shadow: 10px 10px 5px #888; -font-size:14.4px; -font-size:0.90rem; -} -div.inner_box { - width: 85%; - } -@media only screen and (min-width: 1281px) { -div.inner_box { - width: 85%; - border-radius: 9px; - padding: 5px; - } -} -div.op_detail_title { - background-color:#888; - /* width:500;*/ - - -} - -div#div_cat{ - position:absolute; - border:1px solid #000000; - top:15%;left:100px; - visibility:hidden; - z-index:2; - width:50em; - background-color:#EDF3FF; - -} - -div.divinfo -{ - color:#FF0000; - text-align:right; - display:block; - width:480px; - width:30rem; - height:13px; - font-weight:bold; -} - -div#search_form -{ - position:absolute; - border:1px solid #000000; - top:15%;left:100px; - margin-left:25%; - z-index:2; - width:50%; - display:none; - background-color:#e4e7ed; - -moz-box-shadow: 10px 10px 5px #888; - -webkit-box-shadow: 10px 10px 5px #888; - box-shadow: 10px 10px 5px #888; -} -@media only screen and (max-width: 995px) { - div#search_form { - width:90%; - margin-left:5%; - left:0px; - } -} - -table.sortable td, table.table_large td, table.result td -{ - padding-left:5px; - padding-right:5px; -} -table.info_op -{ - width:100%; -} -table.info_op tr -{ - background:#FFFFFF; -} -h2#jrn_name -{ - color:#0000FF; - margin-right:30%; - float: right; -} -tr.footer{ - font-style: italic; - font-weight: bold; - -} -span.remain { - font-weight: bold; - color:#000000; -} - div#jrn_name_div - { - float: right; - - } - #predef_form { - } -@media only screen and (min-width: 955px) { - div#jrn_name_div - { - float: right; - margin-right:150px; - - - } - #predef_form { - } -} -@media only screen and (max-width: 955px) { - div#jrn_name_div - { - } - #predef_form { - } -} -#direct -{ - display:inline; - float:left; -} -#calc -{ - display:inline; - float:left; -} -div#wait_box -{ - background-color:#DDE6FF; - font-family: arial,verdana,helvetica,arial,sans-serif; - width: 300px; - padding:0px; - margin:0px; - overflow:hidden; - z-index:10; - position:absolute; - left:30%; - top:30%; - border:1px solid #00008B; - width: 260px; -} -#wait_box h2 -{ - /* color:#000000; */ - text-align:center; - /* width: 50%; */ -} -#navi_tb { -width: 95%; -margin-left: 2%; -border-spacing: 0em 0.50em; -border-collapse: separate; -} -div#div_jrnsearch_op{ - - border:1px solid #000000; - width:800px; - width:50rem; - background-color:#EDF3FF; - z-index: 5; - -} -ul { - padding-left: 110px; -} -a.line,div.content a.line -{ - text-decoration:underline; - display:inline; - /* color: #0000FF; */ -} -a.line:hover,div_content a.line -{ - text-decoration:underline; - display:inline; - color: #FFFFFF; - background-color:#336699; -} - -table.table_large tr.odd ,table.table_large tr.even { - - height:32px; -} -#calc1 -{ - position:fixed; - display:block; - top:30px; - left:150px; - width:300px; - border:1px solid #000000; - background-color:#aec3e8; - padding: 20px 20px; -} -span.invoice -{ - font-style: italic; - display:block; - margin: 20px; - font-weight: bold; -} -a.nav,div.content a.nav,div.redcontent a.nav { - display:inline; - text-decoration:none; -} -a.nav:hover,div.content a.nav:hover,div.redcontent a.nav:hover { - display:inline; - text-decoration:none; - background-color:#00008B; - color:#FFFFFF; -} -#dossier { - display:inline; - float:left; - width:100%; - top:0px; - text-align: center; - font-variant:small-caps; - font-weight: bolder; - } -@media only screen and (min-width: 955px) { -#dossier { - display:inline; - float:left; - width:100%; - top:0px; - text-align: center; - font-variant:small-caps; - font-weight: bolder; - } -} -div.foldercontent { - font-size:14px; - font-size:0.95rem; - width: 95%; - margin-left: 2.5%; - margin-top:30px; -} -@media only screen and (max-width: 955px) { -#dossier { - display:inline; - float:left; - width:100%; - top:0px; - text-align: left; - font-variant:small-caps; - font-weight: bolder; - } -} - - - -h1.title { - color: #0000FF; - font-style: italic; - text-align:center; - text-transform: uppercase; -} -h2.title { - background-color: #879ED4; - color:#FFFFFF; - text-align:center; - padding:0.14%; - border:1px solid #00008B; - -} -h3.title { - color: #0000FF; - margin-left: 30px; -} -h4.title { - color: #0000FF; - margin-left: 45px; - text-decoration: underline; -} -h5.title { - color: #0000FF; - margin-left: 45px; - text-decoration: none; - font-style: italic; -} -div.myfieldset -{ - margin-top: 5px; - margin-left:5px; - margin-right: 5px; - border:#EDF3FF 2px groove; - border-radius: 4px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - -} -#info_div { - display:none; - background-color: #FCFFCC; - color:#000000; - z-index: 15; - position: absolute; - top:0px; - left:45%; -} -div.menu2 a.mtitle{ - font-size:13.6px; - font-size:0.80rem; -} -div.menu3 { - font-size:13.6px; - font-size:0.80rem; - -} -#go_submit_id { - -} -.decale { - margin-left:30px; -} -#folder { - border: 1px solid #0000ff; - border-collapse: separate; - border-radius: 10px; - border-spacing: 0px; - box-shadow: 10px 10px 5px #888888; - padding: 5px; - width: 100%; -} -#folder tr { - height: 30px; -} -/*#folder tr.odd,#folder tr.even { - font-size : 1.2em; -}*/ -textarea.itextarea{ - border:solid #0000FF 1px; - width:90%; - margin-left:5%; - height:120px; -} - -div#notice { - position:absolute; - right:5%; - top:200px; - background-color:#FCFFCC; - border: 1px solid #000000; -} -div.name { - position:absolute; - top:0px; - left:0px; - display:block; - } -div#modele_op_div{ - display: none; - background-color:#e4e7ed; - font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif; - font-family: 'openSansRegular'; - padding:0px; - margin:0px; - overflow:hidden; - z-index:3; - position:absolute; - left: 10%; - border:1px solid #00008B; - width: 80%; -} -@media only screen and (min-width: 1015px) { - div.name { - position:absolute; - top:0px; - left:0px; - } - div#modele_op_div{ - display: none; - background-color:#e4e7ed; - font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif; - font-family: 'openSansRegular'; - padding:0px; - margin:0px; - overflow:hidden; - z-index:3; - position:absolute; - left: 4%; - border:1px solid #00008B; - min-width: 75%; - box-shadow: 10px 10px 5px #888888; -} -} -@media only screen and (max-width: 955px) { - div.name { - position:absolute; - top:0px; - left:0px; - display:none; - } - div#modele_op_div{ - display: none; - background-color:#e4e7ed; - font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif; - font-family: 'openSansRegular'; - padding:0px; - margin:0px; - overflow:hidden; - z-index:3; - position:absolute; - left: 10%; - border:1px solid #00008B; - width: 85%; - box-shadow: 10px 10px 5px #888888; -} -} - -div#box_search_card { - position:absolute; - right:15.625%; - top:115px; -} -div.bxbutton -{ - float:right; - height:10px; - display:block; - margin-top:0.48%; - margin-right:0.48%; -} -div.inner_box tr.odd { - background: #E0EBFF; -} -#modele_op_tab tr.odd { - background: #EDF3FF; -} -div#bookmark_div { - background-color:#e4e7ed; - font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif; - font-family: 'openSansRegular'; - padding:2px; - margin:0px; - overflow:hidden; - z-index:3; - position:absolute; - border:1px solid #00008B; - top:32px; - top:2rem; - left:30%; - width:40%; -} -div#preference_div { - background-color:#e4e7ed; - font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif; - font-family: 'openSansRegular'; - padding:0px; - margin:0px; - overflow:hidden; - z-index:3; - position:absolute; - border:1px solid #00008B; - top:32px; - top:2rem; - left:20%; - width:50%; -} -@media only screen and (max-width:1280px) { - div#preference_div { - left:5%; - width:90%; - } -} -#error_div{ - position:absolute; - border:1px solid #000000; - background-color:#DDE6FF; - padding-bottom: 2px; - padding-top: 2px; - padding-left: 2px; - padding-right: 2px; - color:#FF0000; - top:40%;left:25%; - visibility:hidden; - width:640px; - width:40rem; - z-index:20; -} -#error_div h2 { - background: #FF0000; -} -div#error_content_div { - color:#FF0000; - font-weight: bold; - text-align: center; -} -td.workday ol { - margin:0px; - padding:0px; - list-style-type:none; - text-align:left; -} -input.inum { - text-align:right; - border:1px solid #0000FF; - margin:2px -} -div.box { - background-color:#e4e7ed; - font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif; - font-family: 'openSansRegular'; - margin-top:10px; - margin-left:3px; - margin-right:3px; - padding:2px; - overflow:hidden; - border:1px solid #00008B; - width:32%; - height:364px; - float:left; - font-size:14px; - font-size:0.90rem; -} -@media only screen and (max-width: 1426px) { - div.box { - width: 48%; - height: 380px; -} -} -@media only screen and (max-width: 955px) { - div.box { - width: 95%; - height: 380px; - } -} -@media only screen and (max-width: 1155px) { - div#jrn_name_div - { - display: none; - } - #predef_form { - } - .visible_gt1155 { - display:none; - } -} -div.box table{ - border-spacing:0px; - font-size: 95%; -} -div.box tr.odd { - background-color: #F2F6FD; - -} -div.box tr.even { - background-color:#e4e7ed; - -} -#jrn_name_div h2{ - font-size:38.4px; - font-size: 2.4rem; -} -#search_account { - width: 70%; -} -fieldset { - border-width: 1px; -} -#tva_select table { - border-spacing: 0px; -} -#mod_predf_op { - width: 80%; - overflow: auto; -} -/**************************************************************************** - * Tabs - ****************************************************************************/ -ul.tabs { - padding-top: 15px; - display:block; - padding-left: 2px; - list-style: none; -} -ul.tabs a { - display:inline; -} -li.tabs_selected { - display:inline; - background: #C2E3FC; /* Old browsers */ - background: -moz-linear-gradient(top, #C2E3FC 0%, #6393c1 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C2E3FC), color-stop(100%,#6393c1)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #C2E3FC 0%,#6393c1 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #C2E3FC 0%,#6393c1 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #C2E3FC 0%,#6393c1 100%); /* IE10+ */ - background: linear-gradient(to bottom, #C2E3FC 0%,#6393c1 100%); /* W3C */ - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#C2E3FC', endColorstr='#6393c1',GradientType=0 ); /* IE6-9 */ - color:whitesmoke; - margin-left: 1px; - border-top-left-radius: 0px; - border-top-right-radius: 0px; - border:1px #879ed4 solid; - font-weight: bold; - float:left; - padding:5px; - - -} -li.tabs { - display:inline; - background-color: inherit; - color:inherit;margin-left: 1px; - padding: 0px; - border-top-left-radius: 0px; - border-top-right-radius: 0px; - border:1px #879ed4 solid; - float:left; - margin-top:2px; - - padding: 5px; -} -li.tabs:hover { - display:inline; - background-color: lightblue; - color:wheat;margin-left: 1px; - padding: 0px; - border-top-left-radius: 0px; - border-top-right-radius: 0px; - border:1px #879ed4 solid; - white-space: nowrap; - -} -@media only screen and (min-width: 1280px) { - li.tabs { - display:inline; - background-color: inherit; - color:inherit;margin-left: 2px; - padding: 15px 7px 0px 10px; - border-top-left-radius: 10px; - border-top-right-radius: 10px; - border:1px #879ed4 solid; - -} - li.tabs:hover { - display:inline; - background-color: lightblue; - color:wheat; - margin-left: 2px; - padding: 10px 7px 0px 10px; - border-top-left-radius: 5px; - border-top-right-radius: 5px; - border:1px #879ed4 solid; - } - li.tabs_selected { - padding: 12px 15px 15px 15px; - } -} -ul.tabs a { - text-decoration: none; - color:inherit; - display:inline; - white-space: nowrap; - cursor: pointer; -} -ul.tabs a:hover { - text-decoration: none; - color:white; - display:inline; - background-color: lightblue; -} -/* - * ???? - */ -.previous_year -{ - text-align:right; - color:black; -} -/***************************************************************************** - * autocomplete style - *****************************************************************************/ - -div.autocomplete_fixed { - background-color:#FFFFFF; - border:1px solid #888; - margin:0px; - padding:0px; - text-align:left; -} -div.autocomplete_fixed em { - color:#0000FF; - font-weight:bold; -} -div.autocomplete_fixed ul { - list-style-type:none; - background-color:#FFFFFF; - border:1px solid blue; - width:300px; - margin:0px; - padding:0px; - } -div.tag { - -} -@media only screen and (max-width: 1280px) { - div.autocomplete_fixed ul { - list-style-type:none; - background-color:#FFFFFF; - border:1px solid blue; - width:300px; - margin:0px; - padding:0px; - } - div.tag { - - } - -} -@media only screen and (min-width: 1281px) { - div.autocomplete_fixed ul { - list-style-type:none; - background-color:#FFFFFF; - border:1px solid blue; - width:500px; - margin:0px; - padding:0px; - } - div.tag { - width: 50%; - } - - -} -div.autocomplete_fixed ul li.selected { - background-color: #DDE6FF; - border-bottom: 1px solid black; -} - -div.autocomplete_fixed ul li { - list-style-type:none; - display:block; - margin:0px; - padding:0px; - cursor:pointer; -} -#popup { - font-size:0.9rem; -} -hr { - width:95%; - margin-left:2.5%; - background:blue; - height:2px; - -} -/****************************************************************************** - * Hightlight row in a table - ******************************************************************************/ -li.highlight , tr.highlight{ - font-weight: bolder; - font-size:14px; - background-color: #334975 !important; - color:white !important; - border-width: 2px; - border-style: solid; - border-color: blue; -} -li.highlight a, tr.highlight a{ - color:white !important; - -} -*|*:link { - color: inherit; -} -/******************************************************************************* - * Inner_box on a smaller screen - *******************************************************************************/ -@media only screen and (min-width: 1280px) { - div.inner_box { - width: 95%; - left:2%; - margin-bottom: 2%; - } -} -/***************************************************************************** - * Table of one column to present menu - * as in CFGLED, FORECAST, REPORT - *****************************************************************************/ -table.vert_mtitle { - text-align:center; - /* border:5px solid #99B1DF; */ - border-radius:5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - - width:80%; - margin-left: 10%; - border-collapse: separate; - border-spacing: 10px; - - -} -table.vert_mtitle td.first { - background-color: #DCE1EF; -} -table.vert_mtitle td { - border : 1px solid #99B1DF; - background-color:#EDEDED; - border-top-radius:20px; -} -table.vert_mtitle td a{ - padding : 20px; - font-weight: bold; -} -table.vert_mtitle td:hover { - border : 1px solid #99B1DF; - background-color: #336699; - color:white; -} -table.vert_mtitle td:hover a{ - color:white; - -} - -/******************************************************************************* - * Tiny button example : -X for remove action, remove link... - *******************************************************************************/ -div.content a.tinybutton,a.tinybutton{ - color: blue; - font-weight: bold; - text-decoration: none; - font-family: arial,verdana,sans-serif,helvetica; - /* background-image: url("image/bg-submit2.gif"); - background-repeat: repeat-x; - background-position: left; */ - font-size: 8px; - font-size: 0.7rem; - padding-bottom: 0px; - padding-top: 0px; - padding-right: 0px; - padding-left: 0px; - margin-top: 3px; - cursor: pointer; - margin: 1px 2px 1px 2px; - border-width: 1px; - border-style: solid; - border-color: blue; - border-radius: 2px; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - - display : inline; -} -input[type="button"].tinybutton { - color: blue; - font-weight: bold; - text-decoration: none; - font-family: arial,verdana,sans-serif,helvetica; - font-size: 8px; - font-size: 0.7rem; - padding-bottom: 0px; - padding-top: 0px; - padding-right: 0px; - padding-left: 0px; - margin-top: 3px; - cursor: pointer; - margin: 1px 2px 1px 2px; - border-width: 1px; - border-style: solid; - border-color: blue; - border-radius: 2px; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - - display : inline; -} -/******************************************************************************* - Image Search -*******************************************************************************/ -.image_search { - cursor:pointer; - width:16px; - height:16px; - vertical-align: top; - background-image: url("image/bg-submit2.gif"); - background-repeat: repeat-x; - background-position: left; - - padding : 3px; - -} -/**************************************************************************** - * Aligned button - ****************************************************************************/ -ul.aligned-block { - padding:5px; - display : block; -} -ul.aligned-block li { - display:table-cell; - padding : 10px; - list-style: none; -} -/****************************************************************************** - * Total in confirmation VEN / ACH - ******************************************************************************/ -#total_div_id { - float: right; - margin-right: 150px; - background: snow; - margin-top: 50px; -} -/*************************************************************************** - * column in the dashboard - ***************************************************************************/ - -td.cut { - max-width: 25%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -td.box { - border-left: #9999ff solid 1px; -} - -/**************************************************************************** -* Smoke appearance of modal box - ****************************************************************************/ -.smoke-base { - position: fixed; - top: 0px; - left: 0px; - bottom: 0px; - right: 0px; - visibility: hidden; - opacity: 0; - background: rgba(0,0,0,.3); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#90000000,endColorstr=#900000000); -} - -.smoke-base.smoke-visible { - opacity: 1; - visibility: visible; -} - -.smokebg { - position: fixed; - top: 0px; - left: 0px; - bottom: 0px; - right: 0px; -} - -.smoke-base .dialog { - position: absolute; - top: 25%; - width: 40%; - left: 50%; - margin-left: -20%; -} - -.dialog-prompt { - margin-top: 15px; - text-align: center; -} - -.dialog-buttons { - margin: 20px 0px 5px 0px -} - -.smoke { - text-align: center; - background-color: #DCE1EF; - font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif; - font-family: 'openSansRegular'; - - padding:2px; - margin:0px; - overflow:hidden; - z-index:3; - position:absolute; - left:10%; - border:1px solid #00008B; --moz-box-shadow: 10px 10px 5px #888; --webkit-box-shadow: 10px 10px 5px #888; -box-shadow: 10px 10px 5px #888; -font-size:14.4px; -font-size:0.90rem; -width: 85%; -} -.dialog-buttons button:hover{ - color:beige; - font-weight: bold; -} -.dialog-buttons button { - color:#FFFFFF; - font-weight: normal; - text-decoration:none; - background: #606c88; /* Old browsers */ - background: -moz-linear-gradient(top, #606c88 0%, #3f4c6b 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#606c88), color-stop(100%,#3f4c6b)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #606c88 0%,#3f4c6b 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #606c88 0%,#3f4c6b 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #606c88 0%,#3f4c6b 100%); /* IE10+ */ - background: linear-gradient(to bottom, #606c88 0%,#3f4c6b 100%); /* W3C */ - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#606c88', endColorstr='#3f4c6b',GradientType=0 ); /* IE6-9 */ - border-color: #605D5D; - border-width:0px; - padding:4px; - margin:3px; - cursor:pointer; - margin:1px 2px 1px 2px; - border-radius: 5px; - moz-border-radius:5px; - width:7em; - width:7rem; -} - -.dialog-prompt input { - margin: 0; - border: 0; - font-family: sans-serif; - outline: none; - font-family: Menlo, 'Andale Mono', monospace; - border: 1px solid #aaa; - width: 75%; - display: inline-block; - background-color: transparent; - font-size: 16px; - padding: 8px; -} - -.smoke-base .dialog-inner { - padding: 15px; - - color:#202020; -} - -button.cancel { - background-color: rgba(0,0,0,.40); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#444444,endColorstr=#444444); -} - -.queue{ - display:none; -} - -/* - * Menu selected when configuring the profile - */ - -td.selectedmenu { - -} -.field_follow_up -{ - margin-top:1px; - white-space: -moz-pre-wrap; - white-space: pre-wrap; - border:1px solid blue; - width:95%; -} -/** - * go_up -*/ -#go_up { - background-color: transparent; - border:0px; - font-size:300%; - box-shadow: none; - color:blue; - -} -#go_up a ,#go_up a:visited{ - background-image: none; - text-decoration: none; - color:blue; -} -/* - * Summary of operation , contains miscelleneous informations - * before confirming sale , purchase - */ -#summary_op1,#summary_op2 -{ - - float:left; -} -/* - * Name of the tiers in GESTION - */ -#gestion_title { - float:right; - margin-right: 25px; -} -/* - * Style for the Inplace Edit element - */ -span.inplace_edit -{ - text-decoration: underline; - cursor: pointer; -} -span.inplace_edit_input -{ - text-decoration: none; - font-size: 110%; - cursor: none; -} -/* - * Icon to pop out on the dashboard - */ -#span_cal_div,#span_todo_listg_div,#span_last_operation_box_div,#span_last_operation_management_div { - float:right; - margin-right:5px; - padding-top:0px; - margin-top:0px; -} -/** - * For the icon (font-famillo fontello) - */ -.icon { - font-family: "fontello"; - font-weight:normal; - cursor: pointer; -} -.icon:hover { - font-family: "fontello"; -} -/** - * Icon in the title of Box - */ -div.bxbutton .icon -{ - color:white; - text-decoration:none; - margin-left: 6px; - margin-right:6px; - /*! padding-top:10px; */ - font-size:14px; - font-size:1rem; - cursor: pointer; - border:0px; - height: 18px; -} -div.bxbutton .icon:hover -{ - background-color: white; - color: blue; -} -/** - * progressBar - */ -div.progressbar { - width:300px; - height:30px; - position:fixed; - top:5px; - left:40%; - background-color: white; - color:blue; - z-index:800; - border-color: #596a72; - border-width: 1px; - border-style: solid; -} -#progressValue { - display:block; - width: 0px; - height: 100%; - margin:0px; - padding: 0px; - background-color:darkblue; - color:antiquewhite; - font-weight: bolder; -} -/** - * Warning - */ -span.warning { - color:red; - font-style: normal; - font-weight: bold; - background-color: #eddadd; - padding:10px; -} - /**********************************************************************************************************************/ - /* LI as list - * Tabs like row - ****************************************************************************/ - ul.tab_row { - padding-top: 15px; - display:block; - width:96%; - padding-left:2%; - padding-right:2%; - list-style: none; - margin-left:2px; - } - ul.tab_row a { - display:block; - width:100%; - } - li.tab_row_selected { - display:block; - width:90%; - background: #C2E3FC; /* Old browsers */ - background: -moz-linear-gradient(top, #C2E3FC 0%, #6393c1 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C2E3FC), color-stop(100%,#6393c1)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #C2E3FC 0%,#6393c1 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #C2E3FC 0%,#6393c1 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #C2E3FC 0%,#6393c1 100%); /* IE10+ */ - background: linear-gradient(to bottom, #C2E3FC 0%,#6393c1 100%); /* W3C */ - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#C2E3FC', endColorstr='#6393c1',GradientType=0 ); /* IE6-9 */ - color:whitesmoke; - margin-left: 2px; - border-top-left-radius: 10px; - border-top-right-radius: 10px; - border:1px #879ed4 solid; - font-weight: bold; - padding:5px; - margin-top:13px; - - - } - li.tab_row { - display:block; - width:90%; - background-color: inherit; - color:inherit;/*! margin-left: 0px; */ - /*! padding: 5px; */ - /*! border-top-left-radius: 10px; */ - /*! border-top-right-radius: 10px; */ - border:1px #879ed4 solid; - background: whitesmoke; - margin-top:13px; - padding:5px; - - } - li.tab_row:hover { - display:block; - background-color: lightblue; - color:wheat;margin-left: 2px; - padding: 5px; - border-top-left-radius: 10px; - border-top-right-radius: 10px; - border:1px #879ed4 solid; - white-space: nowrap; - - } - @media only screen and (min-width: 1280px) { - li.tab_row { - display:block; - background-color: inherit; - - - padding: 15px 7px 15px 10px; - border-top-left-radius: 10px; - border-top-right-radius: 10px; - border:1px #879ed4 solid; - - } - li.tab_row:hover { - display:block; - background-color: lightblue; - color:wheat;margin-left: 2px; - padding: 15px 7px 0px 10px; - border-top-left-radius: 5px; - border-top-right-radius: 5px; - border:1px #879ed4 solid; - } - li.tab_row_selected { - padding: 12px 15px 15px 15px; - } - } - ul.tab_row a { - text-decoration: none; - color:inherit; - display:block; - white-space: nowrap; - width: 100%; - height: 100%; - cursor :pointer; - padding: 3px; - } - ul.tab_row a:hover { - text-decoration: none; - color:white; - display:block; - background-color: lightblue; - } - -span.tab_row { - font-style: italic; - font-size:90%; -} -span.title_tab_row { - font-size:105%; - font-weight: bold; - background-color: darkblue; - color:white; - padding : 3px; - -} -/* Selected row in a table */ -.background-selected { - background-color: #000066 !important; - color : white !important; - -} -p.info { - font-size:90%; - font-family: sans-serif; - font-style: italic; -} - - /* Cell with tag */ -span.tagcell { - border:1px solid blue; - padding:1px;margin:1px; - display: inline-block; - color:black; -} -#action_add_action2_list { - height:15rem; - overflow: auto; -} - -/********************************************************************************************************************* - * Color for tag - ********************************************************************************************************************/ -.tagcell-color1 { - /* Nothing no color */ -} -.tagcell-color2 { - background-color: #002ba3 !important; - color : white !important; - -} -.tagcell-color3 { - background-color: #336699 !important; - color: white !important; -} -.tagcell-color4 { - background-color: #5d90cd !important; - color: white !important; -} -.tagcell-color5 { - background-color: #C2E3FC !important; - color: #002ba3 !important; -} -.tagcell-color6 { - background-color: #006318 !important; - color : white !important; -} -.tagcell-color7 { - background-color: #008000 !important; - color : white !important; - -} -.tagcell-color8 { - background-color: #00D000 !important; - color : white !important; -} -.tagcell-color9 { - background-color: #87D087 !important; - color: white !important; -} -.tagcell-color10 { - background-color: #C8EEC8 !important; - color: #006318 !important; - -} -.tagcell-color11 { - background-color: red !important; - color: #edeff4 !important; -} -.tagcell-color12 { - background-color: #9D0244 !important; - color:#edeff4 !important; -} -.tagcell-color13 { - background-color: #C14064 !important; - color: #edeff4 !important; -} -.tagcell-color14 { - background-color: #F07396 !important; - color: #edeff4 !important; -} -.tagcell-color15 { - background-color: #F2AABE !important; - color: red !important; -} - -.tagcell-color16 { - background-color: #77420A !important; - color: #edeff4 !important; -} -.tagcell-color17 { - background-color: #B06F2A !important; - color: #edeff4 !important; -} -.tagcell-color18 { - background-color: orange !important; - color: #edeff4 !important; -} -.tagcell-color19 { - background-color: #F2CFAA !important; - color: red !important; -} -.tagcell-color20 { - background-color: yellow !important; - color: orangered !important; -} \ No newline at end of file diff --git a/html/index.php b/html/index.php index 04d2cca..c7d231c 100644 --- a/html/index.php +++ b/html/index.php @@ -215,7 +215,7 @@ if (isset($_REQUEST['reconnect'])&&isset($_REQUEST['backurl'])) ?>
- NOALYSS + NOALYSS
diff --git a/include/constant.php b/include/constant.php index 3699045..3d6ed3e 100644 --- a/include/constant.php +++ b/include/constant.php @@ -118,7 +118,7 @@ if ( ! defined ("SYSINFO_DISPLAY")) { } define ("DBVERSION",161); define ("MONO_DATABASE",25); -define ("DBVERSIONREPO",19); +define ("DBVERSIONREPO",20); define ('NOTFOUND','--not found--'); define ("MAX_COMPTE",4); define ('MAX_ARTICLE',5); diff --git a/include/sql/patch/ac-upgrade19.sql b/include/sql/patch/ac-upgrade19.sql new file mode 100644 index 0000000..332c742 --- /dev/null +++ b/include/sql/patch/ac-upgrade19.sql @@ -0,0 +1,8 @@ +begin; + +update user_global_pref set parameter_value='Classic7' where parameter_type='THEME'; +delete from theme where the_name != 'Classic7'; + + +select upgrade_repo(20); +commit; \ No newline at end of file From MAILER-DAEMON Sun Jun 06 07:32:10 2021 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1lpr0j-0004EL-Se for mharc-noalyss-commit@gnu.org; Sun, 06 Jun 2021 07:32:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpr0b-0004Ca-Sb for noalyss-commit@nongnu.org; Sun, 06 Jun 2021 07:32:02 -0400 Received: from vcs0.savannah.gnu.org ([209.51.188.201]:33059) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpr0b-0001Wn-MC for noalyss-commit@nongnu.org; Sun, 06 Jun 2021 07:32:01 -0400 Received: by vcs0.savannah.gnu.org (Postfix, from userid 68660) id A4093209AA; Sun, 6 Jun 2021 07:32:01 -0400 (EDT) To: noalyss-commit@nongnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Reply-To: sparkyx Mail-Followup-To: noalyss-generale@nongnu.org In-Reply-To: <20210606113159.2052.47334@vcs0.savannah.gnu.org> References: <20210606113159.2052.47334@vcs0.savannah.gnu.org> X-Git-Repo: noalyss X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: 0ef74679dacf9558bfc0ded1f76cbfe246b88385 Auto-Submitted: auto-generated Message-Id: <20210606113201.A4093209AA@vcs0.savannah.gnu.org> Date: Sun, 6 Jun 2021 07:32:01 -0400 (EDT) From: dany@alchimerys.be (Dany De Bontridder) Subject: [Noalyss-commit] [noalyss] 02/03: Manage Table : improve, set option for the column and header (CSS style, javascript, ...) X-BeenThere: noalyss-commit@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2021 11:32:02 -0000 sparkyx pushed a commit to branch master in repository noalyss. commit 0ef74679dacf9558bfc0ded1f76cbfe246b88385 Author: sparkyx AuthorDate: Mon May 31 15:13:48 2021 +0200 Manage Table : improve, set option for the column and header (CSS style, javascript,...) --- include/lib/manage_table_sql.class.php | 121 +++++++++++++++++++++++++-------- scenario/test_manage_table_sql.php | 5 +- 2 files changed, 97 insertions(+), 29 deletions(-) diff --git a/include/lib/manage_table_sql.class.php b/include/lib/manage_table_sql.class.php index 2734566..1776673 100644 --- a/include/lib/manage_table_sql.class.php +++ b/include/lib/manage_table_sql.class.php @@ -93,6 +93,9 @@ class Manage_Table_SQL protected $title; //! < give the title of the diabox , default is Data private $cssclass; //! CSS class for the dialog box private $current_row; //! in display_row and display_custom_row, it is the current row which is used + private $a_col_option; //!< Extra to add to the column : CSS Style , CSS class, javascript ,... + private $a_header_option; //!< Extra to add to the column Header : CSS Style , CSS class, javascript ,... + /** * @brief Constructor : set the label to the column name, * the order of the column , set the properties and the @@ -113,6 +116,8 @@ class Manage_Table_SQL $this->a_prop[$value]=self::UPDATABLE|self::VISIBLE; $this->a_type[$value]=$this->table->type[$value]; $this->a_select[$value]=null; + $this->a_col_option[$value]=""; + $this->a_header_option[$value]=""; $order++; } $this->object_name=uniqid("tbl"); @@ -143,7 +148,7 @@ class Manage_Table_SQL return $this->cssclass; } /** - * Set the title of the diabox , default is Donnée + *@brief Set the title of the diabox , default is Donnée * @param type $p_title */ function setTitle($p_title) @@ -155,7 +160,7 @@ class Manage_Table_SQL return $this->title; } /** - * Get if we can search in the table + * @brief Get if we can search in the table * @return boolean */ public function get_search_table() @@ -164,7 +169,7 @@ class Manage_Table_SQL } /** - * Set the table searchable or not + * @brief Set the table searchable or not * @param boolean : true we can search * @return $this */ @@ -175,7 +180,7 @@ class Manage_Table_SQL } /** - * send the XML headers for the ajax call + *@brief send the XML headers for the ajax call */ function send_header() { @@ -183,7 +188,7 @@ class Manage_Table_SQL } /** - * return the db_style + * @brief return the db_style * @return array */ public function get_dialogbox_style() @@ -192,7 +197,7 @@ class Manage_Table_SQL } /** - * Dialog box style , by default {position: "fixed", top: '15%', width: "auto", "margin-left": "20%"} + * @brief Dialog box style , by default {position: "fixed", top: '15%', width: "auto", "margin-left": "20%"} * * @param array $db_style , will be transformed into a json object */ @@ -221,14 +226,14 @@ class Manage_Table_SQL } /** - * When adding an element , it is column we checked to insert before, + * @brief When adding an element , it is column we checked to insert before, * @return none */ function get_col_sort() { return $this->col_sort; } /** - * Set the info for a column, use Icon_Action::infobulle + * @brief Set the info for a column, use Icon_Action::infobulle * the message are in message_javascript.php * @param string $p_key Column name * @param integer $p_comment comment idx @@ -240,7 +245,7 @@ class Manage_Table_SQL $this->a_info[$p_key]=$p_comment; } /** - * When adding an element ,we place it thanks the DOM Attribute sort_value + * @brief When adding an element ,we place it thanks the DOM Attribute sort_value * set it to -1 if you want one to append * @param numeric $pn_num * @note you must be aware that the icon_mod or icon_del is in the first col, @@ -287,7 +292,7 @@ class Manage_Table_SQL $this->aerror[$p_col]=$p_message; } /** - * returns the nb of errors found + * @brief returns the nb of errors found */ function count_error() { @@ -348,8 +353,66 @@ function check() { return true; } + /** + * @brief add extra to column, normally class , javascript or style + * @param string $p_key column name + * @see set_col_option + */ + public function get_col_option($p_key) + { + if (!isset($this->a_type[$p_key])) + throw new Exception("invalid key $p_key"); + return $this->a_col_option[$p_col]; + } + /** + * @brief add extra to column, normally class or style + * + * @param string $p_key column name + * @param string $p_value extra info for this column (CSS, js, ...) + * + @code{.php} + $manage_table->set_col_option("pcm_lib",'style="color:red;text-align:center"'); + + $manage_table->set_col_option("pcm_val", "onclick=\"alert('toto')\" style=\"text-decoration:underline\" onmouseover=\"this.style.cursor='pointer'\""); + @endcode + * + */ + public function set_col_option($p_key,$p_value) + { + + if (!isset($this->a_type[$p_key])) + throw new Exception("invalid key $p_key"); + $this->a_col_option[$p_key]=$p_value; + return $this; + } /** + * @brief add extra to column Header, normally class , javascript or style + * @param string $p_key column name + * @see set_col_option + */ + public function get_header_option($p_key) + { + if (!isset($this->a_type[$p_key])) + throw new Exception("invalid key $p_key"); + + return $this->a_header_option[$p_col]; + } + /** + * @brief add extra to column Header, normally class or style + * @param string $p_key column name + * @param string $p_value extra info for this column (CSS, js, ...) + * @see set_col_option + */ + public function set_header_option($p_key,$p_value) + { + if (!isset($this->a_type[$p_key])) + throw new Exception("invalid key $p_key"); + $this->a_header_option[$p_key]=$p_value; + return $this; + } + + /** * @brief set the type of a column , it will change in the input db box , the * select must supply an array of possible values [val=> , label=>] with * the variable $this->key_name->a_value @@ -371,6 +434,10 @@ function check() $this->a_type[$p_key]=$p_value; $this->a_select[$p_key]=$p_array; + if ( $p_value == "numeric" && $this->a_col_option[$p_key]=="") { + $this->a_col_option[$p_key]=' class="num" '; + } + } /** @@ -387,7 +454,7 @@ function check() } /** - * Get the object name + * @brief Get the object name * @details : return the object name , it is useful it * the javascript will return coded without the create_js_script function * @see create_js_script @@ -397,7 +464,7 @@ function check() return $this->object_name; } /** - * Add json parameter to the current one + * @brief Add json parameter to the current one */ function add_json_param($p_attribute,$p_value) { $x=json_decode($this->json_parameter,TRUE); @@ -412,7 +479,7 @@ function check() return $this->object_name; } /** - * Set the parameter of the object (gDossier, ac, plugin_code...) + * @brief Set the parameter of the object (gDossier, ac, plugin_code...) * @detail By default , only gDossier will be set . The default value * is given in the constructor * @param string with json format $p_json @@ -424,7 +491,7 @@ function check() $this->set_json($p_json); } /** - * Set the parameter of the object (gDossier, ac, plugin_code...) + * @brief Set the parameter of the object (gDossier, ac, plugin_code...) * @detail By default , only gDossier will be set . The default value * is given in the constructor * @param string with json format $p_json @@ -470,7 +537,7 @@ function check() return HtmlInput::errorbulle($error); } /** - * Set the object_name + * @brief Set the object_name * @param string $p_object_name name of the JS var, used in ajax response,id * of the part of the id DOMElement to modify */ @@ -507,7 +574,7 @@ function check() return $this->row_update; } /** - * Set the icon to modify at the right ,the first col or left of the row + * @brief Set the icon to modify at the right ,the first col or left of the row * * @param type $pString * @throws Exception @@ -518,7 +585,7 @@ function check() $this->icon_mod=$pString; } /** - * Set the icon to delete at the right or left of the row + * @brief Set the icon to delete at the right or left of the row * @param type $pString * @throws Exception */ @@ -815,7 +882,7 @@ function check() $sorted=' class="sorttable_sorted"'; } - $style=($this->get_col_type($key)=="text")?"":' style="text-align:right;" '; + $style=$this->a_header_option[$key]; if ($this->get_property_visible($key)==true ) { echo th("", $sorted.$style, $this->a_label_displaid[$key]); } @@ -832,14 +899,14 @@ function check() echo ''; } /** - * set the column to sort by default + * @brief set the column to sort by default */ function set_sort_column($p_col) { $this->sort_column=$p_col; } /** - * return the column to sort + * @brief return the column to sort */ function get_sort_column() { @@ -935,7 +1002,8 @@ function check() { $js=sprintf("onclick=\"%s.input('%s','%s');\"", $this->object_name, $pk_id, $this->object_name); - $td=($i == $this->col_sort ) ? sprintf('',$p_row[$v]):""; + $td=($i == $this->col_sort ) ? sprintf('', + $p_row[$v],$this->a_col_option[$v]):""; echo $td.HtmlInput::anchor($p_row[$v], "", $js).''; } elseif ( $i == $this->col_sort && $this->get_property_visible($v) ) @@ -943,12 +1011,12 @@ function check() if ( $this->get_col_type($v) == 'text') { echo td($p_row[$v],sprintf(' sorttable_customkey="X%s" ',$p_row[$v])); } elseif ( $this->get_col_type($v) == 'numeric') { - echo td($p_row[$v],sprintf('class="num" ',$p_row[$v])); + echo td($p_row[$v],$this->a_col_option[$v],$p_row[$v]); } elseif ($this->get_col_type($v)=="custom") { // For custom col echo $this->display_row_custom($v,$p_row[$v],$pk_id); }else { - echo td($p_row[$v],sprintf(' sorttable_customkey="X%s" ',$p_row[$v])); + echo td($p_row[$v],sprintf(' sorttable_customkey="X%s" ',$p_row[$v]),$this->a_col_option[$v]); } } @@ -976,7 +1044,7 @@ function check() if (isset($array_to_search[$e]['value'])&&$array_to_search[$e]['value']==$value) { $found=TRUE; - echo td($array_to_search[$e]['label']); + echo td($array_to_search[$e]['label'],$this->a_col_option[$v]); } } @@ -988,11 +1056,8 @@ function check() // For custom col echo $this->display_row_custom($v,$p_row[$v],$pk_id); } - elseif ( $this->get_col_type($v)=="numeric") { - echo td($p_row[$v],' class="num" '); - } else { - echo td($p_row[$v]); + echo td($p_row[$v], $this->a_col_option[$v]); } } } diff --git a/scenario/test_manage_table_sql.php b/scenario/test_manage_table_sql.php index 9a2c4a6..da6ea55 100644 --- a/scenario/test_manage_table_sql.php +++ b/scenario/test_manage_table_sql.php @@ -47,11 +47,14 @@ echo "
"; $manage_table->create_js_script(); // Test the column header -$manage_table->set_col_label('pcm_val', "Poste"); +$manage_table->set_col_label('pcm_val', "Poste "); $manage_table->set_col_label('parent_accounting', "Dépend"); $manage_table->set_col_label('pcm_lib', "Libellé"); $manage_table->set_col_label('pcm_type', "Type de menu".Icon_Action::infobulle(33)); $manage_table->set_sort_column("pcm_lib"); +$manage_table->set_col_option("pcm_lib",'style="color:red;text-align:center"'); +$manage_table->set_col_option("pcm_val", "onclick=\"alert('toto')\" style=\"text-decoration:underline\" onmouseover=\"this.style.cursor='pointer'\""); +$manage_table->set_header_option("pcm_val", "onmouseover=\"smoke.alert('Click on Poste for detail',undefined,{duration:500})\""); // Change visible property function test_visible_update(Manage_Table_SQL $p_manage_table,$p_property,$p_visible,$p_update) { global $g_failed,$g_succeed; From MAILER-DAEMON Sun Jun 06 07:32:07 2021 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1lpr0g-0004DB-52 for mharc-noalyss-commit@gnu.org; Sun, 06 Jun 2021 07:32:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpr0c-0004Cn-89 for noalyss-commit@nongnu.org; Sun, 06 Jun 2021 07:32:02 -0400 Received: from vcs0.savannah.gnu.org ([209.51.188.201]:33064) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpr0c-0001XE-1x for noalyss-commit@nongnu.org; Sun, 06 Jun 2021 07:32:02 -0400 Received: by vcs0.savannah.gnu.org (Postfix, from userid 68660) id 09482209AA; Sun, 6 Jun 2021 07:32:02 -0400 (EDT) To: noalyss-commit@nongnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Reply-To: sparkyx Mail-Followup-To: noalyss-generale@nongnu.org In-Reply-To: <20210606113159.2052.47334@vcs0.savannah.gnu.org> References: <20210606113159.2052.47334@vcs0.savannah.gnu.org> X-Git-Repo: noalyss X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: c3cb74283d2c7ee613e1cdd95026bc2833f9fb39 Auto-Submitted: auto-generated Message-Id: <20210606113202.09482209AA@vcs0.savannah.gnu.org> Date: Sun, 6 Jun 2021 07:32:01 -0400 (EDT) From: dany@alchimerys.be (Dany De Bontridder) Subject: [Noalyss-commit] [noalyss] 03/03: Document : new function export to the filesystem and transform into a PDF X-BeenThere: noalyss-commit@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2021 11:32:02 -0000 sparkyx pushed a commit to branch master in repository noalyss. commit c3cb74283d2c7ee613e1cdd95026bc2833f9fb39 Author: sparkyx AuthorDate: Tue Jun 1 14:23:56 2021 +0200 Document : new function export to the filesystem and transform into a PDF --- include/class/document.class.php | 60 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/include/class/document.class.php b/include/class/document.class.php index dfddcc6..b87fb36 100644 --- a/include/class/document.class.php +++ b/include/class/document.class.php @@ -1809,5 +1809,65 @@ class Document } return $p_buffer; } + + /** + * @brief export the file to the file system and complet $this->d_mimetype, d_filename and + * @param string $p_destination_file path + * @return bool false for failure and true for success + */ + function export_file($p_destination_file) + { + if ($this->d_id==0) { + return; + } + $this->db->start(); + $ret=$this->db->exec_sql( + "select d_id,d_lob,d_filename,d_mimetype from document where d_id=$1", [$this->d_id]); + if (Database::num_row($ret)==0) + { + return; + } + $row=Database::fetch_array($ret, 0); + //the document is saved into file $tmp + $tmp=$p_destination_file; + if ( $this->db->lo_export($row['d_lob'], $tmp) == true) { + $this->d_mimetype=$row['d_mimetype']; + $this->d_filename=$row['d_filename']; + $this->db->commit(); + return true; + } else { + $this->db->commit(); + return false; + + } + } + /** + * @brief transform the current Document to a PDF, returns the full path of the PDF from the TMP folder + * @return string full path to the PDF file + */ + function transform2pdf() + { + if (GENERATE_PDF == 'YES' && $pdf == 'on') { + \record_log(__FILE__."DOC37 : PDF not available"); + throw new \Exception("Cannot not transform to PDF"); + } + // Extract from public.document + $dirname=tempnam($_ENV['TMP'],"document"); + unlink($dirname); + umask(0); + mkdir($dirname); + $destination_file=$dirname."/".$this->d_filename; + $this->export_file($destination_file); + passthru(OFFICE . escapeshellarg($destination_file), $status); + if ($status != 0) { + \record_log(__FILE__."DOC45 : Error cannot transform into PDF"); + throw new \Exception("Cannot not transform to PDF"); + } + // remove extension + $ext = strrpos($this->d_filename, "."); + $pdf_file = substr($this->d_filename, 0, $ext); + $pdf_file .=".pdf"; + return $dirname."/".$pdf_file; + } }