menu.html 1.2 KB

1234567891011121314151617181920212223242526
  1. <div class="navbar-header">
  2. <button type="button" class="navbar-toggle" ng-init="navCollapsed = true" ng-click="navCollapsed = !navCollapsed">
  3. <span class="sr-only">{{:: 'toggle-navigation' | translate}}</span>
  4. <span class="icon-bar"></span>
  5. <span class="icon-bar"></span>
  6. <span class="icon-bar"></span>
  7. </button>
  8. <a class="navbar-brand" href="#" onclick="location.href = authUrl"></a>
  9. </div>
  10. <div class="collapse navbar-collapse" collapse="navCollapsed">
  11. <ul class="nav navbar-nav navbar-utility">
  12. <li class="dropdown">
  13. <a href="#" class="dropdown-toggle" data-toggle="dropdown">
  14. <span class="pficon pficon-user"></span>
  15. {{auth.user.displayName|capitalize}} <b class="caret"></b>
  16. </a>
  17. <ul class="dropdown-menu">
  18. <li><a data-ng-click="auth.authz.accountManagement()" href="">{{:: 'manage-account' | translate}}</a></li>
  19. <li><a href="#/server-info">{{:: 'server-info' | translate}}</a></li>
  20. <li class="divider"></li>
  21. <li><a href="" ng-click="auth.authz.logout()">{{:: 'sign-out' | translate}}</a></li>
  22. </ul>
  23. </li>
  24. </ul>
  25. </div>