habitica-self-host/views/index.jade

45 lines
1.4 KiB
Text
Raw Normal View History

doctype 5
2013-11-16 10:22:12 +00:00
//html(ng-app="habitrpg", ng-controller="RootCtrl", ng-class='{"applying-action":applyingAction}', ui-keypress="{27:'castCancel()'}")
html(ng-app="habitrpg", ng-controller="RootCtrl", ng-class='{"applying-action":applyingAction}', ui-keypress="{27:'castCancel()'}")
head
title=env.t('titleIndex')
2013-08-25 01:06:37 +00:00
2013-09-07 11:55:48 +00:00
// ?v=1 needed to force refresh
link(rel='shortcut icon', href='#{env.getBuildUrl("favicon.ico")}?v=2')
2013-09-07 11:55:48 +00:00
script(type='text/javascript').
window.env = !{JSON.stringify(env)};
style.
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
display: none;
}
!= env.getManifestFiles("app")
//webfonts
link(href='//fonts.googleapis.com/css?family=Lato:300,400,700,400italic,700italic', rel='stylesheet', type='text/css')
meta(name='viewport', content='width=device-width')
meta(name='apple-mobile-web-app-capable', content='yes')
2013-11-16 10:22:12 +00:00
body(ng-cloak)
div(ng-controller='GroupsCtrl')
include ./shared/modals/index
include ./shared/header/header
include ./shared/tasks/lists
include ./main/index
include ./options/index
#notification-area(ng-controller='NotificationCtrl')
#wrap
2013-08-28 02:37:56 +00:00
//if they hide the header, we still need user-menu visible
div(ng-if='user.preferences.hideHeader')
include ./shared/header/menu
2013-08-28 23:11:29 +00:00
.exp-chart(ng-show='charts.exp')
#main(ui-view)
2013-10-30 18:35:30 +00:00
include ./shared/footer