masthead.jade 728 B

12345678910111213141516171819202122232425262728293031
  1. div.masthead
  2. div.logbar
  3. div.loginstatus
  4. - if( user && user.loggedIn )
  5. | Currently logged in as
  6. span.username
  7. | !{ user.displayName || user.name }
  8. - else
  9. |  
  10. div.navbar
  11. table
  12. tr
  13. td
  14. a(href="/")
  15. img.logo(src="/images/finals-club-wht.png")
  16. td.menu
  17. a(href="/schools") Courses
  18. a(href="http://blog.finalsclub.org") Blog
  19. a(href="/archive") Archive
  20. a(href="/press") Press
  21. - if( user && user.loggedIn )
  22. a(href="/profile") Profile
  23. //span(class='sub_menu')
  24. a.special( href='/logout' ) Logout
  25. - else
  26. a(href="/register") Create an Account
  27. // span(class='sub_menu')
  28. a.special(href="/login") Login
  29. div.logbar
  30.