2014-10-01 12:20:49 +00:00
|
|
|
doctype html
|
2013-11-16 10:22:12 +00:00
|
|
|
//html(ng-app="habitrpg", ng-controller="RootCtrl", ng-class='{"applying-action":applyingAction}', ui-keypress="{27:'castCancel()'}")
|
2015-11-22 21:57:14 +00:00
|
|
|
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)")
|
2013-08-28 01:13:05 +00:00
|
|
|
head
|
2015-12-17 21:12:25 +00:00
|
|
|
title(ng-bind="env.t('habitica') + ' | ' + $root.pageTitle")
|
2013-09-07 11:55:48 +00:00
|
|
|
// ?v=1 needed to force refresh
|
2015-10-18 01:56:17 +00:00
|
|
|
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')
|
2016-01-14 18:58:58 +00:00
|
|
|
link(rel='mask-icon', href='#{env.getBuildUrl("favicon.ico")}?v=4')
|
2014-01-31 20:18:44 +00:00
|
|
|
|
|
|
|
|
meta(charset='utf-8')
|
|
|
|
|
meta(name='viewport', content='width=device-width, initial-scale=1.0')
|
|
|
|
|
meta(name='apple-mobile-web-app-capable', content='yes')
|
2015-10-18 01:56:17 +00:00
|
|
|
meta(name='mobile-web-app-capable', content='yes')
|
2013-09-07 11:55:48 +00:00
|
|
|
|
2016-04-03 13:47:19 +00:00
|
|
|
include ./shared/new-relic
|
2014-11-27 10:32:57 +00:00
|
|
|
//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")
|
|
|
|
|
|
2013-08-28 16:53:55 +00:00
|
|
|
script(type='text/javascript').
|
2015-08-14 18:58:57 +00:00
|
|
|
window.env = !{JSON.stringify(env._.pick(env, env.clientVars))};
|
2013-08-28 16:53:55 +00:00
|
|
|
|
2013-11-04 21:11:45 +00:00
|
|
|
!= env.getManifestFiles("app")
|
2013-08-28 01:13:05 +00:00
|
|
|
|
|
|
|
|
//webfonts
|
|
|
|
|
link(href='//fonts.googleapis.com/css?family=Lato:300,400,700,400italic,700italic', rel='stylesheet', type='text/css')
|
2014-01-31 20:18:44 +00:00
|
|
|
|
2013-08-28 01:13:05 +00:00
|
|
|
|
2014-02-06 17:46:43 +00:00
|
|
|
body(ng-cloak, ng-controller='GroupsCtrl')
|
2015-11-18 03:22:55 +00:00
|
|
|
include ./shared/noscript
|
2015-01-01 23:58:28 +00:00
|
|
|
include ./shared/mixins
|
2015-06-27 21:08:38 +00:00
|
|
|
include ./shared/avatar/index
|
2014-02-13 04:21:06 +00:00
|
|
|
include ./shared/header/menu
|
2014-02-06 17:46:43 +00:00
|
|
|
include ./shared/modals/index
|
|
|
|
|
include ./shared/header/header
|
2015-06-05 02:05:41 +00:00
|
|
|
include ./shared/tasks/index
|
2014-02-06 17:46:43 +00:00
|
|
|
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)
|
|
|
|
|
|
2014-08-08 14:03:52 +00:00
|
|
|
include ./shared/footer
|