2013-09-04 15:13:42 +00:00
|
|
|
.row-fluid(ng-controller='InventoryCtrl')
|
|
|
|
|
div(ng-class='{span6: hatching}')
|
2013-09-02 18:26:59 +00:00
|
|
|
menu.inventory-list(type='list')
|
|
|
|
|
li.customize-menu
|
|
|
|
|
menu.pets-menu(label='Eggs')
|
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}}')
|
2013-09-02 18:26:59 +00:00
|
|
|
p {{egg.text}}
|
|
|
|
|
li.customize-menu
|
|
|
|
|
menu.hatchingPotion-menu(label='Hatching Potions')
|
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='chooseHatching(hatchingPotion)', class='Pet_HatchingPotion_{{hatchingPotion}}')
|
2013-09-02 18:26:59 +00:00
|
|
|
p {{hatchingPotion}}
|
2013-09-04 15:13:42 +00:00
|
|
|
.span6(ng-show='hatching')
|
2013-09-02 18:26:59 +00:00
|
|
|
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')
|
2013-09-02 18:26:59 +00:00
|
|
|
p Which hatching potion will you pour on your {{_hatchEgg.text}} egg?
|
|
|
|
|
form(x-bind='submit:hatchEgg')
|
|
|
|
|
select
|
|
|
|
|
option(ng-repeat='hatchingPotion in user.items.hatchingPotions track by $index') {{hatchingPotion}}
|
|
|
|
|
button(type='submit') Pour
|