Skip to content

Instantly share code, notes, and snippets.

@SabreCat
Created December 25, 2014 20:24
Show Gist options
  • Save SabreCat/8d7eb83bd308cf808dc3 to your computer and use it in GitHub Desktop.
Save SabreCat/8d7eb83bd308cf808dc3 to your computer and use it in GitHub Desktop.
Shop layout WIP
script(type='text/ng-template', id='partials/options.inventory.seasonalshop.html')
.container-fluid
.stable.row
.col-md-2
.seasonalshop_winter2015
.col-md-10
.popover.static-popover.fade.right.in
.arrow
h3.popover-title!=env.t('seasonalShopTitle', {linkStart:"<a href='http://blog.habitrpg.com/who' target='_blank'>", linkEnd: "</a>"})
.popover-content
p!=env.t('seasonalShopText')
li.customize-menu.inventory-gear
menu(label='{{::label}}', ng-repeat='(set,label) in {candycane:env.t("candycaneSet"), ski:env.t("skiSet"), snowflake:env.t("snowflakeSet"), yeti:env.t("yetiSet")}')
div(ng-repeat='item in Content.gear.flat | toArray | where:{index:set}')
button.customize-option(popover='{{::item.notes()}}', popover-title='{{::item.text()}}', popover-trigger='mouseenter', popover-placement='right', ng-click='purchase(item.type,item)', class='shop_{{::item.key}}')
p
| {{((item.specialClass == "wizard") && (item.type == "weapon")) + 1}}&nbsp;
span.Pet_Currency_Gem1x.inline-gems
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment