overleaf/services/web/app/views/menubar.jade

44 lines
1.1 KiB
Text
Raw Normal View History

2014-06-04 12:46:22 -04:00
nav.navbar.navbar-default
.container-fluid
.navbar-header
2014-06-04 12:46:22 -04:00
button.navbar-toggle(data-toggle="collapse",data-target="#navbar-collapse")
i.fa.fa-bars
a(href='/').navbar-brand ShareLaTeX
2014-06-04 12:46:22 -04:00
.navbar-collapse.collapse#navbar-collapse
ul.nav.navbar-nav.navbar-right
-if(session && session.user)
li
a(href='/project') Projects
2014-06-04 12:46:22 -04:00
li.dropdown
a.dropdown-toggle(href='#',data-toggle="dropdown")
| Help
b.caret
ul.dropdown-menu
2014-06-04 12:46:22 -04:00
li
a(href='/learn') Documentation
-if(typeof(tenderUrl) != "undefined")
li
a.js-tender-widget(href='#') Contact
-if(session && session.user)
li.dropdown
2014-06-04 12:46:22 -04:00
a.dropdown-toggle(href="#",data-toggle="dropdown")
| Account
2014-02-12 05:23:40 -05:00
b.caret
ul.dropdown-menu
li
a(href='/user/settings').userSettingsLink User Settings
- if (settings.enableSubscriptions)
2014-02-12 05:23:40 -05:00
li
a(href='/user/subscription').subscriptionLink Subscription
li
a(href='/logout').logoutLink Logout
-else
li
a(href='/register') Register
li
a#loginLink(href='/login'+getRedirAsQueryString()) Login
2014-02-12 05:23:40 -05:00