menu.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!-- Navigation -->
  2. <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
  3. <div class="navbar-header">
  4. <a class="navbar-brand" href="<?php echo $this->webApp()->getSite();?>">
  5. <?php echo $this->webApp()->getConfig('TITULO');?>
  6. </a>
  7. </div>
  8. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
  9. <span class="sr-only">Toggle navigation</span>
  10. <span class="icon-bar"></span>
  11. <span class="icon-bar"></span>
  12. <span class="icon-bar"></span>
  13. </button>
  14. <!-- Top Navigation: Right Menu -->
  15. <ul class="nav navbar-right navbar-top-links">
  16. <li class="dropdown">
  17. <a class="dropdown-toggle" data-toggle="dropdown" href="#">
  18. <i class="fa fa-user fa-fw"></i> <?php echo $this->webApp()->getUsuario();?> <b class="caret"></b>
  19. </a>
  20. <ul class="dropdown-menu dropdown-user">
  21. <li class="divider"></li>
  22. <li><a href="<?php echo $this->webApp()->getSite();?>usuario/miperfil"><i class="fa fa-user fa-fw"></i> Mi perfil</a></li>
  23. <li class="divider"></li>
  24. <li><a href="<?php echo $this->webApp()->getSite();?>site/logout"><i class="fa fa-sign-out fa-fw"></i> Cerrar sesión</a></li>
  25. </ul>
  26. </li>
  27. </ul>
  28. <!-- Sidebar -->
  29. <div class="navbar-default sidebar" role="navigation">
  30. <div class="sidebar-nav navbar-collapse">
  31. <ul class="nav" id="side-menu">
  32. <li>
  33. <a href="<?php echo $this->webApp()->getSite();?>usuario"><i class="fa fa-users fa-fw"></i> <span>Usuarios</span></a>
  34. </li>
  35. <li>
  36. <a href="#" id="contract"></a>
  37. </li>
  38. </ul>
  39. </div>
  40. </div>
  41. </nav>