選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

navbar.html 1.7KB

1234567891011121314151617181920212223242526272829303132
  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 ui-sref-active="active"><a ui-sref="users" lu-show-permission="LU_USER_GET">Users</a></li>
  18. <li ui-sref-active="active"><a ui-sref="groups" lu-show-permission="LU_GROUP_GET">Groups</a></li>
  19. <li ui-sref-active="active"><a ui-sref="permissions" lu-show-permission="LU_PERM_GET">Permissions</a></li>
  20. <li ui-sref-active="active"><a ui-sref="settings" lu-show-permission="LU_SETTING_GET">Settings</a></li>
  21. <!--<li><a ui-sref="test" >Test</a></li>-->
  22. </ul>
  23. <ul class="nav navbar-nav navbar-right">
  24. <li ng-show="isLogged()"><a ui-sref="home">{{ getUsername() }}</a></li>
  25. <li ng-show="isLogged()"><a href="" ng-click="logout()">Logout</a></li>
  26. </ul>
  27. </div>
  28. <!-- /.navbar-collapse -->
  29. </div>
  30. <!-- /.container -->
  31. </nav>