organizando cerrado automático al hacer click en el menu_milfs

This commit is contained in:
Hacky Purple 2018-10-24 19:35:57 -05:00
parent 3706a62db6
commit b45da7a15d
2 changed files with 8 additions and 8 deletions

View File

@ -12522,7 +12522,7 @@ function configuracion($accion) {
$div='contenido'; $div='contenido';
if($accion =='') { if($accion =='') {
$link ="<a title='Configuración' href='#' onclick=\"xajax_configuracion('mostrar') \"><i class='glyphicon glyphicon-cog'></i></a>"; $link ="<a data-toggle='collapse' data-target='.navbar-collapse' title='Configuración' href='#' onclick=\"xajax_configuracion('mostrar') \"><i class='glyphicon glyphicon-cog'></i></a>";
return $link; return $link;
}elseif($accion=='mostrar') { }elseif($accion=='mostrar') {
@ -15270,7 +15270,7 @@ return $respuesta;
if(isset($_SESSION['id_empresa'])) {$id_empresa= $_SESSION['id_empresa'];} if($div==''){ if(isset($_SESSION['id_empresa'])) {$id_empresa= $_SESSION['id_empresa'];} if($div==''){
$div = "contenido"; $div = "contenido";
if(isset($_SESSION['grupo_formularios'])) { $sesion_grupo_formularios = $_SESSION['grupo_formularios'];}else { $sesion_grupo_formularios = "";} if(isset($_SESSION['grupo_formularios'])) { $sesion_grupo_formularios = $_SESSION['grupo_formularios'];}else { $sesion_grupo_formularios = "";}
$resultado = "<li id='link_formulario'><a href='#' onclick=\"xajax_formulario_listado('$sesion_grupo_formularios','$div',''); \"><i class='glyphicon glyphicon-list'></i> Formularios</a></li> "; $resultado = "<li data-toggle='collapse' data-target='.navbar-collapse' id='link_formulario'><a href='#' onclick=\"xajax_formulario_listado('$sesion_grupo_formularios','$div',''); \"><i class='glyphicon glyphicon-list'></i> Formularios</a></li> ";
return $resultado;; return $resultado;;
} }
@ -17725,20 +17725,20 @@ function milfs(){
$login = login_boton(''); $login = login_boton('');
$usuarios = " $usuarios = "
<li> <li>
<a title='agregar usuarios' class='btn link pull-left' onclick=\"xajax_registro_express(xajax.getFormValues('login'),'nuevo');\"> <a data-toggle='collapse' data-target='.navbar-collapse' title='agregar usuarios' class='btn link pull-left' onclick=\"xajax_registro_express(xajax.getFormValues('login'),'nuevo');\">
<i class='glyphicon glyphicon-user'></i> Gestión de usuarios</a> <i class='glyphicon glyphicon-user'></i> Gestión de usuarios</a>
</li>"; </li>";
$menu = $menu =
" <!-- Collect the nav links, forms, and other content for toggling --> " <!-- Collect the nav links, forms, and other content for toggling -->
<div class='collapse navbar-collapse' id='bs-example-navbar-collapse-1'> <div class='collapse navbar-collapse' id='.navbar-collapse'>
<ul class='nav navbar-nav' id='menu_milfs'> <ul class='nav navbar-nav' id='menu_milfs'>
<li><a href='https://$url_home' target='web'><i class='glyphicon glyphicon-home'></i></a></li> <li><a href='https://$url_home' data-toggle='collapse' data-target='.navbar-collapse' target='web'><i class='glyphicon glyphicon-home'></i></a></li>
<li>$crear_campos</li> <li data-toggle='collapse' data-target='.navbar-collapse'>$crear_campos</li>
$listado $listado
$usuarios $usuarios
<li >$configuracion</li> <li style='float: right;'>$configuracion</li>
</ul> </ul>
<ul class='nav navbar-nav navbar-right'> <ul class='nav navbar-nav navbar-right'>

View File

@ -203,7 +203,7 @@ else{}
<div class="container-fluid"> <div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display --> <!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header"> <div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">MILFS</span> <span class="sr-only">MILFS</span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>