header.html 842 B

123456789101112131415161718192021222324
  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><a href="{{ pathFor 'postSubmit' }}">Submit Post</a></li>
  16. {{/if}}
  17. </ul>
  18. <ul class="nav navbar-nav navbar-right">
  19. {{> loginButtons}}
  20. </ul>
  21. </div>
  22. </nav>
  23. </template>