2013-03-08 17:55:04 +00:00
< modals: >
2013-03-21 20:56:25 +00:00
2013-03-13 15:47:37 +00:00
< app:modals:modal modalId = 'drops-enabled-modal' header = "Drops Enabled!" >
2013-03-23 01:21:35 +00:00
< p > You've unlocked the drop system! Now when you complete tasks, you have a random chance of finding an item drop. And guess what? You just found a {_user.items.eggs.0.text} egg! {_user.items.eggs.0.notes}< / p >
2013-03-09 13:17:02 +00:00
< @footer>
2013-03-10 01:03:24 +00:00
< button class = "btn" data-dismiss = "modal" aria-hidden = "true" > Close< / button >
2013-03-09 13:17:02 +00:00
< /@footer>
2013-03-13 15:37:06 +00:00
< / app:modals:modal >
2013-03-21 20:56:25 +00:00
< app:modals:modal modalId = 'item-dropped-modal' header = "An item has dropped!" >
< p > < span class = "Pet_{_drop.type}_{_drop.name} item-drop-icon" > < / span > {_drop.dialog}< / p >
2013-03-13 15:37:06 +00:00
< @footer>
< button class = "btn" data-dismiss = "modal" aria-hidden = "true" > Close< / button >
< /@footer>
< / app:modals:modal >
2013-03-23 01:21:35 +00:00
< pet: >
< td class = "{#if _user.items.pets[.name]}active-pet{/}" >
< img rel = tooltip title = "{.text} - {.value} Tokens" x-bind = "click:selectPet" data-pet = '{.name}' src = 'img/sprites/{.icon}' / >
< / td >
< food: >
< td class = "active-food" >
< div rel = tooltip class = "{.name}" title = "{.text} - {.value} Tokens" x-bind = "click:buyFood" data-food = '{.name}' > {.text}< / div >
< / td >
2013-03-23 01:37:48 +00:00
< inventory: >
< div class = 'row-fluid' >
< div class = 'span6 well' >
< menu type = "list" >
< h3 > Eggs< / h3 >
{#if not(_user.items.eggs)}
< p > You don't have any eggs yet.< / p >
{/if}
< li class = "customize-menu" >
{#each _user.items.eggs as :egg}
< div >
< button class = "customize-option Pet-Egg" x-bind = "click: chooseEgg" > < / button >
< p > {:egg.text}< / p >
< / div >
{/each}
< / li >
< h3 > Food< / h3 >
{#if not(_user.items.food)}
< p > You don't have any food yet.< / p >
{/if}
< li class = "customize-menu" >
{#each _user.items.food as :food}
< button class = "customize-option" x-bind = "click: chooseFood" > {:food}< / button >
{/each}
< / li >
< / menu >
< / div >
{#if _feedEgg}
< div class = 'span6 well' >
< h3 > Feed Your Egg< / h3 >
{#if not(_user.items.food)}
< p > You don't have any food yet.< / p >
{else}
< p > What would you like to feed your {_feedEgg.text}?< / p >
< form x-bind = "submit:feedEgg" >
< select >
{#each _user.items.food as :food}
< option > {:food}< / option >
{/each}
< / select >
< button type = submit > Feed!< / button >
< / form >
{/if}
< / div >
{/if}
< / div >
< stable: >
2013-03-23 04:17:25 +00:00
{#if _user.items.pets}
{#each _user.items.pets as :pet}
< div class = "Pet-{:pet} {#if equal(_user.items.currentPet.name, :pet)}active{/if}" data-pet = "{:pet}" x-bind = "click:choosePet" > {:pet}< / div >
{/}
{else}
< p > You don't have any pets yet.< / p >
{/}