habitica/views/options/inventory.jade

24 lines
1.5 KiB
Text
Raw Normal View History

2013-09-04 15:13:42 +00:00
.row-fluid(ng-controller='InventoryCtrl')
div(ng-class='{span6: hatching}')
menu.inventory-list(type='list')
li.customize-menu
2013-09-24 01:02:08 +00:00
menu.pets-menu(label='Eggs ({{userEggs.length}})')
2013-09-04 15:13:42 +00:00
p(ng-show='userEggs.length < 1') You don't have any eggs yet.
div(ng-repeat='egg in userEggs track by $index')
button.customize-option(tooltip='{{egg.text}}', ng-click='chooseEgg(egg)', class='Pet_Egg_{{egg.name}}', ng-class='selectableInventory(egg.name, selectedPotion)')
p {{egg.text}}
li.customize-menu
2013-09-24 01:02:08 +00:00
menu.hatchingPotion-menu(label='Hatching Potions ({{userHatchingPotions.length}})')
2013-09-04 15:13:42 +00:00
p(ng-show='userHatchingPotions.length < 1') You don't have any hatching potions yet.
div(ng-repeat='hatchingPotion in userHatchingPotions track by $index')
button.customize-option(tooltip='{{hatchingPotion}}', ng-click='choosePotion(hatchingPotion)', class='Pet_HatchingPotion_{{hatchingPotion}}', ng-class='selectableInventory(selectedEgg, hatchingPotion)')
p {{hatchingPotion}}
2013-09-04 15:13:42 +00:00
.span6(ng-show='hatching')
h3 Hatch Your Egg
2013-09-04 15:13:42 +00:00
p(ng-show='userHatchingPotions.length < 1') You don't have any hatching potions yet.
div(ng-show='userHatchingPotions.length >= 1')
p.
Which hatching potion will you pour on your <b>{{selectedEgg.text}}</b> egg?
select(ng-options='hatchingPotion for hatchingPotion in userHatchingPotions', ng-model="selectedPotion")
button(ng-click="pour()") Pour