mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-04 04:59:40 +00:00
32 lines
1 KiB
Text
32 lines
1 KiB
Text
include ./profile
|
|
include ./social/index
|
|
include ./inventory/index
|
|
include ./settings
|
|
|
|
script(id='partials/options.html', type="text/ng-template")
|
|
.grid
|
|
.module.full-width
|
|
span.option-box.pull-right.wallet
|
|
include ../shared/gems
|
|
|
|
ul.nav.nav-tabs
|
|
li(ng-class="{ active: $state.includes('options.profile') }")
|
|
a(ui-sref='options.profile')
|
|
i.icon-user
|
|
| env.t('profile')
|
|
li(ng-class="{ active: $state.includes('options.social') }")
|
|
a(ui-sref='options.social')
|
|
i.icon-heart
|
|
| env.t('social')
|
|
li(ng-class="{ active: $state.includes('options.inventory') }", ng-if='user.flags.dropsEnabled')
|
|
a(ui-sref='options.inventory')
|
|
i.icon-gift
|
|
| env.t('inventory')
|
|
li(ng-class="{ active: $state.includes('options.settings') }")
|
|
a(ui-sref='options.settings')
|
|
i.icon-wrench
|
|
| env.t('settings')
|
|
|
|
.tab-content
|
|
.tab-pane.active
|
|
div(ui-view)
|