mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 12:40:00 +00:00
40 lines
No EOL
1.3 KiB
Text
40 lines
No EOL
1.3 KiB
Text
//Trick needed to pass 'env' to ./layout
|
|
block vars
|
|
doctype 5
|
|
html
|
|
|
|
head
|
|
block title
|
|
title=env.t('titleIndex')
|
|
|
|
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-app='habitrpgStatic',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') Home
|
|
li(class='#{menuItem=="about" ? "active" : ""}')
|
|
a(href='/static/about') About
|
|
//li(class='#{menuItem=="pricing" ? "active" : ""}')
|
|
a(href='/static/pricing') Pricing
|
|
//li(class='#{menuItem=="contact" ? "active" : ""}')
|
|
a(href='/static/contact') Contact
|
|
.container
|
|
block content
|
|
|
|
include ../shared/footer |