105 lines
4.3 KiB
HTML
105 lines
4.3 KiB
HTML
<template name="stats">
|
|
<div class="stats animation-slider">
|
|
<div style="padding: 8px 8px 0 8px">
|
|
{{> healthCard}}
|
|
</div>
|
|
<div class="column-container thin-columns" >
|
|
<!--Ability Scores-->
|
|
{{> abilityMiniCard ability="strength" title="Strength" color="red"}}
|
|
{{> abilityMiniCard ability="dexterity" title="Dexterity" color="indigo"}}
|
|
{{> abilityMiniCard ability="constitution" title="Constitution" color="green"}}
|
|
{{> abilityMiniCard ability="intelligence" title="Intelligence" color="deep-orange"}}
|
|
{{> abilityMiniCard ability="wisdom" title="Wisdom" color="purple"}}
|
|
{{> abilityMiniCard ability="charisma" title="Charisma" color="pink"}}
|
|
|
|
<!--Armor-->
|
|
{{> statCard stat="armor" name="Armor Class" color="teal"}}
|
|
<!--Speed-->
|
|
{{> statCard stat="speed" name="Speed" color="teal"}}
|
|
<!--Initiative-->
|
|
{{> statCard stat="initiative" name="Initiative" color="indigo" isSkill="true"}}
|
|
<!--Proficiency Bonus-->
|
|
{{> statCard stat="proficiencyBonus" name="Proficiency Bonus" color="blue" prefix="+"}}
|
|
|
|
<!--Hit Dice-->
|
|
{{>hitDice name="d6HitDice" diceNum="6" char=this}}
|
|
{{>hitDice name="d8HitDice" diceNum="8" char=this}}
|
|
{{>hitDice name="d10HitDice" diceNum="10" char=this}}
|
|
{{>hitDice name="d12HitDice" diceNum="12" char=this}}
|
|
<!--Saving Throws-->
|
|
<div>
|
|
<paper-material class="card">
|
|
<div class="top white paper-font-subhead">
|
|
Saving Throws
|
|
</div>
|
|
<div flex class="bottom list">
|
|
{{> skillRow name="Strength" skill="strengthSave"}}
|
|
{{> skillRow name="Dexterity" skill="dexteritySave"}}
|
|
{{> skillRow name="Constitution" skill="constitutionSave"}}
|
|
{{> skillRow name="Intelligence" skill="intelligenceSave"}}
|
|
{{> skillRow name="Wisdom" skill="wisdomSave"}}
|
|
{{> skillRow name="Charisma" skill="charismaSave"}}
|
|
</div>
|
|
</paper-material>
|
|
</div>
|
|
<!--Condtions-->
|
|
<div>
|
|
<paper-material class="card">
|
|
<div class="top white subhead layout horizontal center">
|
|
<div class="flex">Conditions</div>
|
|
{{#if canEditCharacter _id}}
|
|
<paper-icon-button class="black54" id="addCondition" icon="add"></paper-icon-button>
|
|
{{/if}}
|
|
</div>
|
|
<div flex class="bottom list">
|
|
<div class="conditionsList">
|
|
{{#each condition in conditions}}
|
|
{{>buffListItem buff=condition}}
|
|
{{/each}}
|
|
</div>
|
|
{{#if totalBuffs.count}}
|
|
<div class="layout horizontal">
|
|
<div class="paper-font-subhead flex">Buffs</div>
|
|
<paper-button class="viewAllBuffsButton"> View All </paper-button>
|
|
</div>
|
|
{{/if}}
|
|
<div class="buffsList">
|
|
{{#each buff in buffs}}
|
|
{{>buffListItem buff=buff}}
|
|
{{/each}}
|
|
</div>
|
|
</div>
|
|
</paper-material>
|
|
</div>
|
|
<!--Skills-->
|
|
<div>
|
|
<paper-material class="card">
|
|
<div class="top white paper-font-subhead">
|
|
Skills
|
|
</div>
|
|
<div flex class="bottom list">
|
|
{{> skillRow name="Acrobatics" skill="acrobatics" showPassive="ifNeeded"}}
|
|
{{> skillRow name="Animal Handling" skill="animalHandling" showPassive="ifNeeded"}}
|
|
{{> skillRow name="Arcana" skill="arcana" showPassive="ifNeeded"}}
|
|
{{> skillRow name="Athletics" skill="athletics" showPassive="ifNeeded"}}
|
|
{{> skillRow name="Deception" skill="deception" showPassive="ifNeeded"}}
|
|
{{> skillRow name="History" skill="history" showPassive="ifNeeded"}}
|
|
{{> skillRow name="Insight" skill="insight" showPassive="ifNeeded"}}
|
|
{{> skillRow name="Intimidation" skill="intimidation" showPassive="ifNeeded"}}
|
|
{{> skillRow name="Investigation" skill="investigation" showPassive="ifNeeded"}}
|
|
{{> skillRow name="Medicine" skill="medicine" showPassive="ifNeeded"}}
|
|
{{> skillRow name="Nature" skill="nature" showPassive="ifNeeded"}}
|
|
{{> skillRow name="Perception" skill="perception" showPassive="forced"}}
|
|
{{> skillRow name="Performance" skill="performance" showPassive="ifNeeded"}}
|
|
{{> skillRow name="Persuasion" skill="persuasion" showPassive="ifNeeded"}}
|
|
{{> skillRow name="Religion" skill="religion" showPassive="ifNeeded"}}
|
|
{{> skillRow name="Sleight of Hand" skill="sleightOfHand" showPassive="ifNeeded"}}
|
|
{{> skillRow name="Stealth" skill="stealth" showPassive="ifNeeded"}}
|
|
{{> skillRow name="Survival" skill="survival" showPassive="ifNeeded"}}
|
|
</div>
|
|
</paper-material>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|