1
0
forked from qwerty/milfs

cierre bug suma en campo formula

This commit is contained in:
humano 2018-11-15 11:46:02 -05:00
parent 6af8e0aa34
commit 7771785e1c
3 changed files with 1771 additions and 4 deletions

View File

@ -671,5 +671,82 @@ div#contenedor_landingpage {
padding-right: 0em;
}
}
/*-------------
Help-tip Style
---------------*/
.help-tip {
position: absolute;
top: -.2em; right: 1.1em;
//border: 1px solid red;
}
.help-tip::before { /*question sign*/
content: "?";
position: absolute;
top: 0; right: 0;
font-size: 1.2em;
padding: .1em .6em;
border-radius: 50%;
font-weight: bold;
cursor: help;
background: #1565c0;
color: #f9f9f9;
box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
.help-tip__content {
position: absolute;
top: 2.75em; right: -.2em;
min-width: 15em;
padding: .5em 1em;
background: rgba(31, 35, 39, 0.9);
color: #f9f9f9;
border-radius: .2em;
box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
z-index: 2;
transform-origin: 95% -1%;
transform: scale(0);
transition: transform .2s ease;
}
.help-tip__content::before { /*pointer of the help-tip*/
content: "";
position: absolute;
top: -1.35em; right: .6em;
border: .7em solid transparent;
border-bottom-color: rgba(31, 35, 39, 0.9);
}
.help-tip__content::after { /*prevents help-tip from being hidden when mouse moves from the question sign down to the content*/
content: "";
position: absolute;
width: 60%;
min-height: 2em;
top: -2em; right: 0;
//background: red;
}
.help-tip:hover .help-tip__content,
.help-tip:focus .help-tip__content{
transform: scale(1);
}
@supports(filter: drop-shadow(0 0 0 #ccc)) { /*for browsers that support filter: drop-shadow, we add it and remove box-shadow*/
.help-tip__content {
box-shadow: none;
filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, .5));
}
}
@supports(display: flex) { /*for browsers that support display: flex*/
.help-tip__content {
display: flex;
flex-flow: column;
flex-wrap: wrap;
}
}

View File

@ -4,6 +4,17 @@ date_default_timezone_set('America/Bogota');
//require_once 'milfs/rest/vendor/autoload.php';
use Firebase\JWT\JWT;
function documentar($titulo,$descripcion,$id){
$resultado ="
<div class='help-tip' role='tooltip' id='$id'>
<div class='help-tip__content'>
<h3 class='help-tip__title'>$titulo</h3>
<p class='help-tip__text'>$descripcion</p>
</div>
</div>";
return $resultado;
}
function aplicaciones_tabla($div,$tipo,$accion){
@ -16592,14 +16603,14 @@ elseif($campo_tipo_accion == 'email'){$render = "
$remplace = preg_replace($regex,$sustitucion,$campos_valores[0]);
$remplace= "( $remplace )";
//$campos = print_r($matches,true);
//$documentar= documentar("el titulo","la descripcion","".$id_campo."[".$item."]");
$render = "
<div class='input-group' >
<input title = '$campo_descripcion' type='text' value='$value' id='".$id_campo."[".$item."]' name='".$id_campo."[".$item."]' class='form-control' placeholder='$campos_valores[0]' readonly>
<input title = '$campo_descripcion' type='text' value='$value' id='".$id_campo."[".$item."]' name='".$id_campo."[".$item."]' class='form-control' placeholder='$campos_valores[0]' aria-describedby='".$id_campo."[".$item."]-tooltip' readonly>
<span class='input-group-btn'>
<div class='btn btn-warning' onclick=\"javascript: document.getElementById('".$id_campo."[".$item."]').value= eval($remplace); \">Calcular </div>
</span>
</div>eval($remplace)
</div>
";
$cols='12';
}

File diff suppressed because it is too large Load Diff