Disposición de popover
This commit is contained in:
parent
6ccaefcc74
commit
ee99a75399
18
index.php
18
index.php
@ -150,6 +150,8 @@ if($plantilla_inicio[0] =="grid"){}else{
|
||||
}
|
||||
}
|
||||
}elseif ($v[0] =='t') {
|
||||
//$empresa = remplacetas('form_id','id',"$set",'id_empresa',"") ;
|
||||
$logo = remplacetas('empresa','id',"$v[1]",'imagen','') ;
|
||||
$modo="minimalista";
|
||||
$plantilla_inicio[0]='grid';
|
||||
$formulario_equipo ="998";
|
||||
@ -185,7 +187,7 @@ if($plantilla_inicio[0] =="grid"){}else{
|
||||
$rol="
|
||||
<a onmouseover=\"xajax_cargar_identificador('$rol_control[0]','$formulario_roles_asignacion','','','','div_contenido_rol_$control'); \"
|
||||
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-html='true' id='ver_rol_$control'>
|
||||
$rol_descripcion[0]
|
||||
@ -198,7 +200,7 @@ $equipos.="
|
||||
<div class='row'>
|
||||
<div class='col-xs-2'>
|
||||
<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'>
|
||||
$imagen
|
||||
</a>
|
||||
@ -313,8 +315,8 @@ return $(\"#popover-content_rol_$control\").html();
|
||||
$asignados = " <ul class='list-group'>$items<ul>";
|
||||
|
||||
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]' >
|
||||
"; }else{$imagen ="<img class='img img-circle avatar' src='./milfs/images/profile.jpg'>";}
|
||||
<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-rounded avatar-cuadrado' src='./milfs/images/secure/?file=150/$logo[0]'>";}
|
||||
if($v['nombre'] !=""){ $nombre ="<strong>$v[nombre]</strong>"; }else{$nombre ="";}
|
||||
//$contenido = mostrar_identificador("$control_microtarea","$formulario_microtarea","$plantilla","","");
|
||||
$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","","");
|
||||
$tareas_listado .="
|
||||
<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 style='max-height:400px; overflow: auto;'>
|
||||
$contenido
|
||||
@ -388,6 +390,12 @@ content: function() {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.avatar-cuadrado {
|
||||
vertical-align: middle;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
|
||||
}
|
||||
</style>
|
||||
<div class='container' >
|
||||
|
Loading…
Reference in New Issue
Block a user