2014-11-10 18:24:05 -05:00
|
|
|
.modal-dialog
|
|
|
|
.modal-content
|
2014-11-12 21:01:35 -05:00
|
|
|
img(src="/images/pages/play/modal/inventory-background.png")#play-items-modal-narrow-bg
|
2014-11-06 19:23:23 -05:00
|
|
|
|
2014-11-10 18:24:05 -05:00
|
|
|
div#gems-count-container
|
|
|
|
span#gems-count.big-font= gems
|
2014-11-06 19:23:23 -05:00
|
|
|
|
2014-11-10 18:24:05 -05:00
|
|
|
div#close-modal
|
|
|
|
span.glyphicon.glyphicon-remove
|
|
|
|
|
|
|
|
#equipped
|
|
|
|
if selectedHero
|
|
|
|
img(src="/file/"+selectedHero.get('featureImage'))#hero-image
|
|
|
|
|
|
|
|
for slot in ['head', 'eyes', 'neck', 'torso', 'gloves', 'wrists', 'left-hand', 'right-hand', 'waist', 'feet', 'left-ring', 'right-ring', 'minion', 'flag', 'pet', 'programming-book', 'misc-0', 'misc-1']
|
2014-11-06 19:23:23 -05:00
|
|
|
.item-slot(data-slot=slot)
|
|
|
|
.placeholder
|
2014-11-10 18:24:05 -05:00
|
|
|
if equipment[slot]
|
|
|
|
img.item(src=equipment[slot].getPortraitURL(), data-item-id=equipment[slot].id)
|
|
|
|
|
|
|
|
#unequipped
|
2014-11-10 21:13:04 -05:00
|
|
|
.nano
|
|
|
|
.nano-content
|
|
|
|
if itemGroups
|
|
|
|
if itemGroups.availableItems.models.length
|
|
|
|
h4#available-description(data-i18n="inventory.available_item")
|
|
|
|
for item in itemGroups.availableItems.models
|
|
|
|
img.item(src=item.getPortraitURL(), class=item.classes, data-item-id=item.id)
|
|
|
|
.clearfix
|
|
|
|
|
|
|
|
#double-click-hint.alert.alert-info.secret(data-i18n="inventory.should_equip")
|
|
|
|
|
|
|
|
if itemGroups.restrictedItems.models.length
|
|
|
|
h4#restricted-description(data-i18n="inventory.restricted_title")
|
|
|
|
for item in itemGroups.restrictedItems.models
|
|
|
|
img.item(src=item.getPortraitURL(), class=item.classes, data-item-id=item.id)
|
|
|
|
.clearfix
|
|
|
|
|
|
|
|
if itemGroups.lockedItems.models.length
|
|
|
|
h4#locked-description(data-i18n="play.locked")
|
|
|
|
for item in itemGroups.lockedItems.models
|
|
|
|
img.item(src=item.getPortraitURL(), class=item.classes, data-item-id=item.id)
|
|
|
|
.clearfix
|
2014-11-06 19:23:23 -05:00
|
|
|
|
2014-11-10 18:24:05 -05:00
|
|
|
#item-details-view
|
|
|
|
#item-details-extra
|
|
|
|
button#equip-item-viewed.btn.secret(data-i18n="inventory.equip")
|
|
|
|
button#unequip-item-viewed.btn.secret(data-i18n="inventory.unequip")
|
|
|
|
.alert.alert-danger#restricted-item-viewed.secret(data-i18n="inventory.restricted")
|
|
|
|
|
|
|
|
button#choose-hero-button.btn.btn-lg.btn-primary.choose-inventory-active(data-i18n="play.change_hero") Change Hero
|
|
|
|
button#play-level-button.btn.btn-lg.btn-success.choose-inventory-active(data-i18n="common.play") Play
|