mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-01 15:31:16 +00:00
37 lines
1.2 KiB
Text
37 lines
1.2 KiB
Text
include ./profile
|
|
include ./social/index
|
|
include ./inventory/index
|
|
include ./settings
|
|
include ./admin
|
|
|
|
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
|
|
| Profile
|
|
li(ng-class="{ active: $state.includes('options.social') }")
|
|
a(ui-sref='options.social')
|
|
i.icon-heart
|
|
| Social
|
|
li(ng-class="{ active: $state.includes('options.inventory') }", ng-if='user.flags.dropsEnabled')
|
|
a(ui-sref='options.inventory')
|
|
i.icon-gift
|
|
| Inventory
|
|
li(ng-class="{ active: $state.includes('options.settings') }")
|
|
a(ui-sref='options.settings')
|
|
i.icon-wrench
|
|
| Settings
|
|
li(ng-class="{ active: $state.includes('options.admin') }", ng-if='user.contributor.admin')
|
|
a(ui-sref='options.admin')
|
|
i.icon-cog
|
|
| Admin
|
|
|
|
.tab-content
|
|
.tab-pane.active
|
|
div(ui-view)
|