Gesina Schwalbe
c9b41e2d3f
More precise names for: - item overview list template for actor sheet - inline templates in item overview list template
251 lines
No EOL
18 KiB
Handlebars
251 lines
No EOL
18 KiB
Handlebars
<form class="{{cssClass}} flexcol" autocomplete="off">
|
|
{{!-- Sheet Header --}}
|
|
<header class="sheet-header">
|
|
<img class="profile-img" src="{{actor.img}}" data-edit="img" title="{{actor.name}}" height="100" width="100" />
|
|
<div class="header-fields">
|
|
<h1 class="charname"><input name="name" type="text" value="{{actor.name}}" placeholder="Name" /></h1>
|
|
</div>
|
|
<div class="character-values">
|
|
{{!-- The grid classes are defined in scss/global/_grid.scss. To use, use both the "grid" and "grid-Ncol"
|
|
class where "N" can be any number from 1 to 12 and will create that number of columns. --}}
|
|
<div class="base-infos grid grid-3col">
|
|
{{!-- "flex-group-center" is also defined in the _grid.scss file and it will add a small amount of
|
|
padding, a border, and will center all of its child elements content and text. --}}
|
|
<div class="base-info flex-group-center">
|
|
<label for="data.baseInfo.race" class="base-info-label">{{config.baseInfo.race}}</label>
|
|
<div class="base-info-content flexrow flex-center flex-between">
|
|
<input type="text" name="data.baseInfo.race" value="{{data.baseInfo.race}}"
|
|
data-dtype="String" />
|
|
</div>
|
|
</div>
|
|
<div class="base-info flex-group-center">
|
|
<div class="grid grid-3col">
|
|
<div class="base-info flex-group-center">
|
|
<label for="data.progression.level"
|
|
class="base-info-label">{{config.progression.level}}</label>
|
|
<div class="base-info-content flexrow flex-center flex-between">
|
|
<input type="text" name="data.progression.level" value="{{data.progression.level}}"
|
|
data-dtype="Number" />
|
|
</div>
|
|
</div>
|
|
<div class="base-info flex-group-center">
|
|
<label for="data.progression.progressPoints"
|
|
class="base-info-label">{{config.progression.progressPoints}}</label>
|
|
<div class="base-info-content flexrow flex-center flex-between">
|
|
<input type="text" name="data.progression.progressPoints.used"
|
|
value="{{data.progression.progressPoints.used}}" data-dtype="Number" /><span> /
|
|
</span><input type="text" name="data.progression.progressPoints.total"
|
|
value="{{data.progression.progressPoints.total}}" data-dtype="Number" />
|
|
</div>
|
|
</div>
|
|
<div class="base-info flex-group-center">
|
|
<label for="data.progression.talentPoints"
|
|
class="base-info-label">{{config.progression.talentPoints}}</label>
|
|
<div class="base-info-content flexrow flex-center flex-between">
|
|
<input type="text" name="data.progression.talentPoints.used"
|
|
value="{{data.progression.talentPoints.used}}" data-dtype="Number" /><span> /
|
|
</span><input type="text" name="data.progression.talentPoints.total"
|
|
value="{{data.progression.talentPoints.total}}" data-dtype="Number" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="base-info flex-group-center">
|
|
<label for="data.baseInfo.class" class="base-info-label">{{config.baseInfo.class}}</label>
|
|
<div class="base-info-content flexrow flex-center flex-between">
|
|
<input type="text" name="data.baseInfo.class" value="{{data.baseInfo.class}}"
|
|
data-dtype="String" />
|
|
</div>
|
|
</div>
|
|
<div class="base-info flex-group-center">
|
|
<label for="data.baseInfo.racialAbilities"
|
|
class="base-info-label">{{config.baseInfo.racialAbilities}}</label>
|
|
<div class="base-info-content flexrow flex-center flex-between">
|
|
<input type="text" name="data.baseInfo.racialAbilities"
|
|
value="{{data.baseInfo.racialAbilities}}" data-dtype="String" />
|
|
</div>
|
|
</div>
|
|
<div class="base-info flex-group-center">
|
|
<label for="data.progression.experiencePoints"
|
|
class="base-info-label">{{config.progression.experiencePoints}}</label>
|
|
<div class="base-info-content flexrow flex-center flex-between">
|
|
<input type="text" name="data.progression.experiencePoints"
|
|
value="{{data.progression.experiencePoints}}" data-dtype="Number" />
|
|
</div>
|
|
</div>
|
|
<div class="base-info flex-group-center">
|
|
<label for="data.baseInfo.heroClass" class="base-info-label">{{config.baseInfo.heroClass}}</label>
|
|
<div class="base-info-content flexrow flex-center flex-between">
|
|
<input type="text" name="data.baseInfo.heroClass" value="{{data.baseInfo.heroClass}}"
|
|
data-dtype="String" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="attributes-traits grid grid-3col">
|
|
<div class="attribute flexrow"><label for="data.attributes.body.total"
|
|
class="attribute-label ">{{config.attributes.body}}</label>
|
|
<div class="attribute-value flex15 grid grid-8col"><input type="number"
|
|
name="data.attributes.body.base" value='{{data.attributes.body.base}}'
|
|
data-dtype="Number" /><span> +
|
|
</span><input type="number" name="data.attributes.body.mod" value='{{data.attributes.body.mod}}'
|
|
data-dtype="Number" /><span> =
|
|
</span><span class="attribute-value-total">{{data.attributes.body.total}}</span></div>
|
|
</div>
|
|
<div class="attribute flexrow"><label for="data.attributes.mobility.total"
|
|
class="attribute-label">{{config.attributes.mobility}}</label>
|
|
<div class="attribute-value flex15 grid grid-8col"><input type="number"
|
|
name="data.attributes.mobility.base" value='{{data.attributes.mobility.base}}'
|
|
data-dtype="Number" /><span> +
|
|
</span><input type="number" name="data.attributes.mobility.mod"
|
|
value='{{data.attributes.mobility.mod}}' data-dtype="Number" /><span> =
|
|
</span><span class="attribute-value-total">{{data.attributes.mobility.total}}</span></div>
|
|
</div>
|
|
<div class="attribute flexrow"><label for="data.attributes.mind.total"
|
|
class="attribute-label">{{config.attributes.mind}}</label>
|
|
<div class="attribute-value flex15 grid grid-8col"><input type="number"
|
|
name="data.attributes.mind.base" value='{{data.attributes.mind.base}}'
|
|
data-dtype="Number" /><span> +
|
|
</span><input type="number" name="data.attributes.mind.mod" value='{{data.attributes.mind.mod}}'
|
|
data-dtype="Number" /><span> =
|
|
</span><span class="attribute-value-total">{{data.attributes.mind.total}}</span></div>
|
|
</div>
|
|
<div class="trait flexrow"><label for="data.traits.strength.total"
|
|
class="trait-label">{{config.traits.strength}}</label>
|
|
<div class="trait-value flex15 grid grid-8col"><input type="number" name="data.traits.strength.base"
|
|
value='{{data.traits.strength.base}}' data-dtype="Number" /><span> +
|
|
</span><input type="number" name="data.traits.strength.mod" value='{{data.traits.strength.mod}}'
|
|
data-dtype="Number" /><span> =
|
|
</span><span class="trait-value-total">{{data.traits.strength.total}}</span></div>
|
|
</div>
|
|
<div class="trait flexrow"><label for="data.traits.agility.total"
|
|
class="trait-label">{{config.traits.agility}}</label>
|
|
<div class="trait-value flex15 grid grid-8col"><input type="number" name="data.traits.agility.base"
|
|
value='{{data.traits.agility.base}}' data-dtype="Number" /><span> +
|
|
</span><input type="number" name="data.traits.agility.mod" value='{{data.traits.agility.mod}}'
|
|
data-dtype="Number" /><span> =
|
|
</span><span class="trait-value-total">{{data.traits.agility.total}}</span></div>
|
|
</div>
|
|
<div class="trait flexrow"><label for="data.traits.intellect.total"
|
|
class="trait-label">{{config.traits.intellect}}</label>
|
|
<div class="trait-value flex15 grid grid-8col"><input type="number"
|
|
name="data.traits.intellect.base" value='{{data.traits.intellect.base}}'
|
|
data-dtype="Number" /><span> +
|
|
</span><input type="number" name="data.traits.intellect.mod"
|
|
value='{{data.traits.intellect.mod}}' data-dtype="Number" /><span> =
|
|
</span><span class="trait-value-total">{{data.traits.intellect.total}}</span></div>
|
|
</div>
|
|
<div class="trait flexrow"><label for="data.traits.constitution.total"
|
|
class="trait-label">{{config.traits.constitution}}</label>
|
|
<div class="trait-value flex15 grid grid-8col"><input type="number"
|
|
name="data.traits.constitution.base" value='{{data.traits.constitution.base}}'
|
|
data-dtype="Number" /><span> +
|
|
</span><input type="number" name="data.traits.constitution.mod"
|
|
value='{{data.traits.constitution.mod}}' data-dtype="Number" /><span> =
|
|
</span><span class="trait-value-total">{{data.traits.constitution.total}}</span></div>
|
|
</div>
|
|
<div class="trait flexrow"><label for="data.traits.dexterity.total"
|
|
class="trait-label">{{config.traits.dexterity}}</label>
|
|
<div class="trait-value flex15 grid grid-8col"><input type="number"
|
|
name="data.traits.dexterity.base" value='{{data.traits.dexterity.base}}'
|
|
data-dtype="Number" /><span> +
|
|
</span><input type="number" name="data.traits.dexterity.mod"
|
|
value='{{data.traits.dexterity.mod}}' data-dtype="Number" /><span> =
|
|
</span><span class="trait-value-total">{{data.traits.dexterity.total}}</span></div>
|
|
</div>
|
|
<div class="trait flexrow"><label for="data.traits.aura.total"
|
|
class="trait-label">{{config.traits.aura}}</label>
|
|
<div class="trait-value flex15 grid grid-8col"><input type="number" name="data.traits.aura.base"
|
|
value='{{data.traits.aura.base}}' data-dtype="Number" /><span> +
|
|
</span><input type="number" name="data.traits.aura.mod" value='{{data.traits.aura.mod}}'
|
|
data-dtype="Number" /><span> =
|
|
</span><span class="trait-value-total">{{data.traits.aura.total}}</span></div>
|
|
</div>
|
|
</div>
|
|
<div class="combat-values flexrow flex-between">
|
|
<div class="combat-value-with-formula">
|
|
<div class="combat-value hitPoints"><span
|
|
class="combat-value-value-total">{{data.combatValues.hitPoints.total}}</span></div>
|
|
<div class="combat-value-formula flexrow"><input type="number"
|
|
name="data.combatValues.hitPoints.base" value='{{data.combatValues.hitPoints.base}}'
|
|
data-dtype="Number" /><input type="number" name="data.combatValues.hitPoints.mod"
|
|
value='{{data.combatValues.hitPoints.mod}}' data-dtype="Number" /></div>
|
|
</div>
|
|
<div class="combat-value-with-formula">
|
|
<div class="combat-value defense"><span
|
|
class="combat-value-value-total">{{data.combatValues.defense.total}}</span></div>
|
|
<div class="combat-value-formula flexrow"><input type="number" name="data.combatValues.defense.base"
|
|
value='{{data.combatValues.defense.base}}' data-dtype="Number" /><input type="number"
|
|
name="data.combatValues.defense.mod" value='{{data.combatValues.defense.mod}}'
|
|
data-dtype="Number" /></div>
|
|
</div>
|
|
<div class="combat-value-with-formula">
|
|
<div class="combat-value initiative"><span
|
|
class="combat-value-value-total">{{data.combatValues.initiative.total}}</span></div>
|
|
<div class="combat-value-formula flexrow"><input type="number"
|
|
name="data.combatValues.initiative.base" value='{{data.combatValues.initiative.base}}'
|
|
data-dtype="Number" /><input type="number" name="data.combatValues.initiative.mod"
|
|
value='{{data.combatValues.initiative.mod}}' data-dtype="Number" /></div>
|
|
</div>
|
|
<div class="combat-value-with-formula">
|
|
<div class="combat-value movement"><span
|
|
class="combat-value-value-total">{{data.combatValues.movement.total}}</span></div>
|
|
<div class="combat-value-formula flexrow"><input type="number"
|
|
name="data.combatValues.movement.base" value='{{data.combatValues.movement.base}}'
|
|
data-dtype="Number" /><input type="number" name="data.combatValues.movement.mod"
|
|
value='{{data.combatValues.movement.mod}}' data-dtype="Number" /></div>
|
|
</div>
|
|
<div class="combat-value-with-formula">
|
|
<div class="combat-value meleeAttack"><span
|
|
class="combat-value-value-total">{{data.combatValues.meleeAttack.total}}</span></div>
|
|
<div class="combat-value-formula flexrow"><input type="number"
|
|
name="data.combatValues.meleeAttack.base" value='{{data.combatValues.meleeAttack.base}}'
|
|
data-dtype="Number" /><input type="number" name="data.combatValues.meleeAttack.mod"
|
|
value='{{data.combatValues.meleeAttack.mod}}' data-dtype="Number" /></div>
|
|
</div>
|
|
<div class="combat-value-with-formula">
|
|
<div class="combat-value rangedAttack"><span
|
|
class="combat-value-value-total">{{data.combatValues.rangedAttack.total}}</span></div>
|
|
<div class="combat-value-formula flexrow"><input type="number"
|
|
name="data.combatValues.rangedAttack.base" value='{{data.combatValues.rangedAttack.base}}'
|
|
data-dtype="Number" /><input type="number" name="data.combatValues.rangedAttack.mod"
|
|
value='{{data.combatValues.rangedAttack.mod}}' data-dtype="Number" /></div>
|
|
</div>
|
|
<div class="combat-value-with-formula">
|
|
<div class="combat-value spellcasting"><span
|
|
class="combat-value-value-total">{{data.combatValues.spellcasting.total}}</span></div>
|
|
<div class="combat-value-formula flexrow"><input type="number"
|
|
name="data.combatValues.spellcasting.base" value='{{data.combatValues.spellcasting.base}}'
|
|
data-dtype="Number" /><input type="number" name="data.combatValues.spellcasting.mod"
|
|
value='{{data.combatValues.spellcasting.mod}}' data-dtype="Number" /></div>
|
|
</div>
|
|
<div class="combat-value-with-formula">
|
|
<div class="combat-value targetedSpellcasting"><span
|
|
class="combat-value-value-total">{{data.combatValues.targetedSpellcasting.total}}</span>
|
|
</div>
|
|
<div class="combat-value-formula flexrow"><input type="number"
|
|
name="data.combatValues.targetedSpellcasting.base"
|
|
value='{{data.combatValues.targetedSpellcasting.base}}' data-dtype="Number" /><input
|
|
type="number" name="data.combatValues.targetedSpellcasting.mod"
|
|
value='{{data.combatValues.targetedSpellcasting.mod}}' data-dtype="Number" /></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
{{!-- Sheet Tab Navigation --}}
|
|
<nav class="sheet-tabs tabs" data-group="primary">
|
|
<a class="item" data-tab="description">Description</a>
|
|
<a class="item" data-tab="items">Items</a>
|
|
</nav>
|
|
|
|
{{!-- Sheet Body --}}
|
|
<section class="sheet-body">
|
|
{{!-- Biography Tab --}}
|
|
<div class="tab biography" data-group="primary" data-tab="description">
|
|
{{editor content=data.biography target="data.biography" button=true owner=owner editable=editable}}
|
|
</div>
|
|
|
|
{{!-- Items Tab --}}
|
|
{{> systems/ds4/templates/actor/partials/items-overview.hbs}}
|
|
</section>
|
|
</form> |