diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 3ce7f8a6c5..2fc1d12c74 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,13 @@ +2006-11-17 Raul Mateos + + * operation/agentes/estado_generalagente.php: Clear code, small adapt to + guidelines. Add code for showing 'Never' if there wasn't a previous contact + of the agent. + + * include/styles/pandora.css, god.css, link.css, op.css, tip.css: Style + correction. Add border: 0px to tables and images. With this change, all the + tables and images shouln't have the "border=0" parameter. + 2006-11-14 Raul Mateos * include/styles/pandora.css: Change some styles. diff --git a/pandora_console/include/styles/god.css b/pandora_console/include/styles/god.css index 712627bc55..06c563eab0 100644 --- a/pandora_console/include/styles/god.css +++ b/pandora_console/include/styles/god.css @@ -1,26 +1,113 @@ -#god a {display: block; color: #000; text-decoration: none;} -#god a:hover {background-color: #efefbd;} -#god li {padding: 2px 0px 2px 30px; position:relative; left: 1px; width:99%; border-bottom: 1px solid #d4d4d4; border-top: 1px solid #ffffff;} -#god1 li, #god2 li, #god3 li, #god4 li, #god5 li, #god6 li, #god7 li, #god8 li, #god1s li, #god2s li, #god3s li, #god4s li, #god5s li, #god6s li, #god7s li, #god8s li {padding-top: 0px; padding-bottom: 0px; padding-right: 0px;} -div#god1>ul, div#god2>ul, div#god3>ul, div#god4>ul, div#god5>ul, div#god6>ul, div#god7>ul, div#god8>ul, div#god1s>ul, div#god2s>ul, div#god3s>ul, div#god4s>ul, div#god5s>ul, div#god6s>ul, div#god7s>ul, div#god8s>ul {width:124px;} -#god1 li {background: url(../../images/god1.gif) no-repeat; background-position: 4px 2px;} -#god2 li {background: url(../../images/god2.gif) no-repeat; background-position: 4px 3px;} -#god3 li {background: url(../../images/god3.gif) no-repeat; background-position: 5px 2px;} -#god4 li {background: url(../../images/god4.gif) no-repeat; background-position: 5px 4px;} -#god5 li {background: url(../../images/god5.gif) no-repeat; background-position: 3px 3px;} -#god6 li {background: url(../../images/god6.gif) no-repeat; background-position: 4px 3px;} -#god7 li {background: url(../../images/god7.gif) no-repeat; background-position: 4px 3px;} -#god8 li {background: url(../../images/god8.gif) no-repeat; background-position: 5px 3px;} -#god1 li:hover, #god1s li {background: #efefbd url(../../images/god1.gif) no-repeat; background-position: 4px 2px;} -#god2 li:hover, #god2s li {background: #efefbd url(../../images/god2.gif) no-repeat; background-position: 4px 3px;} -#god3 li:hover, #god3s li {background: #efefbd url(../../images/god3.gif) no-repeat; background-position: 5px 2px;} -#god4 li:hover, #god4s li {background: #efefbd url(../../images/god4.gif) no-repeat; background-position: 5px 4px;} -#god5 li:hover, #god5s li {background: #efefbd url(../../images/god5.gif) no-repeat; background-position: 3px 3px;} -#god6 li:hover, #god6s li {background: #efefbd url(../../images/god6.gif) no-repeat; background-position: 4px 3px;} -#god7 li:hover, #god7s li {background: #efefbd url(../../images/god7.gif) no-repeat; background-position: 4px 3px;} -#god8 li:hover, #god8s li {background: #efefbd url(../../images/god8.gif) no-repeat; background-position: 5px 3px;} -#arrowg1 ul, #arrowg2 ul, #arrowg3 ul, #arrowg4 ul, #arrowg5 ul {padding: 0px 0px 0px 0px; list-style: none;} -#arrowg1 li, #arrowg2 li, #arrowg3 li, #arrowg4 li, #arrowg5 li, #arrowgs1 li, #arrowgs2 li, #arrowgs3 li, #arrowgs4 li, #arrowgs5 li {padding: 0px 0px 0px 15px; background: #f5f5dc url(../../images/arrow.gif) no-repeat; background-position: 2px 4px; position:relative; left: 30px; width:80%;} -div#arrowg1>ul, div#arrowg2>ul, div#arrowg3>ul, div#arrowg4>ul, div#arrowg5>ul, div#arrowgs1>ul, div#arrowgs2>ul, div#arrowgs3>ul,div#arrowgs4>ul, div#arrowgs5>ul {width: 88%;} -#arrowg1 li:hover, #arrowg2 li:hover, #arrowg3 li:hover, #arrowg4 li:hover, #arrowg5 li:hover, #arrowgs1 li, #arrowgs2 li, #arrowgs3 li, #arrowgs4 li, #arrowgs5 li {background: #efefbd url(../../images/arrow.gif) no-repeat; background-position: 2px 4px;} -div#menug {background-color:#f5f5dc; border-width:1px; border-style:solid; border-color:#4a6629; width: 155px; margin-bottom: 15px;} \ No newline at end of file +#god a { + display: block; + color: #000; + text-decoration: none; + } +#god a:hover { + background-color: #efefbd; + } +#god li { + padding: 2px 0px 2px 30px; + position: relative; + left: 1px; + width: 99%; + border-bottom: 1px solid #d4d4d4; + border-top: 1px solid #ffffff; + } +#god1 li, #god2 li, #god3 li, #god4 li, #god5 li, #god6 li, #god7 li, #god8 li, #god1s li, #god2s li, #god3s li, #god4s li, #god5s li, #god6s li, #god7s li, #god8s li { + padding-top: 0px; + padding-bottom: 0px; + padding-right: 0px; + } +div#god1>ul, div#god2>ul, div#god3>ul, div#god4>ul, div#god5>ul, div#god6>ul, div#god7>ul, div#god8>ul, div#god1s>ul, div#god2s>ul, div#god3s>ul, div#god4s>ul, div#god5s>ul, div#god6s>ul, div#god7s>ul, div#god8s>ul { + width: 124px; + } +#god1 li { + background: url(../../images/god1.gif) no-repeat; + background-position: 4px 2px; + } +#god2 li { + background: url(../../images/god2.gif) no-repeat; + background-position: 4px 3px; + } +#god3 li { + background: url(../../images/god3.gif) no-repeat; + background-position: 5px 2px; + } +#god4 li { + background: url(../../images/god4.gif) no-repeat; + background-position: 5px 4px; + } +#god5 li { + background: url(../../images/god5.gif) no-repeat; + background-position: 3px 3px; + } +#god6 li { + background: url(../../images/god6.gif) no-repeat; + background-position: 4px 3px; + } +#god7 li { + background: url(../../images/god7.gif) no-repeat; + background-position: 4px 3px; + } +#god8 li {background: url(../../images/god8.gif) no-repeat; + background-position: 5px 3px; + } +#god1 li:hover, #god1s li { + background: #efefbd url(../../images/god1.gif) no-repeat; + background-position: 4px 2px; + } +#god2 li:hover, #god2s li { + background: #efefbd url(../../images/god2.gif) no-repeat; + background-position: 4px 3px; + } +#god3 li:hover, #god3s li { + background: #efefbd url(../../images/god3.gif) no-repeat; + background-position: 5px 2px; + } +#god4 li:hover, #god4s li { + background: #efefbd url(../../images/god4.gif) no-repeat; + background-position: 5px 4px; + } +#god5 li:hover, #god5s li { + background: #efefbd url(../../images/god5.gif) no-repeat; + background-position: 3px 3px; + } +#god6 li:hover, #god6s li { + background: #efefbd url(../../images/god6.gif) no-repeat; + background-position: 4px 3px; + } +#god7 li:hover, #god7s li { + background: #efefbd url(../../images/god7.gif) no-repeat; + background-position: 4px 3px; + } +#god8 li:hover, #god8s li {background: #efefbd url(../../images/god8.gif) no-repeat; + background-position: 5px 3px; + } +#arrowg1 ul, #arrowg2 ul, #arrowg3 ul, #arrowg4 ul, #arrowg5 ul { + padding: 0px 0px 0px 0px; + list-style: none; + } +#arrowg1 li, #arrowg2 li, #arrowg3 li, #arrowg4 li, #arrowg5 li, #arrowgs1 li, #arrowgs2 li, #arrowgs3 li, #arrowgs4 li, #arrowgs5 li { + padding: 0px 0px 0px 15px; + background: #f5f5dc url(../../images/arrow.gif) no-repeat; + background-position: 2px 4px; + position: relative; + left: 30px; + width: 80%; + } +div#arrowg1>ul, div#arrowg2>ul, div#arrowg3>ul, div#arrowg4>ul, div#arrowg5>ul, div#arrowgs1>ul, div#arrowgs2>ul, div#arrowgs3>ul,div#arrowgs4>ul, div#arrowgs5>ul { + width: 88%; + } +#arrowg1 li:hover, #arrowg2 li:hover, #arrowg3 li:hover, #arrowg4 li:hover, #arrowg5 li:hover, #arrowgs1 li, #arrowgs2 li, #arrowgs3 li, #arrowgs4 li, #arrowgs5 li { + background: #efefbd url(../../images/arrow.gif) no-repeat; + background-position: 2px 4px; + } +div#menug { + background-color:#f5f5dc; + border-width: 1px; + border-style: solid; + border-color: #4a6629; + width: 155px; + margin-bottom: 15px; + } \ No newline at end of file diff --git a/pandora_console/include/styles/link.css b/pandora_console/include/styles/link.css index 8216d6e44f..385e1937fa 100644 --- a/pandora_console/include/styles/link.css +++ b/pandora_console/include/styles/link.css @@ -1,6 +1,31 @@ -#link a {display: block; color: #000;} -#link a:hover {background-color: #cde0ad;} -div.linkli>ul {width: 133px;} -.linkli li {padding: 0px 0px 0px 22px; border-bottom: 1px solid #d6d6d6; border-top: 1px solid #f5ffff; position:relative; left: 0px; width:100%; background: url(../../images/link.gif) no-repeat; background-position: 3px 8px;} -.linkli li:hover {background: #cde0ad url(../../images/link.gif) no-repeat; background-position: 3px 8px;} -div#menul {background-color: #e9f3d2; border-width:1px; border-style:solid; border-color:#4a6629; width: 155px;} \ No newline at end of file +#link a { + display: block; + color: #000; + } +#link a:hover { + background-color: #cde0ad; + } +div.linkli>ul { + width: 133px; + } +.linkli li { + padding: 0px 0px 0px 22px; + border-bottom: 1px solid #d6d6d6; + border-top: 1px solid #f5ffff; + position: relative; + left: 0px; + width: 100%; + background: url(../../images/link.gif) no-repeat; + background-position: 3px 8px; + } +.linkli li:hover { + background: #cde0ad url(../../images/link.gif) no-repeat; + background-position: 3px 8px; + } +div#menul { + background-color: #e9f3d2; + border-width: 1px; + border-style: solid; + border-color: #4a6629; + width: 155px; + } \ No newline at end of file diff --git a/pandora_console/include/styles/op.css b/pandora_console/include/styles/op.css index 0b63ca9583..6ab720a2e4 100644 --- a/pandora_console/include/styles/op.css +++ b/pandora_console/include/styles/op.css @@ -1,26 +1,108 @@ -#op a {display: block; color: #000; text-decoration: none;} -#op a:hover {background-color: #d4ddc6; text-decoration: none;} -#op li {padding: 2px 0px 2px 28px; position:relative; left: 0px; width:100%; border-bottom: 1px solid #d4d4d4; border-top: 1px solid #eee;} -#op1 li, #op2 li, #op3 li, #op4 li, #op5 li, #op6 li, #op7 li, #op1s li, #op2s li, #op3s li, #op4s li, #op5s li, #op6s li, #op7s li {padding-top: 0px; padding-bottom: 0px; padding-right: 1px;} -div#op1>ul, div#op2>ul, div#op3>ul, div#op4>ul, div#op5>ul, div#op6>ul, div#op7>ul, div#op1s>ul, div#op2s>ul, div#op3s>ul, div#op4s>ul, div#op5s>ul, div#op6s>ul, div#op7s>ul {width:126px;} -#op1 li {background: url(../../images/op1.gif) no-repeat; background-position: 4px 3px;} -#op2 li {background: url(../../images/op2.gif) no-repeat; background-position: 3px 3px;} -#op3 li {background: url(../../images/op3.gif) no-repeat; background-position: 5px 3px;} -#op4 li {background: url(../../images/op4.gif) no-repeat; background-position: 5px 3px;} -#op5 li {background: url(../../images/op5.gif) no-repeat; background-position: 7px 3px;} -#op6 li {background: url(../../images/op6.gif) no-repeat; background-position: 4px 5px;} -#op7 li {background: url(../../images/op7.gif) no-repeat; background-position: 1px 0px;} - -#op1 li:hover, #op1s li {background: #d4ddc6 url(../../images/op1.gif) no-repeat; background-position: 4px 3px;} -#op2 li:hover, #op2s li {background: #d4ddc6 url(../../images/op2.gif) no-repeat; background-position: 3px 3px;} -#op3 li:hover, #op3s li {background: #d4ddc6 url(../../images/op3.gif) no-repeat; background-position: 5px 3px;} -#op4 li:hover, #op4s li {background: #d4ddc6 url(../../images/op4.gif) no-repeat; background-position: 5px 3px;} -#op5 li:hover, #op5s li {background: #d4ddc6 url(../../images/op5.gif) no-repeat; background-position: 7px 3px;} -#op6 li:hover, #op6s li {background: #d4ddc6 url(../../images/op6.gif) no-repeat; background-position: 4px 5px;} -#op7 li:hover, #op7s li {background: #d4ddc6 url(../../images/op7.gif) no-repeat; background-position: 1px 0px;} - -#arrow1 ul, #arrow2 ul, #arrow3 ul, #arrow4 ul, #arrow5 ul {padding: 0px 0px 0px 0px; list-style: none;} -#arrow1 li, #arrows1 li, #arrow2 li, #arrows2 li, #arrow3 li, #arrows3 li, #arrow4 li, #arrows4 li, #arrow5 li, #arrows5 li {padding: 0px 0px 0px 15px; background: #e6e9cd url(../../images/arrow.gif) no-repeat; background-position: 2px 4px; position: relative; left: 26px; width: 82%;} -div#arrow1>ul, div#arrows1>ul, div#arrow2>ul, div#arrows2>ul, div#arrow3>ul, div#arrows3>ul, div#arrow4>ul, div#arrows4>ul, div#arrow5>ul, div#arrows5>ul {width: 89%;} -#arrow1 li:hover, #arrows1 li, #arrow2 li:hover, #arrows2 li, #arrow3 li:hover, #arrows3 li, #arrow4 li:hover, #arrows4 li, #arrow5 li:hover, #arrows5 li {background: #d4ddc6 url(../../images/arrow.gif) no-repeat; background-position: 2px 4px;} -div#menuop {background-color: #e6e9cd; border-width:1px; border-style:solid; border-color:#4a6629; width: 155px; margin-bottom: 15px;} \ No newline at end of file +#op a { + display: block; + color: #000; + text-decoration: none; + } +#op a:hover { + background-color: #d4ddc6; + text-decoration: none; + } +#op li { + padding: 2px 0px 2px 28px; + position: relative; + left: 0px; + width:100%; + border-bottom: 1px solid #d4d4d4; + border-top: 1px solid #eee; + } +#op1 li, #op2 li, #op3 li, #op4 li, #op5 li, #op6 li, #op7 li, #op1s li, #op2s li, #op3s li, #op4s li, #op5s li, #op6s li, #op7s li { + padding-top: 0px; + padding-bottom: 0px; + padding-right: 1px; + } +div#op1>ul, div#op2>ul, div#op3>ul, div#op4>ul, div#op5>ul, div#op6>ul, div#op7>ul, div#op1s>ul, div#op2s>ul, div#op3s>ul, div#op4s>ul, div#op5s>ul, div#op6s>ul, div#op7s>ul { + width:126px; + } +#op1 li { + background: url(../../images/op1.gif) no-repeat; + background-position: 4px 3px; + } +#op2 li { + background: url(../../images/op2.gif) no-repeat; + background-position: 3px 3px; + } +#op3 li { + background: url(../../images/op3.gif) no-repeat; + background-position: 5px 3px; + } +#op4 li { + background: url(../../images/op4.gif) no-repeat; + background-position: 5px 3px; + } +#op5 li { + background: url(../../images/op5.gif) no-repeat; + background-position: 7px 3px; + } +#op6 li { + background: url(../../images/op6.gif) no-repeat; + background-position: 4px 5px; + } +#op7 li { + background: url(../../images/op7.gif) no-repeat; + background-position: 1px 0px; + } +#op1 li:hover, #op1s li { + background: #d4ddc6 url(../../images/op1.gif) no-repeat; + background-position: 4px 3px; + } +#op2 li:hover, #op2s li { + background: #d4ddc6 url(../../images/op2.gif) no-repeat; + background-position: 3px 3px; + } +#op3 li:hover, #op3s li { + background: #d4ddc6 url(../../images/op3.gif) no-repeat; + background-position: 5px 3px; + } +#op4 li:hover, #op4s li { + background: #d4ddc6 url(../../images/op4.gif) no-repeat; + background-position: 5px 3px; + } +#op5 li:hover, #op5s li { + background: #d4ddc6 url(../../images/op5.gif) no-repeat; + background-position: 7px 3px; + } +#op6 li:hover, #op6s li { + background: #d4ddc6 url(../../images/op6.gif) no-repeat; + background-position: 4px 5px; + } +#op7 li:hover, #op7s li { + background: #d4ddc6 url(../../images/op7.gif) no-repeat; + background-position: 1px 0px; + } +#arrow1 ul, #arrow2 ul, #arrow3 ul, #arrow4 ul, #arrow5 ul { + padding: 0px 0px 0px 0px; + list-style: none; + } +#arrow1 li, #arrows1 li, #arrow2 li, #arrows2 li, #arrow3 li, #arrows3 li, #arrow4 li, #arrows4 li, #arrow5 li, #arrows5 li { + padding: 0px 0px 0px 15px; + background: #e6e9cd url(../../images/arrow.gif) no-repeat; + background-position: 2px 4px; + position: relative; + left: 26px; + width: 82%; + } +div#arrow1>ul, div#arrows1>ul, div#arrow2>ul, div#arrows2>ul, div#arrow3>ul, div#arrows3>ul, div#arrow4>ul, div#arrows4>ul, div#arrow5>ul, div#arrows5>ul { + width: 89%; + } +#arrow1 li:hover, #arrows1 li, #arrow2 li:hover, #arrows2 li, #arrow3 li:hover, #arrows3 li, #arrow4 li:hover, #arrows4 li, #arrow5 li:hover, #arrows5 li { + background: #d4ddc6 url(../../images/arrow.gif) no-repeat; + background-position: 2px 4px; + } +div#menuop { + background-color: #e6e9cd; + border-width: 1px; + border-style: solid; + border-color:#4a6629; + width: 155px; + margin-bottom: 15px; + } \ No newline at end of file diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index ef5a6bad6c..7c9c51630e 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -4,16 +4,20 @@ // Copyright (c) 2004-2006 Sancho Lerena, slerena@gmail.com // Copyright (c) 2005-2006 Artica Soluciones Tecnológicas S.L, info@artica.es // Copyright (c) 2004-2006 Raul Mateos Martin, raulofpandora@gmail.com -// This program is free software; you can redistribute it and/or +// This program is free software; + you can redistribute it and/or // modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 +// as published by the Free Software Foundation; + either version 2 // of the License, or (at your option) any later version. // This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of +// but WITHOUT ANY WARRANTY; + without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software +// along with this program; + if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ @@ -22,101 +26,387 @@ @import url(link.css); @import url(tip.css); @import url(calendar.css); -* {font-family: Verdana, sans-serif, Arial, Helvetica; font-size: 11px;} -select, textarea, input {font-size: 12px;} -textarea {border: 1px solid Silver; -moz-border-radius: 3%; padding: 5px;} -input {border: 1px solid Silver; -moz-border-radius: 1%; padding: 2px 3px 4px 3px; height: 23px;} -option {height: 16px;} -h1, h2 {color: #103a3a;} -h3 {color: #3c566d; font-size: 13px;} -h1 {font-size: 16px;} -h2 {font-size: 15px;} -a {color: #486787; text-decoration: none;} -a:hover {color: #003a3a; text-decoration: underline;} -p.center {text-align: center;} -h1#log {border-bottom: 1px solid #778866; padding-bottom: 3px; margin-top: 5em; width: 29em; text-align: left;} -h1#log_f, h1#db_fh1 {color: #ff0000; border-bottom: 1px solid #ff0000; padding-bottom: 3px;} -div#login {text-align: left; border: 1px solid #999999; margin-top: 2em; margin-bottom: -1em; padding: 0.5em; width: 40em; background:url(../../images/backgrounds/background10.jpg);} -div#login_f {text-align: left; margin: auto; padding: 0.5em; width: 48em; margin-top: 5em;} -div#db_f {text-align: justify; margin: auto; padding: 0.5em; width: 55em; margin-top: 3em;} -div#login_box {float:right; padding-right: 10px; margin-top: 25px; width: 140px;} -div#logo_box {margin-top: 25px; padding-left: 5px;} -div#noaccess {width: 350px; padding-left: 40px;} -div#activity{padding-top: 18px; padding-bottom: 18px;} -div#noa {float:right; padding-right: 50px; margin-top: 25px;} -div#db_ftxt {float:right; padding-top: 10px;} -#page {width:960px;} -#head {border-bottom: 1px solid #708090; text-align: right; padding-bottom: 10px; font-size: 10px; width: 100%; margin-bottom: 27px;} -#main {width:780px; float:right;} -#menu {width:155px; float:left;} -#foot {padding-top: 25px; text-align: center; clear: both;} -div#page>div#menu {width:157px;} -#ver {margin-bottom: 25px;} -#ip {margin-top: 10px; clear: both;} -label {display: block; float:left; padding-top: 4px;} -th > label {padding-top: 7px;} -input:hover {background-color: #d4dccd;} -input.chk {border: 0px none; height: 14px;} -input.datos {background-color: #f5f5f5;} -input.datos_readonly {background-color: #050505;} -input.login {border-color: #778866; background-color: #f5f5f5; margin: 2px 0 8px; width: 90px;} -input.sub {font-weight: bold; border-bottom-color: #708090; border-right-color: #708090; -moz-border-radius: 5%; font-size: 11px;} -th, td.lb {color: #ffffff; background-color: #778866;} -td.lb {height: 16px; padding-left: 3px; font-weight: bold;} -td.datos, td.datost, td.datosb, td.datos_id, td.datosf9, td.datosf9i, td.datos_jus {background-color: #f5f5f5;} -td.w90datos, td.w135datos, td.w230datos {background-color: #f5f5f5;} -td.datos2, td.datos2t, td.datos2b, td.datos2_id, td.datos2f9, td.datos2f9i, td.datos2_jus {background-color: #fafbfc;} -td.w90datos2, td.w135datos2, td.w230datos2 {background-color: #fafbfc;} -td.datos3 {background-color: #e6e9cd;} -td.datos_id {color: #1a313a;} -td.datos_jus, td.datos2_jus {text-align: justify;} -.bg , .bgt {background-color: #4a6629;} -.bg {position:relative; height: 20px; width: 100%;} -.f10, .w155f10, #ip {font-size: 10px; text-align: center;} -.f9, .f9i, .f9b, td.f9, td.f9i, td.datosf9, td.datos2f9, td.datosf9i, td.datos2f9i {font-size: 9px;} -.f9i {font-style: italic;} -.f9l20 {padding-left: 20px;} -.f9l30, .f9l30t, .f9l30w17t {padding-left: 30px;} -.f9l30w17t {line-height: 17px;} -.jus {text-align: justify;} -.tit {padding-top: 3px;} -.tit, .titb {font-weight: bold; color: white; text-align: center;} -.error {color: #ff0000; background:url(../../images/error.gif) no-repeat; padding: 4px 1px 6px 30px;} -.red , .redb {color: #ff0000;} -.sep {margin-left: 30px; border-bottom: 1px solid #708090; width: 100%;} -.suc {color: #5a8629; background: url(../../images/suc.gif) no-repeat 1px; padding: 4px 1px 6px 30px;} -.green {color: #5a8629;} -.greenb {color: #00aa00;} -.grey {color: #808080; font-weight: bold;} -.redb, .greenb, td.datos_id, td.datos2_id, f9b {font-weight: bold;} -.raya {border-top: 1px solid #778866; width: 100%;} -.raya, .noraya {margin-bottom: -10px;} -.p10 {padding-top: 1px; padding-bottom: 0px;} -.p21 {padding-top: 2px; padding-bottom: 1px;} -.w30 {width: 30px;} -.w40 {width: 40px;} -.w45 {width: 45px;} -.w70 {width: 70px;} -.w80 {width: 80px;} -.w90datos {width: 90px;} -.w100 {width: 100px;} -.w120 {width: 120px;} -.w130 {width: 130px;} -.w135, .w135datos, .w35datos2 {width: 135px;} -.w140 {width: 140px;} -.w155, .w155f10 {width: 155px;} -.top, .bgt, .f9l30t, td.datost, td.datos2t {vertical-align: top;} -.bot, .titb, td.datosb {vertical-align: bottom;} -.w180 {width: 180px;} -.w200 {width: 200px;} -.w230datos, .w230datos2 {width: 230px;} -.w255 {width: 255px;} -.w540 {width: 540px;} -.w550 {width: 550px;} -.msg {margin-top: 15px; text-align: justify;} -ul.mn {list-style: none; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; line-height: 24px;} -.gr {font-size: 10pt; font-weight: bold;} -a.mn, .gr {font-family: Arial, Verdana, Helvetica;} -.imgl {position:absolute; top:0; left:0;} -.imgr {position:absolute; top:0; right:-1;} -div.imgr>img {position:absolute; top:0; right:1;} \ No newline at end of file +* { + font-family: Verdana, sans-serif, Arial, Helvetica; + font-size: 11px; + } +select, textarea, input { + font-size: 12px; + } +textarea { + border: 1px solid #c0c0c0; + -moz-border-radius: 3%; + padding: 5px; + } +input { + border: 1px solid #c0c0c0; + -moz-border-radius: 1%; + padding: 2px 3px 4px 3px; + height: 23px; + } +option { + height: 16px; + } +h1, h2 { + color: #103a3a; + } +h3 { + color: #3c566d; + font-size: 13px; + } +h1 { + font-size: 16px; + } +h2 { + font-size: 15px; + } +a { + color: #486787; + text-decoration: none; + } +a:hover { + color: #003a3a; + text-decoration: underline; + } +p.center { + text-align: center; + } +h1#log { + border-bottom: 1px solid #778866; + padding-bottom: 3px; + margin-top: 5em; + width: 29em; + text-align: left; + } +h1#log_f, h1#db_fh1 { + color: #ff0000; + border-bottom: 1px solid #ff0000; + padding-bottom: 3px; + } +div#login { + text-align: left; + border: 1px solid #999999; + margin-top: 2em; + margin-bottom: -1em; + padding: 0.5em; + width: 40em; + background: url(../../images/backgrounds/background10.jpg); + } +div#login_f { + text-align: left; + margin: auto; + padding: 0.5em; + width: 48em; + margin-top: 5em; + } +div#db_f { + text-align: justify; + margin: auto; + padding: 0.5em; + width: 55em; + margin-top: 3em; + } +div#login_box { + float: right; + padding-right: 10px; + margin-top: 25px; + width: 140px; + } +div#logo_box { + margin-top: 25px; + padding-left: 5px; + } +div#noaccess { + width: 350px; + padding-left: 40px; + } +div#activity{ + padding-top: 18px; + padding-bottom: 18px; + } +div#noa { + float: right; + padding-right: 50px; + margin-top: 25px; + } +div#db_ftxt { + float: right; + padding-top: 10px; + } +#page { + width: 960px; + } +#head { + border-bottom: 1px solid #708090; + text-align: right; + padding-bottom: 10px; + font-size: 10px; + width: 100%; + margin-bottom: 27px; + } +#main { + width: 780px; + float: right; + } +#menu { + width: 155px; + float: left; + } +#foot { + padding-top: 25px; + text-align: center; + clear: both; + } +div#page>div#menu { + width: 157px; + } +#ver { + margin-bottom: 25px; + } +#ip { + margin-top: 10px; + clear: both; + } +label { + display: block; + float: left; + padding-top: 4px; + } +th > label { + padding-top: 7px; + } +input:hover { + background-color: #d4dccd; + } +input.chk { + border: 0px none; + height: 14px; + } +input.datos { + background-color: #f5f5f5; + } +input.datos_readonly { + background-color: #050505; + } +input.login { + border-color: #778866; + background-color: #f5f5f5; + margin: 2px 0 8px; + width: 90px; + } +input.sub { + font-weight: bold; + border-bottom-color: #708090; + border-right-color: #708090; + -moz-border-radius: 5%; + font-size: 11px; + } +table, img { + border: 0px; + } +th, td.lb { + color: #ffffff; + background-color: #778866; + } +td.lb { + height: 16px; + padding-left: 3px; + font-weight: bold; + } +td.datos, td.datost, td.datosb, td.datos_id, td.datosf9, td.datosf9i, td.datos_jus { + background-color: #f5f5f5; + } +td.w90datos, td.w135datos, td.w230datos { + background-color: #f5f5f5; + } +td.datos2, td.datos2t, td.datos2b, td.datos2_id, td.datos2f9, td.datos2f9i, td.datos2_jus { + background-color: #fafbfc; + } +td.w90datos2, td.w135datos2, td.w230datos2 { + background-color: #fafbfc; + } +td.datos3 { + background-color: #e6e9cd; + } +td.datos_id { + color: #1a313a; + } +td.datos_jus, td.datos2_jus { + text-align: justify; + } +.bg , .bgt { + background-color: #4a6629; + } +.bg { + position: relative; + height: 20px; + width: 100%; + } +.f10, .w155f10, #ip { + font-size: 10px; + text-align: center; + } +.f9, .f9i, .f9b, td.f9, td.f9i, td.datosf9, td.datos2f9, td.datosf9i, td.datos2f9i { + font-size: 9px; + } +.f9i { + font-style: italic; + } +.f9l20 { + padding-left: 20px; + } +.f9l30, .f9l30t, .f9l30w17t { + padding-left: 30px; + } +.f9l30w17t { + line-height: 17px; + } +.jus { + text-align: justify; + } +.tit { + padding-top: 3px; + } +.tit, .titb { + font-weight: bold; + color: #ffffff; + text-align: center; + } +.error { + color: #ff0000; + background: url(../../images/error.gif) no-repeat; + padding: 4px 1px 6px 30px; + } +.red , .redb { + color: #ff0000; + } +.sep { + margin-left: 30px; + border-bottom: 1px solid #708090; + width: 100%; + } +.suc { + color: #5a8629; + background: url(../../images/suc.gif) no-repeat 1px; + padding: 4px 1px 6px 30px; + } +.green { + color: #5a8629; + } +.greenb { + color: #00aa00; + } +.grey { + color: #808080; + font-weight: bold; + } +.redb, .greenb, td.datos_id, td.datos2_id, f9b { + font-weight: bold; + } +.raya { + border-top: 1px solid #778866; + width: 100%; + } +.raya, .noraya { + margin-bottom: -10px; + } +.p10 { + padding-top: 1px; + padding-bottom: 0px; + } +.p21 { + padding-top: 2px; + padding-bottom: 1px; + } +.w30 { + width: 30px; + } +.w40 { + width: 40px; + } +.w45 { + width: 45px; + } +.w70 { + width: 70px; + } +.w80 { + width: 80px; + } +.w90datos { + width: 90px; + } +.w100 { + width: 100px; + } +.w120 { + width: 120px; + } +.w130 { + width: 130px; + } +.w135, .w135datos, .w35datos2 { + width: 135px; + } +.w140 { + width: 140px; + } +.w155, .w155f10 { + width: 155px; + } +.top, .bgt, .f9l30t, td.datost, td.datos2t { + vertical-align: top; + } +.bot, .titb, td.datosb { + vertical-align: bottom; + } +.w180 { + width: 180px; + } +.w200 { + width: 200px; + } +.w230datos, .w230datos2 { + width: 230px; + } +.w255 { + width: 255px; + } +.w540 { + width: 540px; + } +.w550 { + width: 550px; + } +.msg { + margin-top: 15px; + text-align: justify; + } +ul.mn { + list-style: none; + padding: 0px 0px 0px 0px; + margin: 0px 0px 0px 0px; + line-height: 24px; + } +.gr { + font-size: 10pt; + font-weight: bold; + } +a.mn, .gr { + font-family: Arial, Verdana, sasns-serif, Helvetica; + } +.imgl { + position: absolute; + top: 0; + left: 0; + } +.imgr { + position: absolute; + top: 0; + right: -1; + } +div.imgr>img { + position:absolute; + top: 0; + right: 1; + } \ No newline at end of file diff --git a/pandora_console/include/styles/tip.css b/pandora_console/include/styles/tip.css index d82a518b7c..2085f8ee51 100644 --- a/pandora_console/include/styles/tip.css +++ b/pandora_console/include/styles/tip.css @@ -1,13 +1,72 @@ -a.tip {cursor: help; position: relative; text-decoration: none; background:url(../../images/tip.gif) no-repeat; padding: 5px 2px 5px 12px;} -a.tip2 {cursor: help; position: relative; text-decoration: none; background:url(../../images/tip.gif) no-repeat; padding: 2px 2px 2px 12px;} -a.help {cursor: help; position: relative; text-decoration: none; background:url(../../images/help.gif) no-repeat; padding: 2px 2px 2px 12px; left: 5px;} -a.info {position: relative; text-decoration: none; padding: 25px 0px 0px 0px;} -a.info2 {position: relative; text-decoration: none; padding: 2px 0px 0px 0px;} -a.tip:hover {text-decoration: none; background-color: #f5f5f5;} -a.tip2:hover {text-decoration: none; background-color: #778866;} -a.info:hover, a.info2:hover, a.help:hover {text-decoration: none; background-color: #fff;} -a.tip span, a.tip2 span, a.info span, a.info2 span, a.help span {display: none;} -a.tip:hover span, a.tip2:hover span, a.info:hover span, a.info2:hover span, a.help:hover span {display: block; text-decoration: none; position: absolute; z-index: 3; top:20px; left:6px; width: 150px; border: 1px solid #708090; background-color: #d4ddc6; color: #000; padding: 2px;} -a.info:hover span {top:45px; left:20px; width: 140px;} -a.info2:hover span {top:8px;} -a.help:hover span {top:15px; width: 80px;} \ No newline at end of file +a.tip { + cursor: help; + position: relative; + text-decoration: none; + background: url(../../images/tip.gif) no-repeat; + padding: 5px 2px 5px 12px; + } +a.tip2 { + cursor: help; + position: relative; + text-decoration: none; + background: url(../../images/tip.gif) no-repeat; + padding: 2px 2px 2px 12px; + } +a.help { + cursor: help; + position: relative; + text-decoration: none; + background: url(../../images/help.gif) no-repeat; + padding: 2px 2px 2px 12px; + left: 5px; + } +a.info { + position: relative; + text-decoration: none; + padding: 25px 0px 0px 0px; + } +a.info2 { + position: relative; + text-decoration: none; + padding: 2px 0px 0px 0px; + } +a.tip:hover { + text-decoration: none; + background-color: #f5f5f5; + } +a.tip2:hover { + text-decoration: none; + background-color: #778866; + } +a.info:hover, a.info2:hover, a.help:hover { + text-decoration: none; + background-color: #fff; + } +a.tip span, a.tip2 span, a.info span, a.info2 span, a.help span { + display: none; + } +a.tip:hover span, a.tip2:hover span, a.info:hover span, a.info2:hover span, a.help:hover span { + display: block; + text-decoration: none; + position: absolute; + z-index: 3; + top: 20px; + left: 6px; + width: 150px; + border: 1px solid #708090; + background-color: #d4ddc6; + color: #000; + padding: 2px; + } +a.info:hover span { + top: 45px; + left: 20px; + width: 140px; + } +a.info2:hover span { + top: 8px; + } +a.help:hover span { + top: 15px; + width: 80px; + } \ No newline at end of file diff --git a/pandora_console/operation/agentes/estado_generalagente.php b/pandora_console/operation/agentes/estado_generalagente.php index 8c823a11ba..e85a084b1f 100644 --- a/pandora_console/operation/agentes/estado_generalagente.php +++ b/pandora_console/operation/agentes/estado_generalagente.php @@ -61,37 +61,65 @@ if (comprueba_login() == 0) { echo "

".$lang_label["ag_title"]."

"; echo "

".$lang_label["view_agent_general_data"]." ".$lang_label["help"]."

"; - echo ''; - echo ' + + '; + + echo '
'.$lang_label["agent_name"].' '.salida_limpia($nombre_agente); + echo ''; + echo ' + + '; + echo " + "; + echo ''; + echo ' + + + + '; } elseif ($agent_type == 1) { - echo ' + '; } if ($os_version != "") echo ' v'.salida_limpia($os_version); - echo ''; + echo ' + + '; + echo ''; + echo ' + + '; - echo ""; + echo ''; + echo ' + + '; } // Total packets - echo ' + + '; // Last contact - echo ' + + +
'.$lang_label["agent_name"].''.salida_limpia($nombre_agente); - echo "  "; + echo "  + "; if (dame_admin($_SESSION['id_usuario'])==1 ) - echo "  "; + echo "  + "; // Data base access graph - - echo "".$lang_label["agent_access_rate"]."

- "; - - echo '
'.$lang_label["ip_address"].' '.salida_limpia($direccion_agente); + echo ' + ".$lang_label["agent_access_rate"]."

+ +
'.$lang_label["ip_address"].''.salida_limpia($direccion_agente); if ($agent_type == 0) { - echo '
'.$lang_label["os"].' - '.dame_so_name($id_os); + echo '
'.$lang_label["os"].' + - '.dame_so_name($id_os).'
'.$lang_label["agent_type"].' + '.$lang_label["agent_type"].'
'.$lang_label["interval"].' '.$intervalo; - echo '
'.salida_limpia($lang_label["description"]).' '.$comentarios; + echo '
'.$lang_label["interval"].''.$intervalo.'
'.salida_limpia($lang_label["description"]).''.$comentarios.'".$lang_label["agent_module_shareout"]."

"; - echo ""; - - echo '
'.salida_limpia($lang_label["group"]).' ( '.dame_grupo($id_grupo).' )'; + echo "".$lang_label["agent_module_shareout"]."

+ +
'.salida_limpia($lang_label["group"]).' + + ( '.dame_grupo($id_grupo).' )'; if ($agent_type == 0) { - echo '
'.$lang_label["agentversion"].' '.salida_limpia($agent_version); + echo '
'.$lang_label["agentversion"].' + '.salida_limpia($agent_version).'
'.$lang_label["total_packets"].' '; + echo '
'.$lang_label["total_packets"].''; $total_paketes= 0; $id_agente = dame_agente_id($nombre_agente); $sql_2='SELECT * FROM tagente_modulo WHERE id_agente = '.$id_agente; @@ -103,13 +131,28 @@ if (comprueba_login() == 0) { $total_paketes = $total_paketes + $row3[0]; } echo $total_paketes; - + echo '
'.$lang_label["last_contact"]." / ".$lang_label["remote"].' '; - echo $ultima_act." / ".$ultima_act_remota; + echo '
+ '.$lang_label["last_contact"]." / ".$lang_label["remote"].' + '; + if ($ultima_act == "0000-00-00 00:00:00"){ + echo $lang_label["never"]; + } else { + echo $ultima_act; + } + echo " / "; + if ($ultima_act_remota == "0000-00-00 00:00:00"){ + echo $lang_label["never"]; + } else { + echo $ultima_act_remota; + } // Asigned/active server - echo '
'.$lang_label["server_asigned"].' '; + echo '
'.$lang_label["server_asigned"].''; if ($server == ""){ echo "N/A"; } else { @@ -134,10 +177,14 @@ if (comprueba_login() == 0) { } else { $percentil = -1; } - echo '
'.$lang_label["next_contact"].' '; - - echo ""; - echo "
"; + echo '
'.$lang_label["next_contact"].' + + +
'; }