This repository has been archived on 2024-05-29. You can view files and clone it, but cannot push or open issues or pull requests.
fvtt-warhero/templates/actor-sheet.html

679 lines
30 KiB
HTML
Raw Normal View History

2023-01-04 21:24:56 +01:00
<form class="{{cssClass}}" autocomplete="off">
{{!-- Sheet Header --}}
<header class="sheet-header">
<div class="header-fields">
<h1 class="charname margin-right"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
<div class="flexrow">
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
<div class="flexcol">
<div class="flexrow">
<div class="ability-item">
<ul>
2023-01-29 16:56:09 +01:00
{{#each system.statistics as |stat key|}}
2023-02-06 07:37:39 +01:00
{{> systems/fvtt-warhero/templates/partial-actor-stat-block.html stat=stat key=key path="statistics" fieldClass="item-field-label-medium"}}
2023-01-04 21:24:56 +01:00
{{/each}}
2023-01-29 16:56:09 +01:00
</ul>
2023-01-04 21:24:56 +01:00
</div>
<div class="ability-item">
<ul>
2023-02-06 07:37:39 +01:00
<li class="item flexrow list-item " data-item-id="{{race._id}}">
2023-02-14 15:45:59 +01:00
<label class="item-field-label-medium">{{localize "WH.ui.race"}}</label>
2023-03-26 08:57:44 +02:00
{{#if race}}
2023-02-06 07:37:39 +01:00
<a class="item-edit"><img class="sheet-competence-img" src="{{race.img}}"></a>
<input type="text" class="item-field-label-medium" disabled value="{{race.name}}" data-dtype="String" />
2023-02-07 15:18:00 +01:00
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
2023-03-26 08:57:44 +02:00
{{else}}
<a class="item-edit"><img class="sheet-competence-img" src="icons/svg/mystery-man.svg"></a>
{{/if}}
2023-02-06 07:37:39 +01:00
</li>
2023-03-24 13:29:19 +01:00
<li class="item flexrow list-item " data-item-id="{{mainClass._id}}">
2023-03-20 21:01:00 +01:00
<label class="item-field-label-medium">{{localize "WH.ui.class"}}</label>
2023-03-24 13:29:19 +01:00
{{#if mainClass}}
<a class="item-edit"><img class="sheet-competence-img" src="{{mainClass.img}}"></a>
<input type="text" class="item-field-label-medium" disabled value="{{mainClass.name}}" data-dtype="String" />
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
{{else}}
<a class="item-edit"><img class="sheet-competence-img" src="icons/svg/mystery-man.svg"></a>
{{/if}}
</li>
<li class="item flexrow list-item " data-item-id="{{secondaryClass._id}}">
<label class="item-field-label-medium">{{localize "WH.ui.secondaryclass"}}</label>
{{#if secondaryClass}}
<a class="item-edit"><img class="sheet-competence-img" src="{{secondaryClass.img}}"></a>
<input type="text" class="item-field-label-medium" disabled value="{{secondaryClass.name}}" data-dtype="String" />
2023-03-20 21:01:00 +01:00
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
2023-03-24 13:29:19 +01:00
{{else}}
<a class="item-edit"><img class="sheet-competence-img" src="icons/svg/mystery-man.svg"></a>
{{/if}}
2023-03-20 21:01:00 +01:00
</li>
2023-02-06 07:37:39 +01:00
<li class="item flexrow list-item" >
2023-02-14 15:45:59 +01:00
<label class="item-field-label-medium">{{localize "WH.ui.religion"}}</label>
2023-02-06 07:37:39 +01:00
<input type="text" class="item-field-label-medium" name="system.biodata.religion" value="{{system.biodata.religion}}" data-dtype="String" />
2023-03-24 13:29:19 +01:00
&nbsp;&nbsp;
<label class="item-field-label-short">{{localize "WH.ui.size"}}</label>
<select class="item-field-label-short" type="text" name="system.biodata.size" value="{{system.biodata.size}}" data-dtype="Number">
{{#select system.biodata.size}}
<option value="small">Small</option>
<option value="medium">Medium</option>
<option value="large">Large</option>
{{/select}}
</select>
2023-02-06 07:37:39 +01:00
</li>
2023-01-04 21:24:56 +01:00
</ul>
2023-02-07 15:18:00 +01:00
</div>
</div>
<div class="flexrow">
{{#each system.attributes as |attr key|}}
{{#if attr.isheader}}
<div class="flexrow">
{{> systems/fvtt-warhero/templates/partial-actor-stat-block.html stat=attr key=key path="attributes" fieldClass="item-field-label-medium"}}
</div>
{{/if}}
{{/each}}
</ul>
</div>
2023-01-04 21:24:56 +01:00
</div>
2023-01-29 16:56:09 +01:00
2023-01-04 21:24:56 +01:00
</div>
</div>
2023-01-29 16:56:09 +01:00
2023-01-04 21:24:56 +01:00
</div>
</header>
{{!-- Sheet Tab Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary">
2023-02-14 13:46:59 +01:00
<a class="item" data-tab="main">{{localize "WH.ui.main"}}</a>
<a class="item" data-tab="combat">{{localize "WH.ui.combat"}}</a>
<a class="item" data-tab="skill">{{localize "WH.ui.skillstab"}}</a>
<a class="item" data-tab="power">{{localize "WH.ui.powers"}}</a>
<a class="item" data-tab="equipment">{{localize "WH.ui.equipment"}}</a>
<a class="item" data-tab="biodata">{{localize "WH.ui.biography"}}</a>
2023-01-04 21:24:56 +01:00
</nav>
{{!-- Sheet Body --}}
<section class="sheet-body">
2023-02-27 22:04:03 +01:00
{{!-- Main Tab --}}
2023-01-29 16:56:09 +01:00
<div class="tab main" data-group="primary" data-tab="main">
2023-02-06 07:37:39 +01:00
<div class="flexrow">
2023-01-29 16:56:09 +01:00
2023-02-06 07:37:39 +01:00
<div class="ability-item">
<ul>
{{#each system.attributes as |attr key|}}
2023-03-20 21:01:00 +01:00
{{#if (not attr.iscombat)}}
2023-02-07 15:18:00 +01:00
{{#if (not attr.isheader)}}
{{> systems/fvtt-warhero/templates/partial-actor-stat-block.html stat=attr key=key path="attributes" fieldClass="item-field-label-vlong"}}
{{/if}}
2023-03-20 21:01:00 +01:00
{{/if}}
2023-02-06 07:37:39 +01:00
{{/each}}
</ul>
2023-02-07 15:18:00 +01:00
2023-02-06 07:37:39 +01:00
</div>
<div class="ability-item">
<ul>
<li class="item flexrow list-item item-stat-roll" data-attr-key="{{key}}">
<span class="item-field-label-vlong" name="{{key}}">
<h4 class="item-field-label-vlong">
{{localize "WH.ui.xphp"}}
</h4>
</span>
<span class="item-field-label-long" >{{hpprogression}}</span>
</li>
2023-02-07 15:18:00 +01:00
{{#each system.secondary as |second key|}}
2023-03-20 21:01:00 +01:00
{{#if (not second.iscombat)}}
{{> systems/fvtt-warhero/templates/partial-actor-stat-block.html stat=second key=key path="secondary" fieldClass="item-field-label-vlong"}}
{{/if}}
2023-02-07 15:18:00 +01:00
{{/each}}
2023-02-06 07:37:39 +01:00
</ul>
2023-02-07 15:18:00 +01:00
<div>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
<h3><label class="items-title-text">{{localize "WH.ui.languages"}}</label></h3>
</span>
</li>
{{#each languages as |language key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{language._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{language.img}}" /></a>
<span class="item-name-label-long">{{language.name}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
2023-02-06 07:37:39 +01:00
</div>
2023-01-29 16:56:09 +01:00
</div>
2023-01-04 21:24:56 +01:00
</div>
{{!-- Combat Tab --}}
<div class="tab combat" data-group="primary" data-tab="combat">
2023-03-20 21:01:00 +01:00
2023-01-04 21:24:56 +01:00
<div class="flexcol">
2023-03-20 21:01:00 +01:00
<div class="grid grid2col">
<ul class="stat-list alternate-list">
{{#with system.attributes.def as |stat|}}
{{> systems/fvtt-warhero/templates/partial-actor-stat-block.html stat=stat key="def" path="attributes" fieldClass="item-field-label-vlong"}}
{{/with}}
{{#with system.attributes.ini as |stat|}}
{{> systems/fvtt-warhero/templates/partial-actor-stat-block.html stat=stat key="ini" path="attributes" fieldClass="item-field-label-vlong"}}
{{/with}}
2023-03-24 13:29:19 +01:00
{{#with system.secondary.meleedamagebonus as |stat|}}
{{> systems/fvtt-warhero/templates/partial-actor-stat-block.html stat=stat key="meleedamagebonus" path="secondary" fieldClass="item-field-label-vlong"}}
{{/with}}
2023-03-20 21:01:00 +01:00
</ul>
<ul class="stat-list alternate-list">
{{#with system.attributes.txcm as |stat|}}
{{> systems/fvtt-warhero/templates/partial-actor-stat-block.html stat=stat key="txcm" path="attributes" fieldClass="item-field-label-vlong"}}
{{/with}}
{{#with system.attributes.txcr as |stat|}}
{{> systems/fvtt-warhero/templates/partial-actor-stat-block.html stat=stat key="txch" path="attributes" fieldClass="item-field-label-vlong"}}
{{/with}}
2023-03-24 13:29:19 +01:00
{{#with system.secondary.rangeddamagebonus as |stat|}}
{{> systems/fvtt-warhero/templates/partial-actor-stat-block.html stat=stat key="rangeddamagebonus" path="secondary" fieldClass="item-field-label-vlong"}}
{{/with}}
2023-03-20 21:01:00 +01:00
</ul>
</div>
2023-01-04 21:24:56 +01:00
<div>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
2023-02-14 13:46:59 +01:00
<h3><label class="items-title-text">{{localize "WH.ui.weapons"}}</label></h3>
2023-01-04 21:24:56 +01:00
</span>
2023-01-29 18:32:30 +01:00
<span class="item-field-label-medium">
2023-01-29 16:56:09 +01:00
<label class="short-label">{{localize "WH.ui.Type"}}</label>
2023-01-04 21:24:56 +01:00
</span>
<span class="item-field-label-medium">
2023-01-29 16:56:09 +01:00
<label class="short-label">{{localize "WH.ui.Damage"}}</label>
2023-01-04 21:24:56 +01:00
</span>
</li>
2023-03-20 21:01:00 +01:00
{{#each equippedWeapons as |weapon key|}}
2023-01-04 21:24:56 +01:00
<li class="item flexrow list-item list-item-shadow" data-item-id="{{weapon._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{weapon.img}}" /></a>
2023-01-29 18:32:30 +01:00
<span class="item-name-label-long"><a class="roll-weapon"><i class="fa-solid fa-dice-d20"></i>{{weapon.name}}</a></span>
2023-01-04 21:24:56 +01:00
2023-02-20 10:16:17 +01:00
<span class="item-field-label-medium">{{localize (concat "WH.conf." weapon.system.weapontype)}}</span>
2023-02-08 21:19:53 +01:00
{{#if (eq system.weapontype "special")}}
<span class="item-field-label-medium"><a class="roll-damage"><i class="fa-solid fa-dice-d20"></i>{{weapon.system.damageformula}}</a></span>
{{else}}
2023-01-29 18:32:30 +01:00
<span class="item-field-label-medium"><a class="roll-damage"><i class="fa-solid fa-dice-d20"></i>{{weapon.damageFormula}}</a></span>
2023-02-08 21:19:53 +01:00
{{/if}}
{{#if (eq system.weapontype "polearm")}}
<span class="item-field-label-medium"><a class="roll-damage-2hands"><i class="fa-solid fa-dice-d20"></i>{{weapon.damageFormula2Hands}}</a></span>
{{/if}}
2023-01-04 21:24:56 +01:00
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
2023-03-20 21:01:00 +01:00
<div class="grid grid2col">
<ul class="stat-list alternate-list">
{{#with system.secondary.parrybonus as |stat|}}
{{> systems/fvtt-warhero/templates/partial-actor-stat-block.html stat=stat key="parrybonus" path="secondary" fieldClass="item-field-label-vlong"}}
{{/with}}
</ul>
<ul class="stat-list alternate-list">
{{#with system.secondary.parrybonustotal as |stat|}}
{{> systems/fvtt-warhero/templates/partial-actor-stat-block.html stat=stat key="parrybonustotal" path="secondary" fieldClass="item-field-label-vlong"}}
{{/with}}
</ul>
</div>
2023-01-04 21:24:56 +01:00
<div>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
2023-02-14 13:46:59 +01:00
<h3><label class="items-title-text">{{localize "WH.ui.shields"}}</label></h3>
2023-01-04 21:24:56 +01:00
</span>
2023-01-29 16:56:09 +01:00
<span class="item-field-label-short">
<label class="short-label">{{localize "WH.ui.Type"}}</label>
2023-01-04 21:24:56 +01:00
</span>
<span class="item-field-label-medium">
2023-01-29 16:56:09 +01:00
<label class="short-label">{{localize "WH.ui.parrybonus"}}</label>
2023-01-04 21:24:56 +01:00
</span>
</li>
2023-03-20 21:01:00 +01:00
{{#each equippedShields as |shield key|}}
2023-01-29 16:56:09 +01:00
<li class="item flexrow list-item list-item-shadow" data-item-id="{{shield._id}}">
2023-01-04 21:24:56 +01:00
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
2023-01-29 16:56:09 +01:00
src="{{shield.img}}" /></a>
2023-01-29 18:32:30 +01:00
<span class="item-name-label-long">{{shield.name}}</span>
2023-01-04 21:24:56 +01:00
2023-01-29 16:56:09 +01:00
<span class="item-field-label-short">{{shield.system.shieldtype}}</span>
<span class="item-field-label-medium">{{shield.system.parrybonus}}</span>
2023-01-04 21:24:56 +01:00
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
2023-03-20 21:01:00 +01:00
<div class="grid grid2col">
<ul class="stat-list alternate-list">
{{#with system.secondary.drbonus as |stat|}}
{{> systems/fvtt-warhero/templates/partial-actor-stat-block.html stat=stat key="drbonus" path="secondary" fieldClass="item-field-label-vlong"}}
{{/with}}
</ul>
<ul class="stat-list alternate-list">
{{#with system.secondary.drbonustotal as |stat|}}
{{> systems/fvtt-warhero/templates/partial-actor-stat-block.html stat=stat key="drbonustotal" path="secondary" fieldClass="item-field-label-vlong"}}
{{/with}}
</ul>
</div>
2023-01-04 21:24:56 +01:00
<div>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
2023-02-14 13:46:59 +01:00
<h3><label class="items-title-text">{{localize "WH.ui.armors"}}</label></h3>
2023-01-29 16:56:09 +01:00
</span>
<span class="item-field-label-short">
<label class="short-label">{{localize "WH.ui.Type"}}</label>
</span>
<span class="item-field-label-medium">
<label class="short-label">{{localize "WH.ui.damagereduction"}}</label>
2023-01-04 21:24:56 +01:00
</span>
</li>
2023-03-20 21:01:00 +01:00
{{#each equippedArmors as |armor key|}}
2023-01-29 16:56:09 +01:00
<li class="item flexrow list-item list-item-shadow" data-item-id="{{armor._id}}">
2023-01-04 21:24:56 +01:00
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
2023-01-29 16:56:09 +01:00
src="{{armor.img}}" /></a>
2023-01-29 18:32:30 +01:00
<span class="item-name-label-long">{{armor.name}}</span>
2023-01-29 16:56:09 +01:00
<span class="item-field-label-short">{{armor.system.armortype}}</span>
<span class="item-field-label-medium">{{armor.system.damagereduction}}</span>
2023-01-04 21:24:56 +01:00
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
2023-03-20 21:01:00 +01:00
<div>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
<h3><label class="items-title-text">{{localize "WH.ui.competency"}}</label></h3>
</span>
</li>
{{#each competency.weapons as |cdata key|}}
{{#if cdata}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{language._id}}">
<span class="item-name-label-long">{{localize "WH.ui.weapons"}} {{localize cdata.label}}</span>
</li>
{{/if}}
{{/each}}
{{#each competency.shields as |cdata key|}}
{{#if cdata}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{language._id}}">
<span class="item-name-label-long">{{localize "WH.ui.shields"}} {{localize cdata.label}}</span>
</li>
{{/if}}
{{/each}}
{{#each competency.armors as |cdata key|}}
{{#if cdata}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{language._id}}">
<span class="item-name-label-long">{{localize "WH.ui.armors"}} {{localize cdata.label}}</span>
</li>
{{/if}}
{{/each}}
{{#each compentencyItems as |comp key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{comp._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{comp.img}}" /></a>
<span class="item-name-label-long">{{comp.name}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
2023-01-04 21:24:56 +01:00
</div>
</div>
2023-02-06 07:37:39 +01:00
{{!-- Skills Tab --}}
<div class="tab skill" data-group="primary" data-tab="skill">
<div class="flexcol">
2023-02-27 22:04:03 +01:00
<div>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
<h3><label class="items-title-text">{{localize "WH.ui.raceSkills"}}</label></h3>
</span>
<span class="item-field-label-medium">
<label class="short-label">{{localize "WH.ui.currentuse"}}</label>
</span>
<span class="item-field-label-medium">
<label class="short-label">{{localize "WH.ui.maxuse"}}</label>
</span>
</li>
{{#each raceSkills as |skill key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{skill._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{skill.img}}" /></a>
<span class="item-name-label-long">{{skill.name}}</a></span>
{{#if skill.system.unlimited}}
<span class="item-field-label-medium">N/A</span>
<span class="item-field-label-medium">N/A</span>
{{else}}
<span class="item-field-label-medium">{{skill.system.currentuse}}
(<a class="skill-use-minus plus-minus-button">&nbsp;-</a>/<a class="skill-use-plus plus-minus-button">+</a>)
</span>
<span class="item-field-label-medium">{{skill.system.maxuse}}</span>
{{/if}}
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
2023-02-06 07:37:39 +01:00
<div>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
<h3><label class="items-title-text">{{localize "WH.ui.classSkills"}}</label></h3>
</span>
<span class="item-field-label-medium">
<label class="short-label">{{localize "WH.ui.currentuse"}}</label>
</span>
<span class="item-field-label-medium">
<label class="short-label">{{localize "WH.ui.maxuse"}}</label>
</span>
</li>
{{#each classSkills as |skill key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{skill._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{skill.img}}" /></a>
<span class="item-name-label-long">{{skill.name}}</a></span>
{{#if skill.system.unlimited}}
<span class="item-field-label-medium">N/A</span>
<span class="item-field-label-medium">N/A</span>
{{else}}
2023-02-20 10:16:17 +01:00
<span class="item-field-label-medium">{{skill.system.currentuse}}
(<a class="skill-use-minus plus-minus-button">&nbsp;-</a>/<a class="skill-use-plus plus-minus-button">+</a>)
</span>
2023-02-06 07:37:39 +01:00
<span class="item-field-label-medium">{{skill.system.maxuse}}</span>
{{/if}}
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
<div>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
<h3><label class="items-title-text">{{localize "WH.ui.skills"}}</label></h3>
</span>
2023-02-07 15:18:00 +01:00
<span class="item-field-label-medium">
<label class="short-label">{{localize "WH.ui.currentuse"}}</label>
</span>
<span class="item-field-label-medium">
<label class="short-label">{{localize "WH.ui.maxuse"}}</label>
</span>
2023-02-06 07:37:39 +01:00
</li>
{{#each skills as |skill key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{skill._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{skill.img}}" /></a>
<span class="item-name-label-long">{{skill.name}}</span>
2023-02-07 15:18:00 +01:00
{{#if skill.system.unlimited}}
<span class="item-field-label-medium">N/A</span>
<span class="item-field-label-medium">N/A</span>
{{else}}
<span class="item-field-label-medium">{{skill.system.currentuse}}</span>
<span class="item-field-label-medium">{{skill.system.maxuse}}</span>
{{/if}}
2023-02-06 07:37:39 +01:00
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
<div>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
2023-02-07 15:18:00 +01:00
<h3><label class="items-title-text">{{localize "WH.ui.conditions"}}</label></h3>
</span>
<span class="item-field-label-medium">
<label class="short-label">{{localize "WH.ui.effect"}}</label>
2023-02-06 07:37:39 +01:00
</span>
</li>
2023-02-07 15:18:00 +01:00
{{#each conditions as |cond key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{cond._id}}">
2023-02-06 07:37:39 +01:00
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
2023-02-07 15:18:00 +01:00
src="{{cond.img}}" /></a>
<span class="item-name-label-long">{{cond.name}}</span>
<span class="item-field-label-medium">{{cond.system.shortdescription}}</span>
2023-02-06 07:37:39 +01:00
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
2023-02-07 15:18:00 +01:00
2023-02-06 07:37:39 +01:00
</div>
</div>
2023-01-04 21:24:56 +01:00
2023-01-29 16:56:09 +01:00
{{!-- Powers Tab --}}
<div class="tab power" data-group="primary" data-tab="power">
2023-01-04 21:24:56 +01:00
<div class="flexcol">
2023-02-08 21:19:53 +01:00
{{#each powers as |school schoolKey|}}
2023-01-04 21:24:56 +01:00
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header">
2023-02-08 21:19:53 +01:00
<h3><label class="items-title-text">{{schoolKey}}</label></h3>
2023-01-04 21:24:56 +01:00
</span>
</li>
2023-02-08 21:19:53 +01:00
{{#each school as |power key|}}
<li class="item stat flexrow list-item list-item-shadow" data-item-id="{{power._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{power.img}}" /></a>
2023-03-09 13:53:19 +01:00
<span class="item-name-label-long3">
2023-02-08 21:19:53 +01:00
<a class="power-roll"><i class="fa-solid fa-dice-d20"></i>{{power.name}}</a>
</span>
2023-03-09 13:53:19 +01:00
<span class="item-name-label-medium">
2023-02-08 21:19:53 +01:00
<a class="power-roll">{{power.system.level}}</a>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
2023-01-04 21:24:56 +01:00
</ul>
2023-02-08 21:19:53 +01:00
{{/each}}
2023-01-04 21:24:56 +01:00
</div>
</div>
{{!-- Equipement Tab --}}
<div class="tab equipment" data-group="primary" data-tab="equipment">
2023-02-21 17:53:00 +01:00
<div class="flexrow">
<label class="">{{localize "WH.ui.totalmoney"}} : {{totalMoney}}</label>
</div>
2023-03-10 18:32:13 +01:00
<hr>
<h3>{{localize "WH.ui.bodyslots"}} : </h3>
{{#each bodyContainers as |slot slotKey|}}
2023-03-19 23:13:24 +01:00
{{> systems/fvtt-warhero/templates/partial-container.html slot=slot slotKey=slotKey}}
2023-01-29 16:56:09 +01:00
{{/each}}
2023-01-04 21:24:56 +01:00
2023-03-10 18:32:13 +01:00
<hr>
<h3>{{localize "WH.ui.containerslot"}} : </h3>
{{#each equipmentContainers as |slot slotKey|}}
2023-03-19 23:13:24 +01:00
{{> systems/fvtt-warhero/templates/partial-container.html slot=slot slotKey=slotKey}}
2023-03-10 18:32:13 +01:00
{{/each}}
2023-01-04 21:24:56 +01:00
<hr>
</div>
{{!-- Biography Tab --}}
<div class="tab biodata" data-group="primary" data-tab="biodata">
<div class="grid grid-2col">
<div>
<ul class="item-list alternate-list">
<li class="item flexrow">
2023-02-14 13:46:59 +01:00
<label class="generic-label">{{localize "WH.ui.origin"}}</label>
2023-02-18 23:19:10 +01:00
<input type="text" class="" name="system.biodata.origin" value="{{system.biodata.origin}}"
2023-01-04 21:24:56 +01:00
data-dtype="String" />
</li>
<li class="item flexrow">
2023-02-14 13:46:59 +01:00
<label class="generic-label">{{localize "WH.ui.age"}}</label>
2023-02-18 23:19:10 +01:00
<input type="text" class="" name="system.biodata.age" value="{{system.biodata.age}}" data-dtype="String" />
2023-01-04 21:24:56 +01:00
</li>
<li class="item flexrow">
2023-02-14 13:46:59 +01:00
<label class="generic-label">{{localize "WH.ui.height"}}</label>
2023-02-18 23:19:10 +01:00
<input type="text" class="" name="system.biodata.height" value="{{system.biodata.height}}" data-dtype="String" />
2023-01-04 21:24:56 +01:00
</li>
2023-02-06 07:37:39 +01:00
<li class="flexrow item">
2023-02-14 13:46:59 +01:00
<label class="generic-label">{{localize "WH.ui.preferredhand"}}</label>
2023-02-18 23:19:10 +01:00
<input type="text" class="" name="system.biodata.preferredhand" value="{{system.biodata.preferredhand}}"
2023-02-06 07:37:39 +01:00
data-dtype="String" />
</li>
2023-01-04 21:24:56 +01:00
</ul>
</div>
<div>
<ul>
<li class="flexrow item">
2023-02-14 13:46:59 +01:00
<label class="generic-label">{{localize "WH.ui.gender"}}</label>
2023-02-18 23:19:10 +01:00
<input type="text" class="" name="system.biodata.sex" value="{{system.biodata.sex}}" data-dtype="String" />
2023-01-04 21:24:56 +01:00
</li>
2023-02-14 13:46:59 +01:00
<li class="item flexrow">
<label class="generic-label">{{localize "WH.ui.eyes"}}</label>
2023-02-18 23:19:10 +01:00
<input type="text" class="" name="system.biodata.eyes" value="{{system.biodata.eyes}}" data-dtype="String" />
2023-02-14 13:46:59 +01:00
</li>
<li class="item flexrow">
<label class="generic-label">{{localize "WH.ui.hair"}}</label>
2023-02-18 23:19:10 +01:00
<input type="text" class="" name="system.biodata.hair" value="{{system.biodata.hair}}" data-dtype="String" />
2023-02-14 13:46:59 +01:00
</li>
2023-01-04 21:24:56 +01:00
</ul>
</div>
</div>
<hr>
2023-02-14 13:46:59 +01:00
<h3>{{localize "WH.ui.background"}} : </h3>
2023-01-04 21:24:56 +01:00
<div class="form-group editor">
{{editor description target="system.biodata.description" button=true owner=owner
editable=editable}}
</div>
<hr>
2023-02-14 13:46:59 +01:00
<h3>{{localize "WH.ui.notes"}} : </h3>
2023-01-04 21:24:56 +01:00
<div class="form-group editor">
{{editor notes target="system.biodata.notes" button=true owner=owner editable=editable}}
</div>
<hr>
</article>
2023-03-26 08:57:44 +02:00
{{#if isGM}}
<div>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
<h3><label class="items-title-text">{{localize "WH.ui.allitems"}}</label></h3>
</span>
<span class="item-field-label-medium">
<label class="short-label">{{localize "WH.ui.type"}}</label>
</span>
</li>
{{#each allItems as |item key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{item._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{item.img}}" /></a>
<span class="item-name-label-long">{{item.name}}</span>
<span class="item-field-label-medium">{{upperFirst item.type}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
{{/if}}
2023-01-04 21:24:56 +01:00
</div>
</section>
</form>