2013-08-28 01:13:05 +00:00
|
|
|
doctype 5
|
|
|
|
|
html
|
|
|
|
|
head
|
|
|
|
|
title HabitRPG | Your Life The Role Playing Game
|
2013-08-25 01:06:37 +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-08-28 01:13:05 +00:00
|
|
|
// CSS
|
|
|
|
|
link(rel='stylesheet', href='/bower_components/bootstrap/docs/assets/css/bootstrap.css')
|
|
|
|
|
link(rel='stylesheet', href='/bower_components/bootstrap/docs/assets/css/bootstrap-responsive.css')
|
2013-09-03 01:38:05 +00:00
|
|
|
link(rel='stylesheet', href='/bower_components/angular-ui/build/angular-ui.min.css')
|
2013-08-28 01:13:05 +00:00
|
|
|
!= css('index')
|
2013-08-25 04:44:05 +00:00
|
|
|
|
2013-08-28 01:13:05 +00:00
|
|
|
// HabitRPG Shared
|
|
|
|
|
link(rel='stylesheet', href='/bower_components/habitrpg-shared/spritesheets.css')
|
|
|
|
|
|
|
|
|
|
// JS
|
|
|
|
|
script(type='text/javascript', src='/bower_components/jquery/jquery.min.js')
|
2013-09-03 01:38:05 +00:00
|
|
|
script(type='text/javascript', src='/bower_components/lodash/dist/lodash.min.js')
|
2013-08-28 20:48:27 +00:00
|
|
|
script(type='text/javascript', src='/bower_components/bootstrap-growl/jquery.bootstrap-growl.min.js')
|
2013-09-03 01:38:05 +00:00
|
|
|
script(type='text/javascript', src='/bower_components/moment/min/moment.min.js')
|
|
|
|
|
script(type='text/javascript', src='/bower_components/angular/angular.min.js')
|
|
|
|
|
script(type='text/javascript', src='/bower_components/angular-route/angular-route.min.js')
|
|
|
|
|
script(type='text/javascript', src='/bower_components/angular-resource/angular-resource.min.js')
|
|
|
|
|
script(type='text/javascript', src='/bower_components/angular-ui/build/angular-ui.min.js')
|
2013-09-01 00:52:41 +00:00
|
|
|
script(type='text/javascript', src='/bower_components/angular-ui-utils/modules/keypress/keypress.js')
|
2013-08-31 18:52:13 +00:00
|
|
|
// we'll remove this once angular-bootstrap is fixed
|
|
|
|
|
script(type='text/javascript', src='/bower_components/bootstrap/docs/assets/js/bootstrap.min.js')
|
2013-09-03 01:38:05 +00:00
|
|
|
script(type='text/javascript', src='/bower_components/angular-bootstrap/ui-bootstrap.min.js')
|
|
|
|
|
script(type='text/javascript', src='/bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js')
|
2013-08-28 01:13:05 +00:00
|
|
|
|
2013-08-28 18:04:54 +00:00
|
|
|
// Sortable
|
|
|
|
|
script(type='text/javascript', src='/bower_components/jquery-ui/ui/minified/jquery.ui.core.min.js')
|
|
|
|
|
script(type='text/javascript', src='/bower_components/jquery-ui/ui/minified/jquery.ui.widget.min.js')
|
|
|
|
|
script(type='text/javascript', src='/bower_components/jquery-ui/ui/minified/jquery.ui.mouse.min.js')
|
|
|
|
|
script(type='text/javascript', src='/bower_components/jquery-ui/ui/minified/jquery.ui.sortable.min.js')
|
|
|
|
|
|
|
|
|
|
|
2013-08-28 01:13:05 +00:00
|
|
|
script(type='text/javascript', src='/bower_components/habitrpg-shared/dist/habitrpg-shared.js')
|
|
|
|
|
|
|
|
|
|
!= js('app')
|
|
|
|
|
|
|
|
|
|
!= js('services/authServices')
|
|
|
|
|
!= js('services/notificationServices')
|
|
|
|
|
!= js('services/sharedServices')
|
|
|
|
|
!= js('services/userServices')
|
2013-08-29 02:08:59 +00:00
|
|
|
!= js('services/groupServices')
|
2013-08-28 01:13:05 +00:00
|
|
|
|
|
|
|
|
!= js('filters/filters')
|
|
|
|
|
|
|
|
|
|
!= js('directives/directives')
|
|
|
|
|
|
|
|
|
|
!= js('controllers/authCtrl')
|
|
|
|
|
!= js('controllers/characterCtrl')
|
|
|
|
|
!= js('controllers/menuCtrl')
|
|
|
|
|
!= js('controllers/notificationCtrl')
|
2013-08-28 02:01:29 +00:00
|
|
|
!= js('controllers/rootCtrl')
|
2013-08-28 01:13:05 +00:00
|
|
|
!= js('controllers/settingsCtrl')
|
|
|
|
|
!= js('controllers/statsCtrl')
|
|
|
|
|
!= js('controllers/tasksCtrl')
|
|
|
|
|
!= js('controllers/taskDetailsCtrl')
|
2013-08-28 22:28:28 +00:00
|
|
|
!= js('controllers/filtersCtrl')
|
2013-08-28 01:13:05 +00:00
|
|
|
!= js('controllers/userAvatarCtrl')
|
2013-08-29 02:08:59 +00:00
|
|
|
!= js('controllers/groupsCtrl')
|
2013-08-28 16:53:55 +00:00
|
|
|
!= js('controllers/footerCtrl')
|
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')
|
|
|
|
|
meta(name='viewport', content='width=device-width')
|
|
|
|
|
meta(name='apple-mobile-web-app-capable', content='yes')
|
|
|
|
|
|
2013-08-28 17:38:04 +00:00
|
|
|
body(ng-app="habitrpg", ng-controller="RootCtrl", 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-09-01 02:59:35 +00:00
|
|
|
#notification-area(ng-controller='NotificationCtrl')
|
|
|
|
|
#wrap
|
2013-08-28 02:37:56 +00:00
|
|
|
|
2013-09-01 02:59:35 +00:00
|
|
|
// Errors
|
2013-09-02 22:40:20 +00:00
|
|
|
.unstyled.alert.alert-error(ng-repeat='error in flash.errors track by $index') {{error}}
|
|
|
|
|
.unstyled.alert.alert-error(ng-repeat='error in flash.warnings track by $index') {{error}}
|
2013-08-28 02:37:56 +00:00
|
|
|
|
2013-09-01 02:59:35 +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
|
|
|
|
2013-09-01 02:59:35 +00:00
|
|
|
.exp-chart(ng-show='page.charts.exp')
|
2013-08-28 22:11:00 +00:00
|
|
|
|
2013-09-01 02:59:35 +00:00
|
|
|
#main(ng-view)
|
2013-08-26 02:37:27 +00:00
|
|
|
|
2013-09-01 02:59:35 +00:00
|
|
|
include ./shared/footer
|
2013-08-28 04:20:50 +00:00
|
|
|
|
2013-09-01 02:59:35 +00:00
|
|
|
// Modal backdrop for when loading big stuff
|
|
|
|
|
#loading-indicator(style='display:none;')
|
|
|
|
|
.modal-backdrop
|
|
|
|
|
h1(style='position:absolute;top:50%;left:45%;color:white;z-index:9000') Loading...
|
2013-08-28 01:13:05 +00:00
|
|
|
|