This commit is contained in:
Pablo Aragon 2023-03-02 17:08:47 +01:00
parent a128151d9e
commit 0e9f7331db
5 changed files with 71 additions and 13 deletions

View File

@ -3657,7 +3657,7 @@ class NetworkMap
$output .= '" charset="utf-8"></script>';
$output .= '<div id="simple_map" data-id="'.$this->idMap.'" ';
$output .= 'class="border_1px_dd" style="';
$output .= 'class="border_1px_dd" style="background-color: #fff; ';
if ($this->fullSize) {
$output .= ' width:100%';

View File

@ -2476,7 +2476,8 @@ function html_print_input_text_extended(
$password=false,
$function='',
$autocomplete='off',
$disabled=false
$disabled=false,
$hide_div_eye=false,
) {
global $config;
static $idcounter = 0;
@ -2551,7 +2552,7 @@ function html_print_input_text_extended(
}
// Only for password inputs.
if (($attribute === 'class') && ($password === true)) {
if (($attribute === 'class') && ($password === true) && ($hide_div_eye === false)) {
$attr_value .= ' show-hide-pass-background';
$hasClass = true;
}
@ -2563,7 +2564,7 @@ function html_print_input_text_extended(
$attributes = [];
}
if (($hasClass === false) && ($password === true)) {
if (($hasClass === false) && ($password === true) && ($hide_div_eye === false)) {
$output .= 'class="show-hide-pass-background" ';
}
@ -2615,7 +2616,7 @@ function html_print_input_text_extended(
$output .= $function.'/>';
if ($password === true) {
if ($password === true && $hide_div_eye === false) {
$output .= html_print_div(
[
'id' => 'show-hide-'.$id,
@ -2800,7 +2801,8 @@ function html_print_input_password(
$disabled=false,
$required=false,
$class='',
$autocomplete='off'
$autocomplete='off',
$hide_div_eye=false,
) {
if ($maxlength == 0) {
$maxlength = 255;
@ -2831,7 +2833,7 @@ function html_print_input_password(
}
}
return '<div class="relative container-div-input-password">'.html_print_input_text_extended($name, $value, 'password-'.$name, $alt, $size, $maxlength, $disabled, '', $attr, $return, true, '', $autocomplete).'</div>';
return '<div class="relative container-div-input-password">'.html_print_input_text_extended($name, $value, 'password-'.$name, $alt, $size, $maxlength, $disabled, '', $attr, $return, true, '', $autocomplete, false, $hide_div_eye).'</div>';
}

View File

@ -312,15 +312,17 @@ table pre {
white-space: pre-wrap;
}
tr:first-child > th {
/* tr:first-child > th {
background-color: #373737;
}
} */
th {
color: #fff;
background-color: #666;
/* color: #fff; */
/* background-color: #666; */
color: #000;
font-size: 7.5pt;
letter-spacing: 0.3pt;
border-bottom: 1px solid #e2e2e2;
}
pre .color_333 {
@ -2021,8 +2023,11 @@ table.databox {
.databox > tbody > tr > th,
.databox > thead > tr > th a {
padding: 9px 7px;
font-weight: normal;
color: #fff;
/* font-weight: normal; */
font-weight: bold;
font-size: 9pt;
line-height: 16pt;
/* color: #fff; */
text-align: center;
}
@ -10005,6 +10010,10 @@ select:disabled,
color: #8a96a6;
}
/* input[type="password"] {
background-color: #f6f7fb;
} */
input:not([type="image"]):focus,
textarea:focus,
select:focus {

View File

@ -735,6 +735,12 @@ tr.datos2 > td.datos2 > div > div > label {
margin-bottom: 10px;
}
.label-ipam-calculator {
font-size: 13px;
line-height: 20px;
font-weight: bold;
}
#text-vrf_name {
width: 100%;
}
@ -758,3 +764,29 @@ table.filter-table-adv td div.inline-radio-button input[type="radio"] {
padding-left: 12px;
margin-right: 10px;
}
.select2-w100p > span.select2 {
width: 100% !important;
}
form#create_site > ul {
display: flex;
flex-wrap: wrap;
}
.select-ips-ipam > select {
min-height: 19.8em !important;
}
div.margin-top-50p {
margin-top: 50% !important;
}
.line-height-normal {
line-height: normal;
}
div[id^="auto-os-"] > img {
width: 20px;
height: 20px;
}

View File

@ -195,3 +195,18 @@ ul.wizard li.mrgn_0px {
ul.wizard li.pdd_0px {
padding: 0;
}
li#textarea-create-site > textarea {
width: 100%;
}
form#create_site > ul.wizard > li > label {
font-size: 13px;
line-height: 16px;
font-weight: bold;
margin-bottom: 10px;
}
select[multiple] {
min-height: 20em;
}