overleaf/services/web/app/views/layout/footer.jade
2014-08-14 13:00:04 +01:00

56 lines
1.4 KiB
Text

footer.site-footer
.container
.row
ul.col-md-6
each item in nav.left_footer
li
if item.url
a(href=item.url, class=item.class) !{item.text}
else
| !{item.text}
.col-md-3
.dropdown.dropup.subdued
a.dropdown-toggle(
href="#",
data-toggle="dropdown",
aria-haspopup="true",
aria-expanded="false"
) #{translate("language")}
|  
img(src="/img/flags/24/#{currentLngCode}.png")
ul.dropdown-menu(role="menu")
each subdomainDetails, subdomain in settings.i18n.subdomainLang
li.lngOption
a.menu-indent(href=subdomainDetails.url+currentUrl) #{translate(subdomainDetails.lngCode)}
img(src="/img/flags/24/#{subdomainDetails.lngCode}.png")
ul.col-md-3
each item in nav.right_footer
li
if item.url
a(href=item.url, class=item.class) !{item.text}
else
| !{item.text}
//- li
//- a(href="http://www.twitter.com/sharelatex")
//- i.fa.fa-twitter-square
//- li
//- a(href="http://www.facebook.com/pages/ShareLaTeX/301671376556660")
//- i.fa.fa-facebook-square
//- li
//- a(href="https://plus.google.com/115074691861228882827", rel="publisher")
//- i.fa.fa-google-plus-square
//- li
//- a(href="https://github.com/sharelatex/sharelatex")
//- i.fa.fa-github-square