header.template.html 789 B

123456789101112131415161718192021
  1. <header ng-controller="Header">
  2. <nav class="main-menu">
  3. <div class="logo">LOGO</div>
  4. <ul>
  5. <li><a href="#/">Home</a></li>
  6. <li><a href="#/global_map">Map</a></li>
  7. <li><a href="#/articles-users">Users articles</a></li>
  8. <li><a>Forum</a></li>
  9. <div class="btn-group" ng-if="!isLogged()">
  10. <button ng-click="login()">Войти</button>
  11. <button ng-click="registration()">Зарегаться</button>
  12. </div>
  13. <div class="btn-group account" ng-if="isLogged()">
  14. <li><a href="#/user-account">Личный кабинет</a></li>
  15. <button ng-click="logOut()">Выйти</button>
  16. </div>
  17. </ul>
  18. </nav>
  19. </header>