Disposición de popover

This commit is contained in:
humano 2020-05-19 14:58:30 -05:00
parent 6ccaefcc74
commit ee99a75399

View File

@ -150,6 +150,8 @@ if($plantilla_inicio[0] =="grid"){}else{
} }
} }
}elseif ($v[0] =='t') { }elseif ($v[0] =='t') {
//$empresa = remplacetas('form_id','id',"$set",'id_empresa',"") ;
$logo = remplacetas('empresa','id',"$v[1]",'imagen','') ;
$modo="minimalista"; $modo="minimalista";
$plantilla_inicio[0]='grid'; $plantilla_inicio[0]='grid';
$formulario_equipo ="998"; $formulario_equipo ="998";
@ -185,7 +187,7 @@ if($plantilla_inicio[0] =="grid"){}else{
$rol=" $rol="
<a onmouseover=\"xajax_cargar_identificador('$rol_control[0]','$formulario_roles_asignacion','','','','div_contenido_rol_$control'); \" <a onmouseover=\"xajax_cargar_identificador('$rol_control[0]','$formulario_roles_asignacion','','','','div_contenido_rol_$control'); \"
class='link ' data-trigger='focus' tabindex='0' class='link ' data-trigger='focus' tabindex='0'
data-placement='right auto' role='button' data-toggle='popover_rol_$control' data-placement='auto right auto' role='button' data-toggle='popover_rol_$control'
data-container='body' type='button' data-container='body' type='button'
data-html='true' id='ver_rol_$control'> data-html='true' id='ver_rol_$control'>
$rol_descripcion[0] $rol_descripcion[0]
@ -198,7 +200,7 @@ $equipos.="
<div class='row'> <div class='row'>
<div class='col-xs-2'> <div class='col-xs-2'>
<a class='link ' data-trigger='focus' tabindex='0' <a class='link ' data-trigger='focus' tabindex='0'
data-placement='right auto' role='button' data-toggle='popover_equipo_$control' data-placement='auto right' role='button' data-toggle='popover_equipo_$control'
data-container='body' type='button' data-html='true' id='ver_equipo_$control'> data-container='body' type='button' data-html='true' id='ver_equipo_$control'>
$imagen $imagen
</a> </a>
@ -313,8 +315,8 @@ return $(\"#popover-content_rol_$control\").html();
$asignados = " <ul class='list-group'>$items<ul>"; $asignados = " <ul class='list-group'>$items<ul>";
if($v['imagen'] !=""){ $imagen =" if($v['imagen'] !=""){ $imagen ="
<img class='lazy img-circle avatar' alt='$row[razon_social]' src='./milfs/images/profile.jpg' data-src='./milfs/images/secure/?file=150/$v[imagen]' > <img class='lazy img-rounded avatar-cuadrado' alt='$row[razon_social]' src='./milfs/images/profile.jpg' data-src='./milfs/images/secure/?file=150/$v[imagen]' >
"; }else{$imagen ="<img class='img img-circle avatar' src='./milfs/images/profile.jpg'>";} "; }else{$imagen ="<img class='img img-rounded avatar-cuadrado' src='./milfs/images/secure/?file=150/$logo[0]'>";}
if($v['nombre'] !=""){ $nombre ="<strong>$v[nombre]</strong>"; }else{$nombre ="";} if($v['nombre'] !=""){ $nombre ="<strong>$v[nombre]</strong>"; }else{$nombre ="";}
//$contenido = mostrar_identificador("$control_microtarea","$formulario_microtarea","$plantilla","",""); //$contenido = mostrar_identificador("$control_microtarea","$formulario_microtarea","$plantilla","","");
$microtarea_control = remplacetas('form_datos','form_id',"$formulario_microtarea_asignacion",'control',"contenido='$control_microtarea'") ; $microtarea_control = remplacetas('form_datos','form_id',"$formulario_microtarea_asignacion",'control',"contenido='$control_microtarea'") ;
@ -362,7 +364,7 @@ return $(\"#popover-content_rol_$control\").html();
$contenido = mostrar_identificador("$control","$formulario_tareas","$plantilla","",""); $contenido = mostrar_identificador("$control","$formulario_tareas","$plantilla","","");
$tareas_listado .=" $tareas_listado .="
<li class='list-group-item '><div class='row' $onclick_tarea >$valor</div> <li class='list-group-item '><div class='row' $onclick_tarea >$valor</div>
<a data-trigger='focus' tabindex='0' data-placement='left' role='button' data-toggle='popover' data-container='body' data-placement='left' type='button' data-html='true' id='login'><span class='glyphicon glyphicon-search' style='margin:3px 0 0 0'></span></a> <a data-trigger='focus' tabindex='0' data-placement='auto left' role='button' data-toggle='popover' data-container='body' data-placement='auto left' type='button' data-html='true' id='login'><span class='glyphicon glyphicon-search' style='margin:3px 0 0 0'></span></a>
<div id='popover-content' class='hide' > <div id='popover-content' class='hide' >
<div style='max-height:400px; overflow: auto;'> <div style='max-height:400px; overflow: auto;'>
$contenido $contenido
@ -388,6 +390,12 @@ content: function() {
width: 50px; width: 50px;
height: 50px; height: 50px;
border-radius: 50%; border-radius: 50%;
}
.avatar-cuadrado {
vertical-align: middle;
width: 50px;
height: 50px;
} }
</style> </style>
<div class='container' > <div class='container' >