habitica-self-host/website/views/index.jade

47 lines
1.9 KiB
Text
Raw Normal View History

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()'}")
html(ng-app="habitrpg", ng-controller="RootCtrl", ng-class='{"applying-action":applyingAction}', ui-keyup="{27:'castCancel()'}")
head
title(ng-bind="env.t('habitica') + ' | ' + $root.pageTitle")
2013-09-07 11:55:48 +00:00
// ?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')
2013-09-07 11:55:48 +00:00
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').
2015-08-14 18:58:57 +00:00
window.env = !{JSON.stringify(env._.pick(env, env.clientVars))};
!= env.getManifestFiles("app")
//webfonts
link(href='//fonts.googleapis.com/css?family=Lato:300,400,700,400italic,700italic', rel='stylesheet', type='text/css')
2014-02-06 17:46:43 +00:00
body(ng-cloak, ng-controller='GroupsCtrl')
include ./shared/noscript
include ./shared/mixins
2015-06-27 21:08:38 +00:00
include ./shared/avatar/index
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