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

49 lines
1.5 KiB
Text
Raw Normal View History

2014-02-12 05:23:40 -05:00
.navbar.navbar-fixed-top.navbar-inverse
.navbar-inner
.container-fluid
a(href='/').brand ShareLaTeX
ul.nav
-if(session && session.user)
li
a(href='/project') Projects
-if(typeof(tenderUrl) != "undefined")
li
a.js-tender-widget(href='#') Support & Feedback
li.nav-collapse
a(href='/help') Help
li.nav-collapse#blogLink
2014-02-12 05:23:40 -05:00
a(href='/blog') Blog
li.nav-collapse
a(href='/templates')#templatesLink LaTeX Templates
2014-02-12 05:23:40 -05:00
- if (settings.enableSubscriptions)
li.nav-collapse
a(href='/user/subscription/plans')#plansLink Plans & Pricing
li.dropdown.nav-collapse
a.dropdown-toggle(href='#',data-toggle="dropdown") Info
b.caret
ul.dropdown-menu
li.nav-collapse
a(href="/learn")#learnLink LaTeX help guide
2014-02-12 05:23:40 -05:00
li.nav-collapse
a(href='/resources')#resourcesLink LaTeX Resources
2014-02-12 05:23:40 -05:00
li.nav-collapse
a(href='/about')#aboutUsLink About Us
2014-02-12 05:23:40 -05:00
ul.nav.pull-right
-if(session && session.user)
li.dropdown
a.dropdown-toggle(href="#",data-toggle="dropdown") Account
b.caret
ul.dropdown-menu
li
a(href='/user/settings').userSettingsLink User Settings
2014-02-12 05:23:40 -05:00
li
a(href='/user/subscription').subscriptionLink Subscription
2014-02-12 05:23:40 -05:00
li
a(href='/logout').logoutLink Logout
2014-02-12 05:23:40 -05:00
-else
li
a(href='/register') Register
li
a#loginLink(href='/login'+getRedirAsQueryString()) Login