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

339 lines
14 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|}}
{{> systems/fvtt-warhero/templates/partial-actor-stat-block.html stat=stat key=key path="statistics" roll=true}}
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-01-29 16:56:09 +01:00
<li class="flexrow item" data-item-id="{{race._id}}">
<label class="item-field-label-medium">Race</label>
<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" />
</li>
<li class="flexrow item" data-item-id="{{class._id}}">
<label class="item-field-label-medium">Class</label>
<a class="item-edit"><img class="sheet-competence-img" src="{{class.img}}"></a>
<input type="text" class="item-field-label-medium" disabled value="{{class.name}}" data-dtype="String" />
</li>
<li class="flexrow item" >
<label class="item-field-label-medium">Religion</label>
<input type="text" class="item-field-label-medium" name="system.biodata.religion" value="{{system.biodata.religion}}" data-dtype="String" />
</li>
2023-01-04 21:24:56 +01:00
</ul>
</div>
2023-01-29 16:56:09 +01:00
<div class="ability-item">
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>
</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-01-29 16:56:09 +01:00
<a class="item" data-tab="main">Main</a>
2023-01-04 21:24:56 +01:00
<a class="item" data-tab="combat">Combat</a>
2023-01-29 16:56:09 +01:00
<a class="item" data-tab="power">Powers</a>
2023-01-04 21:24:56 +01:00
<a class="item" data-tab="equipment">Equipment</a>
<a class="item" data-tab="biodata">Biography</a>
</nav>
{{!-- Sheet Body --}}
<section class="sheet-body">
{{!-- Skills Tab --}}
2023-01-29 16:56:09 +01:00
<div class="tab main" data-group="primary" data-tab="main">
<div class="ability-item">
<ul>
{{#each system.attributes as |attr key|}}
{{> systems/fvtt-warhero/templates/partial-actor-stat-block.html stat=attr key=key path="attributes" roll=false}}
{{/each}}
</ul>
</div>
2023-01-04 21:24:56 +01:00
</div>
{{!-- Combat Tab --}}
<div class="tab combat" data-group="primary" data-tab="combat">
<div class="flexcol">
<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">Weapons</label></h3>
</span>
<span class="item-field-label-short">
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-01-29 16:56:09 +01:00
{{#each weapons 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>
<span class="item-name-label-long"><a class ="roll-weapon">{{weapon.name}}</a></span>
2023-01-29 16:56:09 +01:00
<span class="item-field-label-short">{{weapon.system.weapontype}}</span>
2023-01-04 21:24:56 +01:00
2023-01-29 16:56:09 +01:00
<span class="item-field-label-medium">{{perk.system.damage}}</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>
<div>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
2023-01-29 16:56:09 +01:00
<h3><label class="items-title-text">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-01-29 16:56:09 +01:00
{{#each shields as |shield key|}}
<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>
<span class="item-name-label-long"><a class ="roll-weapon">{{shield.name}}</a></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>
<div>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
2023-01-29 16:56:09 +01:00
<h3><label class="items-title-text">Armors</label></h3>
</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-01-29 16:56:09 +01:00
{{#each armors as |armor key|}}
<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>
<span class="item-name-label-long"><a class ="roll-weapon">{{armor.name}}</a></span>
<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>
</div>
</div>
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">
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header">
2023-01-29 16:56:09 +01:00
<h3><label class="items-title-text">Powers</label></h3>
2023-01-04 21:24:56 +01:00
</span>
</li>
2023-01-29 16:56:09 +01:00
{{#each powers as |power key|}}
<li class="item stat flexrow list-item list-item-shadow" data-item-id="{{power._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="{{power.img}}" /></a>
2023-01-04 21:24:56 +01:00
<span class="item-name-label">
2023-01-29 16:56:09 +01:00
<a class="power-roll">{{power.name}}</a>
2023-01-04 21:24:56 +01:00
</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>
</div>
{{!-- Equipement Tab --}}
<div class="tab equipment" data-group="primary" data-tab="equipment">
2023-01-29 16:56:09 +01:00
{{#each slotEquipments as |slot slotKey|}}
2023-01-04 21:24:56 +01:00
<ul class="item-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header">
2023-01-29 16:56:09 +01:00
<h3><label class="items-title-text">{{localize slot.label}}</label></h3>
</span>
<span class="item-field-label-medium">
<label class="short-label">{{localize "WH.ui.Type"}}</label>
2023-01-04 21:24:56 +01:00
</span>
<span class="item-field-label-long">
2023-01-29 16:56:09 +01:00
<label class="short-label">{{localize "WH.ui.Qty"}}</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.maxslots"}}: {{slot.nbslots}}</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.slotsused"}}: {{slot.slotUsed}}</label>
2023-01-04 21:24:56 +01:00
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="money" title="Create Item"><i class="fas fa-plus"></i></a>
</div>
</li>
2023-01-29 16:56:09 +01:00
{{#each slot.content as |item itemKey|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{item._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="{{item.img}}" /></a>
<span class="item-name-label">{{item.name}}</span>
2023-01-04 21:24:56 +01:00
<span class="item-field-label-medium">
2023-01-29 16:56:09 +01:00
<label class="short-label">{{upperFirst item.type}}</label>
2023-01-04 21:24:56 +01:00
</span>
2023-01-29 16:56:09 +01:00
<span class="item-field-label-long"><label>
{{item.system.quantity}}
(<a class="quantity-minus plus-minus-button"> -</a>/<a class="quantity-plus plus-minus-button">+</a>)
</label>
2023-01-04 21:24:56 +01:00
</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>
2023-01-29 16:56:09 +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">
<label class="generic-label">Origin</label>
<input type="text" class="" name="system.biodata.origin" value="{{data.biodata.origin}}"
data-dtype="String" />
</li>
<li class="item flexrow">
<label class="generic-label">Age</label>
<input type="text" class="" name="system.biodata.age" value="{{data.biodata.age}}" data-dtype="String" />
</li>
<li class="item flexrow">
<label class="generic-label">Height</label>
<input type="text" class="" name="system.biodata.height" value="{{data.biodata.height}}" data-dtype="String" />
</li>
<li class="item flexrow">
<label class="generic-label">Eyes</label>
<input type="text" class="" name="system.biodata.eyes" value="{{data.biodata.eyes}}" data-dtype="String" />
</li>
<li class="item flexrow">
<label class="generic-label">Hair</label>
<input type="text" class="" name="system.biodata.hair" value="{{data.biodata.hair}}" data-dtype="String" />
</li>
</ul>
</div>
<div>
<ul>
<li class="flexrow item">
<label class="generic-label">Size</label>
<select class="competence-base flexrow" type="text" name="system.biodata.size" value="{{data.biodata.size}}" data-dtype="Number">
{{#select data.biodata.size}}
<option value="1">Tiny</option>
<option value="2">Small</option>
<option value="3">Medium</option>
<option value="4">Large</option>
<option value="5">Huge</option>
<option value="6">Gargantuan</option>
{{/select}}
</select>
</li>
<li class="flexrow item">
<label class="generic-label">Sex</label>
<input type="text" class="" name="system.biodata.sex" value="{{data.biodata.sex}}" data-dtype="String" />
</li>
<li class="flexrow item">
<label class="generic-label">Preferred Hand</label>
<input type="text" class="" name="system.biodata.preferredhand" value="{{data.biodata.preferredhand}}"
data-dtype="String" />
</li>
</ul>
</div>
</div>
<hr>
<h3>Background : </h3>
<div class="form-group editor">
{{editor description target="system.biodata.description" button=true owner=owner
editable=editable}}
</div>
<hr>
<h3>Notes : </h3>
<div class="form-group editor">
{{editor notes target="system.biodata.notes" button=true owner=owner editable=editable}}
</div>
<hr>
</article>
</div>
</section>
</form>