main.component.html 750 B

12345678910111213141516171819202122
  1. <md-toolbar class="md-hue-2 _md _md-toolbar-transitions">
  2. <div class="md-toolbar-tools">
  3. <h2 flex="" md-truncate="" class="md-truncate flex">
  4. <i class="material-icons">edit</i>
  5. CMS
  6. </h2>
  7. <a ng-href="/a/news" class="md-primary md-raised md-button md-ink-ripple"> Notícias </a>
  8. <div class="header-user">
  9. <i class="material-icons">account_circle</i>
  10. <ul>
  11. <li>{{user.name}}</li>
  12. <li>{{user.email}}</li>
  13. </ul>
  14. <a href="#" ng-click="logout()">
  15. <i class="material-icons">exit_to_app</i>
  16. </a>
  17. </div>
  18. </div>
  19. </md-toolbar>
  20. <div class="content">
  21. <ng-outlet></ng-outlet>
  22. </div>