25 lines
943 B
HTML
25 lines
943 B
HTML
<template name="hitDice">
|
|
{{#if ../attributeBase name}}
|
|
<paper-shadow class="card container" hero-id="main" {{detailHero name ../_id}} layout horizontal>
|
|
<div class="containerLeft green" layout horizontal hero-id="toolbar" {{detailHero name ../_id}}>
|
|
<div class="resourceButtons">
|
|
<paper-icon-button class="resourceUp" icon="arrow-drop-up" disabled={{cantIncrement}}></paper-icon-button>
|
|
<paper-icon-button class="resourceDown" icon="arrow-drop-down" disabled={{cantDecrement}}></paper-icon-button>
|
|
</div>
|
|
<div class="resourceValue" layout vertical center>
|
|
<div>
|
|
{{../attributeValue name}}
|
|
</div>
|
|
<div class="title white-text">
|
|
d{{diceNum}} {{../abilityMod "constitution"}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="containerRight clickable" flex relative horizontal layout center>
|
|
Hit Dice
|
|
<paper-ripple fit></paper-ripple>
|
|
</div>
|
|
</paper-shadow>
|
|
{{/if}}
|
|
</template>
|