Corrección de landingpage #165

Merged
humano merged 16 commits from h4ckypurpl3/tupali_fork:master into master 2018-10-24 14:48:10 +00:00
2 changed files with 10 additions and 8 deletions
Showing only changes of commit 4a9effdc25 - Show all commits

View File

@ -1115,14 +1115,12 @@ $panel_aplicaciones = panel_aplicaciones('1',"","");
if(isset($_SESSION['id'])){ $boton_ingresar=" if(isset($_SESSION['id'])){ $boton_ingresar="
<li class='dropdown'> <li id='user_dropdow' class='dropdown'>
<a href='milfs/' class='dropdown-toggle' data-toggle='dropdown'>$_SESSION[username]<b class='caret'></b></a> <a href='milfs/' class='dropdown-toggle' data-toggle='dropdown' role='button' aria-haspopup='true' aria-expanded='false'>$_SESSION[username]<b class='caret'></b></a>
<ul class='dropdown-menu'> <ul id='menu_administrador' class='dropdown-menu'>
<li>
$panel_aplicaciones $panel_aplicaciones
</li>
<li class='divider'></li> <li class='divider'></li>
<li><a onclick=\"xajax_milfs_session('','','','salir') \">SALIR <i class='fa fa-sign-out'></i></a></li> <li class='btn btn_hover'><a onclick=\"xajax_milfs_session('','','','salir') \"><i class='fa fa-sign-out'></i> SALIR</a></li>
</ul> </ul>
</li> </li>

View File

@ -9,3 +9,7 @@ $(window).scroll(function() {
$(window).scroll(function(){ $(window).scroll(function(){
$(".top").css("opacity", 1 - $(window).scrollTop() / 100); $(".top").css("opacity", 1 - $(window).scrollTop() / 100);
}); });
$('.dropdown-menu').click(function(e) {
e.stopPropagation(); //This will prevent the event from bubbling up and close the dropdown when you type/click on text boxes.
});