34 lines
971 B
HTML
34 lines
971 B
HTML
<template name="hitDice">
|
|
{{#if ../attributeBase name}}
|
|
<paper-shadow class="card hit-dice" hero-id="main"
|
|
{{detailHero name ../_id}}
|
|
layout horizontal>
|
|
<div class="left green display1 white-text"
|
|
hero-id="toolbar" {{detailHero name ../_id}}
|
|
layout horizontal>
|
|
<div>
|
|
<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="right clickable" flex relative horizontal layout center>
|
|
Hit Dice
|
|
</div>
|
|
</paper-shadow>
|
|
{{/if}}
|
|
</template>
|