2013-08-28 01:13:05 +00:00
|
|
|
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()'}")
|
2014-01-18 21:15:45 +00:00
|
|
|
html(ng-app="habitrpg", ng-controller="RootCtrl", ng-class='{"applying-action":applyingAction}', ui-keyup="{27:'castCancel()'}")
|
2013-08-28 01:13:05 +00:00
|
|
|
head
|
2013-12-30 02:14:55 +00:00
|
|
|
title=env.t('titleIndex')
|
2013-09-07 11:55:48 +00:00
|
|
|
// ?v=1 needed to force refresh
|
2014-01-31 20:18:44 +00:00
|
|
|
link(rel='shortcut icon', href='#{env.getBuildUrl("favicon.ico")}?v=3')
|
|
|
|
|
|
|
|
|
|
meta(charset='utf-8')
|
|
|
|
|
meta(name='viewport', content='width=device-width, initial-scale=1.0')
|
|
|
|
|
meta(name='apple-mobile-web-app-capable', content='yes')
|
2013-09-07 11:55:48 +00:00
|
|
|
|
2013-08-28 16:53:55 +00:00
|
|
|
script(type='text/javascript').
|
|
|
|
|
window.env = !{JSON.stringify(env)};
|
|
|
|
|
|
2013-08-28 17:38:04 +00:00
|
|
|
style.
|
|
|
|
|
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
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
|
|
|
|
2013-11-16 10:22:12 +00:00
|
|
|
body(ng-cloak)
|
2013-09-01 02:59:35 +00:00
|
|
|
div(ng-controller='GroupsCtrl')
|
|
|
|
|
include ./shared/modals/index
|
|
|
|
|
include ./shared/header/header
|
2013-08-28 01:13:05 +00:00
|
|
|
|
2013-10-27 00:23:52 +00:00
|
|
|
include ./shared/tasks/lists
|
|
|
|
|
include ./main/index
|
|
|
|
|
include ./options/index
|
|
|
|
|
|
2013-09-01 02:59:35 +00:00
|
|
|
#notification-area(ng-controller='NotificationCtrl')
|
2014-01-31 20:18:44 +00:00
|
|
|
#wrap.container-fluid
|
2013-12-18 01:19:27 +00:00
|
|
|
//if they hide the header, we still need user-menu visible
|
2013-09-01 02:59:35 +00:00
|
|
|
div(ng-if='user.preferences.hideHeader')
|
|
|
|
|
include ./shared/header/menu
|
2013-08-28 23:11:29 +00:00
|
|
|
|
2014-01-31 20:18:44 +00:00
|
|
|
.row
|
|
|
|
|
.col-md-12.exp-chart(ng-show='charts.exp')
|
|
|
|
|
#main(ui-view)
|
2013-08-26 02:37:27 +00:00
|
|
|
|
2013-10-30 18:35:30 +00:00
|
|
|
include ./shared/footer
|