Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

navbar.html 1.6KB

12345678910111213141516171819202122232425262728293031
  1. <!-- Navigation -->
  2. <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation" ng-controller="NavBarController">
  3. <div class="container">
  4. <!-- Brand and toggle get grouped for better mobile display -->
  5. <div class="navbar-header">
  6. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
  7. <span class="sr-only">Toggle navigation</span>
  8. <span class="icon-bar"></span>
  9. <span class="icon-bar"></span>
  10. <span class="icon-bar"></span>
  11. </button>
  12. <a class="navbar-brand" ui-sref="login">Luticate</a>
  13. </div>
  14. <!-- Collect the nav links, forms, and other content for toggling -->
  15. <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
  16. <ul class="nav navbar-nav navbar-left">
  17. <li><a ui-sref="users" lu-show-permission="LU_USER_GET">Users</a></li>
  18. <li><a ui-sref="groups" lu-show-permission="LU_GROUP_GET">Groups</a></li>
  19. <li><a ui-sref="permissions" lu-show-permission="LU_PERM_GET">Permissions</a></li>
  20. <!--<li><a ui-sref="test" >Test</a></li>-->
  21. </ul>
  22. <ul class="nav navbar-nav navbar-right">
  23. <li ng-show="isLogged()"><a ui-sref="home">{{ getUsername() }}</a></li>
  24. <li ng-show="isLogged()"><a href="" ng-click="logout()">Logout</a></li>
  25. </ul>
  26. </div>
  27. <!-- /.navbar-collapse -->
  28. </div>
  29. <!-- /.container -->
  30. </nav>