header.html 945 B

1234567891011121314151617181920212223242526272829
  1. <template name="header">
  2. <nav class="navbar navbar-default" role="navigation">
  3. <div class="navbar-header">
  4. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navigation">
  5. <span class="sr-only">Toggle navigation</span>
  6. <span class="icon-bar"></span>
  7. <span class="icon-bar"></span>
  8. <span class="icon-bar"></span>
  9. </button>
  10. <a class="navbar-brand" href="{{ pathFor 'postsList' }}">Microscope</a>
  11. </div>
  12. <div class="collapse navbar-collapse" id="navigation">
  13. <ul class="nav navbar-nav">
  14. {{#if currentUser}}
  15. <li>
  16. <a href="{{ pathFor 'postSubmit' }}">Submit Post</a>
  17. </li>
  18. <li class="dropdown">
  19. {{> notifications}}
  20. </li>
  21. {{/if}}
  22. </ul>
  23. <ul class="nav navbar-nav navbar-right">
  24. {{> loginButtons}}
  25. </ul>
  26. </div>
  27. </nav>
  28. </template>