mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
48 lines
2.1 KiB
Plaintext
48 lines
2.1 KiB
Plaintext
doctype html
|
|
//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-keyup="{27:'castCancel()'}", ng-keydown="$broadcast('habit:keydown', $event)", ng-keyup="$broadcast('habit:keyup', $event)")
|
|
head
|
|
title(ng-bind="env.t('habitica') + ' | ' + $root.pageTitle")
|
|
// ?v=1 needed to force refresh
|
|
link(rel='shortcut icon', sizes="32x32", href='#{env.getBuildUrl("favicon.ico")}?v=4')
|
|
link(rel='shortcut icon', sizes="144x144", href='#{env.getBuildUrl("favicon_192x192.png")}?v=4')
|
|
link(rel='mask-icon', href='#{env.getBuildUrl("favicon.ico")}?v=4')
|
|
|
|
meta(charset='utf-8')
|
|
meta(name='viewport', content='width=device-width, initial-scale=1.0')
|
|
meta(name='apple-mobile-web-app-capable', content='yes')
|
|
meta(name='mobile-web-app-capable', content='yes')
|
|
|
|
include ./shared/new-relic
|
|
//FIXME for some reason this won't load when in footerCtrl.js#deferredScripts()
|
|
script(type="text/javascript", src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5016f6cc44ad68a4", async="async")
|
|
|
|
script(type='text/javascript').
|
|
window.env = !{JSON.stringify(env._.pick(env, env.clientVars))};
|
|
|
|
script(type='text/javascript', src='https://habitica.com/common/dist/scripts/habitrpg-shared.js')
|
|
!= env.getManifestFiles("app")
|
|
|
|
//webfonts
|
|
link(href='//fonts.googleapis.com/css?family=Lato:300,400,700,400italic,700italic', rel='stylesheet', type='text/css')
|
|
|
|
|
|
body(ng-cloak, ng-controller='GroupsCtrl')
|
|
include ./shared/noscript
|
|
include ./shared/mixins
|
|
include ./shared/avatar/index
|
|
include ./shared/header/menu
|
|
include ./shared/modals/index
|
|
include ./shared/header/header
|
|
include ./shared/tasks/index
|
|
include ./main/index
|
|
include ./options/index
|
|
|
|
#notification-area(ng-controller='NotificationCtrl')
|
|
#wrap.container-fluid
|
|
.row
|
|
.col-md-12.exp-chart(ng-show='charts.exp')
|
|
#main(ui-view)
|
|
|
|
include ./shared/footer
|