mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 12:40:00 +00:00
46 lines
No EOL
1.5 KiB
Text
46 lines
No EOL
1.5 KiB
Text
//Trick needed to pass 'env' to ./layout
|
|
block vars
|
|
doctype 5
|
|
html(ng-app='habitrpgStatic')
|
|
|
|
head
|
|
block title
|
|
title=env.t('titleIndex')
|
|
|
|
script(type='text/javascript').
|
|
window.env = !{JSON.stringify(env)};
|
|
|
|
link(rel='shortcut icon', href='#{env.getBuildUrl("favicon.ico")}?v=2')
|
|
|
|
meta(charset='utf-8')
|
|
meta(name='viewport', content='width=device-width, initial-scale=1.0')
|
|
|
|
!= env.getManifestFiles("static")
|
|
|
|
script(type='text/javascript').
|
|
$.getScript("//s7.addthis.com/js/250/addthis_widget.js#pubid=lefnire");
|
|
|
|
body
|
|
div(ng-controller='AuthCtrl',style='margin-top:60px;')
|
|
include ./login-modal
|
|
.navbar.navbar-inverse.navbar.navbar-inverse.navbar-fixed-top
|
|
.navbar-inner
|
|
.container
|
|
a.pull-right.btn.btn-primary(ng-click='playButtonClick()')=env.t('playButton')
|
|
|
|
ul.nav
|
|
li(class='#{menuItem=="home" ? "active" : ""}')
|
|
a(href='/static/front')=env.t('home')
|
|
li(class='#{menuItem=="about" ? "active" : ""}')
|
|
a(href='/static/about')=env.t('learnMore')
|
|
li
|
|
a(href='http://blog.habitrpg.com/')=env.t('companyBlog')
|
|
li(class='#{menuItem=="plans" ? "active" : ""}')
|
|
a(href='/static/plans')=env.t('groupPlans')
|
|
//li(class='#{menuItem=="contact" ? "active" : ""}')
|
|
a(href='/static/contact')=env.t('contact')
|
|
|
|
.container
|
|
block content
|
|
|
|
include ../shared/footer |