2013-10-28 05:27:07 +00:00
|
|
|
include ./profile
|
|
|
|
|
include ./groups/index
|
|
|
|
|
include ./challenges
|
|
|
|
|
include ./inventory/index
|
|
|
|
|
include ./settings
|
|
|
|
|
|
|
|
|
|
script(id='partials/options.html', type="text/ng-template")
|
2013-10-27 00:23:52 +00:00
|
|
|
.grid
|
|
|
|
|
.module.full-width
|
|
|
|
|
span.option-box.pull-right.wallet
|
|
|
|
|
include ../shared/gems
|
|
|
|
|
|
|
|
|
|
ul.nav.nav-tabs
|
2013-10-28 05:27:07 +00:00
|
|
|
li(ng-class="{ active: $state.includes('options.profile') }")
|
|
|
|
|
a(ui-sref='options.profile')
|
2013-10-27 00:23:52 +00:00
|
|
|
i.icon-user
|
|
|
|
|
| Profile
|
2013-10-28 05:27:07 +00:00
|
|
|
li(ng-class="{ active: $state.includes('options.groups') }")
|
|
|
|
|
a(ui-sref='options.groups')
|
2013-10-27 00:23:52 +00:00
|
|
|
i.icon-heart
|
|
|
|
|
| Groups
|
2013-10-28 05:27:07 +00:00
|
|
|
li(ng-class="{ active: $state.includes('options.inventory') }", ng-if='user.flags.dropsEnabled')
|
|
|
|
|
a(ui-sref='options.inventory')
|
2013-10-27 00:23:52 +00:00
|
|
|
i.icon-gift
|
|
|
|
|
| Inventory
|
2013-10-28 05:27:07 +00:00
|
|
|
li(ng-class="{ active: $state.includes('options.challenges') }")
|
|
|
|
|
a(ui-sref='options.challenges')
|
2013-10-27 00:23:52 +00:00
|
|
|
i.icon-bullhorn
|
|
|
|
|
| Challenges
|
2013-10-28 05:27:07 +00:00
|
|
|
li(ng-class="{ active: $state.includes('options.settings') }")
|
|
|
|
|
a(ui-sref='options.settings')
|
2013-10-27 00:23:52 +00:00
|
|
|
i.icon-wrench
|
|
|
|
|
| Settings
|
|
|
|
|
|
|
|
|
|
.tab-content
|
2013-10-28 05:27:07 +00:00
|
|
|
.tab-pane.active
|
|
|
|
|
div(ui-view)
|